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
Sur cette page du site, vous pouvez voir la vidéo en ligne Mininet VXLAN example durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Mon Goose 09 août 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,636 fois et il a aimé 27 téléspectateurs. Bon visionnage!