The VMs is in different vlan, that's the why they cannot ping each other. BR, Kris
On Mon, Mar 11, 2013 at 9:50 AM, Demin Li <lideminism...@gmail.com> wrote: > Hi, all. > Our topology: VM1--OVS--VM2. > > First, we use demands below adding 2 vlan access ports (vlan10 and vlan > 20): > ovs-vsctl add-port br0 vlan10 tag=10 -- set Interface vlan10 type=internal > ifconfig vlan10 192.168.10.254 > ovs-vsctl add-port br0 vlan20 tag=20 -- set Interface vlan10 type=internal > ifconfig vlan10 192.168.20.254 > > Second, we set vm ports tag: > ovs-vsctl set port vnet0 tag=10 > ovs-vsctl set port vnet1 tag=20 > > Third, in every vm, we configure its ip and gateway: > VM1: ifconfig eth0 192.168.10.2 > route add default gw 192.168.10.254 > > VM2: ifconfig eth0 192.168.20.2 > route add default gw 192.168.20.254 > > Finally, we use vm1 ping vm2. we don't receive reply from vm2. > we use wireshark captures packets, we see that vlan10 port receives > ICMP request packets from vm1, but vlan20 doesn't receives those > request pakcets. > Why ICMP request packets don't be sent to vlan20? > > If you need any other information about our enviroment, let me know. > > Regards, > -- > LI Demin (李得民) > School of Computer > Beijing University of Posts and Telecommunications > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/mailman/listinfo/discuss >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss