VXLAN overlay networks with Open vSwitch.
Twitter: @davidmahler
LinkedIn: [ Ссылка ]
Demonstration of configuring a VXLAN tunnel manually using Open vSwitch. Connecting VMs together through the tunnel, allowing logical separation of tenant traffic from each other and from the physical underlay network. Emulated with mininet ([ Ссылка ])
Links:
Me
[ Ссылка ]
Intro to Cloud Overlay Networks: [ Ссылка ]
Intro to OpenFlow: [ Ссылка ]
Intro to Open vSwitch: [ Ссылка ]
Intro to Mininet: [ Ссылка ]
Open vSwitch
openvswitch.org
Brent Salisbury (Network Static Blog):
[ Ссылка ]
Derek Chamorro (The Random Security Guy Blog):
[ Ссылка ]
IETF Network Virtualization Overlays working group
[ Ссылка ]
VXLAN IETF draft:
[ Ссылка ]
Commands used:
Build tunnel (from SERVER1 shown):
ovs-vsctl add-port s1 vtep -- set interface vtep type=vxlan option:remote_ip=192.168.2.20 option:key=flow ofport_request=10
Flow entries (from SERVER1 shown)
table=1,tun_id=100,dl_dst=00:00:00:00:00:01,actions=output:1
table=1,tun_id=200,dl_dst=00:00:00:00:00:01,actions=output:2
table=1,tun_id=100,dl_dst=00:00:00:00:00:02,actions=output:10
table=1,tun_id=200,dl_dst=00:00:00:00:00:02,actions=output:10
table=1,tun_id=100,arp,nw_dst=10.0.0.1,actions=output:1
table=1,tun_id=200,arp,nw_dst=10.0.0.1,actions=output:2
table=1,tun_id=100,arp,nw_dst=10.0.0.2,actions=output:10
table=1,tun_id=200,arp,nw_dst=10.0.0.2,actions=output:10
table=1,priority=100,actions=drop
![](https://i.ytimg.com/vi/tnSkHhsLqpM/maxresdefault.jpg)