Mininet VXLAN example

Veröffentlicht am: 09 August 2017
auf dem Kanal: Mon Goose
3,636
27

Using mininet on two servers (Oracle VirtualBox VMs) to create an OVS environment with two tenant VMs on each server.

Using overlapping IP and MAC(data link) addresses.

Then using VXLAN between the two servers to isolate tenant traffic using separate VNIDs.

Finishes with some basic testing and a quick look at VXLAN on Wireshark.

Associated scripts can be found on drop box at:

https://www.dropbox.com/sh/68v4pqi6nl...

Commands Used on Server1:
sudo python VXeample1.py
in mininet: (mininet)
sh ovs-ofctl add-flows s1 flows1.txt
sh ovs-ofctl dump-flows s1

sh ovs-vsctl add-port s1 vtep -- set interface vtep type=vxlan option:remote_ip=192.168.1.220 option:key=flow ofport_request=10

And then some testing:
red1 ping 10.0.0.2 (success)
red1 ip link set dev red1-eth0 down
red1 ip link set dev red1-eth0 up

Or on server 2:
red2 ip link set dev red2-eth0 down


Auf dieser Seite können Sie das Online-Video Mininet VXLAN example mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Mon Goose 09 August 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,636 Mal angesehen und es wurde von 27 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!