Рет қаралды 93,468
VXLAN overlay networks with Open vSwitch.
Twitter: @davidmahler
LinkedIn: / davidmahler
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 (mininet.org)
Links:
Me
/ davidmahler
Intro to Cloud Overlay Networks: • Introduction to Cloud ...
Intro to OpenFlow: • Introduction to OpenFlow
Intro to Open vSwitch: • OpenFlow flow entries ...
Intro to Mininet: • Introduction to Mininet
Open vSwitch
openvswitch.org
Brent Salisbury (Network Static Blog):
networkstatic.net/setting-over...
Derek Chamorro (The Random Security Guy Blog):
www.therandomsecurityguy.com/v...
IETF Network Virtualization Overlays working group
datatracker.ietf.org/wg/nvo3/...
VXLAN IETF draft:
datatracker.ietf.org/wg/nvo3/...
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