In previous blog entries, I have discussed how to use UBridge to bridge local Windows machines to VXLAN with Cisco Nexus 1000v. Now, I want to add the integration with the Arista switch.
Using the same environment as before:
- Standalone Windows machine running the UBridge with physical interface IP address 10.10.1.63 as the VTEP, the loopback interface with IP address 10.20.1.63/24 to be on VXLAN 5000
- Arista switch (I use the virtual edition 4.14.5F and installed in VMWare workstation) with a routed port (interface E1) using IP address 10.10.1.70, but this address is not for the VTEP, since Arista doesn’t allow physical interface as the source interface of the VTEP. It requires using a loopback interface, so I use 10.80.1.1 on interface loopback 1 as the VTEP. This address need to be routable among all the other VTEPs. A SVI on VLAN 100 with IP address 10.20.1.1/24 will be bridged to the VXLAN.

To summarize:
- VNID is 5000
- The VTEPs: 10.10.1.63 (standalone PC), 10.10.1.68 (ESX), 10.80.1.1 (Arista)
- Multicast group 225.1.1.1 and UDP port 8472
- VXLAN subnet 10.20.1.0/24
Configuration of the Arista switch:
Step 1. Create the loopback interface
interface Loopback1
ip address 10.80.1.1/32
Step 2. Create the VLAN 100 and SVI
vlan 100
interface Vlan100
ip address 10.20.1.1/24
Step 3. Configure the interface E1 and enable both unicast and multicast routing
ip routing
!
ip multicast-routing
!
interface Ethernet1
no switchport
ip address 10.10.1.70/24
ip pim sparse-mode
Step 4. Create the VXLAN and bridge with the VLAN 100
interface Vxlan1
vxlan multicast-group 225.1.1.1
vxlan source-interface Loopback1
vxlan udp-port 8472
vxlan vlan 100 vni 5000
On Windows PC:
Before executing the Ubridge, need to make the Windows VTEP routable to the loopback interface of the Arista. To make it simple, just add a static route in the Windows:
C:\> route add 10.80.1.0 mask 255.255.255.0 10.10.1.70
Then execute the Ubridge:
C:\>ubdg 5000#V:E@10.10.1.63:225.1.1.1 5000#W:E
Now I can ping between the Windows and the VLAN interface of the Arista switch.

To verify in the Arista switch:

You find that the Arista switch learns the VTEP address of the Windows, also the MAC address of the Windows loopback interface in the MAC address table.