OcNOS-RON : Virtual Extensible LAN Guide : Virtual eXtensible Local Area Network Configuration Guide : VXLAN Unicast Configuration : Intermediate Non-VXLAN Router
Intermediate Non-VXLAN Router
This example is same as port mapping but we have an intermediate non VXLAN router. It does forwarding based on IP header.
Topology
The procedures in this section use the topology in Figure 2-4
Figure 2-4: VXLAN unicast
VTEP1
 
#configure terminal
Enter the configure mode.
(config)#interface xe2
Enter interface mode.
(config-if)#switchport
Configure the interface as switchport.
(config-if)#no shutdown
Bring the interface into operation with the no shutdown
(config-if)#exit
Exit interface mode.
(config)#interface xe1
Enter the configure mode.
(config-if)#ip address 2.2.2.4/24
Configure IP address on the interface xe1.
(config-if)#no shutdown
Bring the interface into operation with the no shutdown
(config-if)#exit
Exit interface mode.
(config)#ip route 3.3.3.0/24 2.2.2.1
Configuring static route
(config)#nvo vxlan enable
Enable VXLAN globally on this vtep.
(config)#interface tunnel 4
Specify the interface (Tunnel4)to be configured and Enter interface mode.
(config-if)#tunnel mode vxlan
Assign this tunnel mode as VXLAN.
(config-if)#tunnel source 2.2.2.4
Configure the source IP of this tunnel as an IP address which is configured on the interface xe1 of VTEP1.
(config-if)#tunnel destination 3.3.3.4
Configure the destination IP of this tunnel as an IP address which is configured on the interface xe1 of VTEP2.
(config-if)#exit
Exit interface mode.
(config)#nvo vxlan id 3
Configure a VNID on this VTEP and enter the nvo mode.
(config-nvo)#vxlan map-network tunnel Tunnel4
Map the tunnel 4 with this VNID
(config-nvo)#vxlan static-entry host-mac 0000.0000.aaaa remote-vtep-ip 3.3.3.4
Configure a static entry for remote VM with MAC address and IP address.
(config)#nvo vxlan access-if port xe2
Map the access port xe2 of this VTEP
(config-nvo-acc-if)#map vnid 3
Map the VNID 2 to access-port xe2
(config-nvo-acc-if)#exit
Exit NVO access-interface mode
(config)#commit
Perform commit operation for the changes to take effect.
 
RTR1
 
(config)#interface xe1
Enter the configure mode.
(config-if)#ip address 2.2.2.1/24
Configure IP address on the interface xe1.
(config-if)#no shutdown
Bring the interface into operation with the no shutdown
(config-if)#exit
Exit interface mode.
(config)#interface xe2
Enter the configure mode.
(config-if)#ip address 3.3.3.1/24
Configure IP address on the interface xe2.
(config-if)#no shutdown
Bring the interface into operation with the no shutdown
(config-if)#exit
Exit interface mode.
(config)#commit
Perform commit operation for the changes to take effect.
VTEP2
 
#configure terminal
Enter the configure mode.
(config)#interface xe2
Enter interface mode.
(config-if)#switchport
Configure the interface as switchport.
(config-if)#no shutdown
Bring the interface into operation with the no shutdown
(config-if)#exit
Exit interface mode.
(config)#interface xe1
Enter the configure mode.
(config-if)#ip address 3.3.3.4/24
Configure IP address on the interface xe1.
(config-if)#no shutdown
Bring the interface into operation with the no shutdown
(config-if)#exit
Exit interface mode.
(config)#ip route 2.2.2.0/24 3.3.3.1
Configuring static route
(config)#nvo vxlan enable
Enable VXLAN globally on this vtep.
(config)#interface tunnel 4
Specify the interface (Tunnel4)to be configured and Enter interface mode.
(config-if)#tunnel mode vxlan
Assign this tunnel mode as VXLAN.
(config-if)#tunnel source 3.3.3.4
Configure the source IP of this tunnel as an IP address which is configured on the interface xe1 of VTEP1.
(config-if)#tunnel destination 2.2.2.4
Configure the destination IP of this tunnel as an IP address which is configured on the interface xe1 of VTEP2.
(config-if)#exit
Exit interface mode.
(config)#nvo vxlan id 3
Configure a VNID on this VTEP and enter the nvo mode.
(config-nvo)#vxlan map-network tunnel Tunnel4
Map the tunnel 4 with this VNID
(config-nvo)#vxlan static-entry host-mac 0000.0000.bbbb remote-vtep-ip 2.2.2.4
Configure a static entry for remote VM with MAC address and IP address.
(config)#nvo vxlan access-if port xe2
Map the access port xe2 of this VTEP
(config-nvo-acc-if)#map vnid 3
Map the VNID 3 to access-port xe2
(config-nvo-acc-if)#exit
Exit the NVO access interface mode
(config)#commit
Perform commit operation for the changes to take effect.
Validation
VTEP1
VTEP1#show nvo vxlan tunnel
VXLAN Network tunnel Entries
Source Destination Status Up/Down Update
====================================================================================
2.2.2.4 3.3.3.4 Installed 00:37:56 00:37:56
Total number of entries are 1
VTEP1#
VTEP1#
VTEP1#show nvo vxlan
VXLAN Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VNID VNI-Name VNI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
3 ---- L2 NW ---- ------ ---- ---- 2.2.2.4 3.3.3.4
3 ---- -- AC xe2 --- Single Homed Port --- ---- ---- ---- ----
Total number of entries are 2
VTEP1#
VTEP1#show nvo vxlan mac-table
===============================================================================================================================================
======
VXLAN MAC Entries
===============================================================================================================================================
======
VNID Interface VlanId Inner-VlanId Mac-Addr VTEP-Ip/ESI Type Status AccessPortDesc
_______________________________________________________________________________________________________________________________________________
______
 
3 ---- ---- ---- 0000.0000.aaaa 3.3.3.4 Static Remote ------- -------
3 xe2 ---- ---- 0000.0000.bbbb Local Dynamic Local ------- -------
 
Total number of entries are : 2
 
VTEP1#
VTEP1#
VTEP1#sh nvo vxlan mac-table vnid 3
===============================================================================================================================================
======
VXLAN MAC Entries
===============================================================================================================================================
======
VNID Interface VlanId Inner-VlanId Mac-Addr VTEP-Ip/ESI Type Status AccessPortDesc
_______________________________________________________________________________________________________________________________________________
______
 
3 ---- ---- ---- 0000.0000.aaaa 3.3.3.4 Static Remote ------- -------
3 xe2 ---- ---- 0000.0000.bbbb Local Dynamic Local ------- -------
 
Total number of entries are : 2
 
VTEP1#
 
 
VTEP2
VTEP2#show nvo vxlan tunnel
VXLAN Network tunnel Entries
Source Destination Status Up/Down Update
====================================================================================
3.3.3.4 2.2.2.4 Installed 00:34:02 00:34:02
Total number of entries are 1
VTEP2#show nvo vxlan
VXLAN Information
=================
Codes: NW - Network Port
AC - Access Port
(u) - Untagged
 
VNID VNI-Name VNI-Type Type Interface ESI VLAN DF-Status Src-Addr Dst-Addr
_______________________________________________________________________________________________________________________________
3 ---- L2 NW ---- ------ ---- ---- 3.3.3.4 2.2.2.4
3 ---- -- AC xe1 --- Single Homed Port --- ---- ---- ---- ----
Total number of entries are 2
VTEP2#sh nvo vxlan mac-table
===============================================================================================================================================
======
VXLAN MAC Entries
===============================================================================================================================================
======
VNID Interface VlanId Inner-VlanId Mac-Addr VTEP-Ip/ESI Type Status AccessPortDesc
_______________________________________________________________________________________________________________________________________________
______
 
3 xe1 ---- ---- 0000.0000.aaaa Local Dynamic Local ------- -------
3 ---- ---- ---- 0000.0000.bbbb 2.2.2.4 Static Remote ------- -------
 
Total number of entries are : 2
 
VTEP2#sh nvo vxlan mac-table vnid 3
===============================================================================================================================================
======
VXLAN MAC Entries
===============================================================================================================================================
======
VNID Interface VlanId Inner-VlanId Mac-Addr VTEP-Ip/ESI Type Status AccessPortDesc
_______________________________________________________________________________________________________________________________________________
______
 
3 xe1 ---- ---- 0000.0000.aaaa Local Dynamic Local ------- -------
3 ---- ---- ---- 0000.0000.bbbb 2.2.2.4 Static Remote ------- -------
 
Total number of entries are : 2
 
VTEP2#
 
Last modified date: 08/28/2023