Hi everyone,
I am currently trying to build OVS VM topology in VMWare Workstation.
I start with simple topology:
VM1(OVS) ------ VM2(OVS)
In the 2 VMs, I set OVS and interfaces with following steps:
- Create 1 interface eth0 (LAN Segment 1) in VM1
- Create 1 interface eth0 (LAN Segment 1) in VM2
- In each VM:
- ovs-vsctl add-br br0
- ovs-vsctl add-port br0 eth0
- ifconfig eth0 0
- ifconfig br0 up
- ifconfig br0 192.168.46.11 netmask 255.255.255.0
(for VM2 IP Addr: 192.168.46.22)
=> Able to ping each other.
But when I expand the topology to the following:
VM1(OVS) ------ VM2(OVS) ------ VM3(OVS)
VM1:
br0: eth0 (LAN Segment 1); IP:192.168.46.11; MAC addr is the same as eth0
VM2:
br0: eth0 (LAN Segment 1)
eth1 (LAN Segment 2)
MAC addr is the same as eth0
IP:192.168.46.22
VM3:
br0: eth0 (LAN Segment 2)
IP:192.168.46.33
MAC addr is the same as eth0
=>VM1-VM2 are able to ping each other, however VM3 can't ping VM2
Is my configuration correct for my purpose?
I am wondering if the MAC addrshould be set to other address to avoid
alisaing?
I'd like to know what is the better way to connect OVS VM topology.
Thanks for the help in advance!
Ethan
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss