On Sat, Sep 7, 2013 at 4:44 PM, Philippe Gautier <p.gautier.phili...@gmail.com> wrote: > Hello > > I am tring to run the following configuration: > > kvm client --- net1 interface -- ovs switch -- net2 > interface -- kvm routeur > eth0 192.168.6.1 tag = 10 br-machines trunks=10,20 > eth0.10 192.168.6.2 > > but both router and client cannot ping each other. > > I know this case is already documented but i am facing a very strange > situation. > > openvswitch guest : Linux virtu 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 > GNU/Linux > ovs_version: "1.4.2" > > > Interfaces and Open-vswitch configuration > > ovs-vsctl add-br br-machines > /usr/sbin/tunctl -u root -t net1 > /usr/sbin/tunctl -u root -t net2 > > ovs-vsctl add-port br-machines net1 > ovs-vsctl add-port br-machines net1 tag=10 > > ovs-vsctl add-port br-machines net2 > ovs-vsctl add-port br-machines net2 vlan_mode=trunk trunk=10,20 > > kvm guest network related configuration > > kvm client > -netdev tap,id=net1,ifname=net1,script=no,downscript=no \ > -device e1000,netdev=net1,mac=D8:5D:4C:81:92:71 > > kvm router > -netdev tap,id=net2,ifname=net2,script=no,downscript=no \ > -device e1000,netdev=net2,mac=D8:5D:4C:81:92:70 > > > kvm guest VM config > > ifconfig eth0 192.168.6.1/24 > > kvm router config > > modprobe 8021q > vconfig add eth0 10 > ifconfig eth0.10 192.168.6.2/24 > > > Debugging informations: > > ovs-vsctl show > > Bridge br-machines > Port "net2" > trunks: [10, 20] > Interface "net2" > Port br-machines > Interface br-machines > type: internal > Port "net1" > tag: 10 > Interface "net1" > ovs_version: "1.4.2" > > ovs-vsctl list port > > net 2 > > _uuid : a5d74a36-dc00-496d-82b3-f30a24feb081 > bond_downdelay : 0 > bond_fake_iface : false > bond_mode : [] > bond_updelay : 0 > external_ids : {} > fake_bridge : false > interfaces : [e06dae02-3309-47b3-a299-53e47164396c] > lacp : [] > mac : [] > name : "net2" > other_config : {} > qos : [] > statistics : {} > status : {} > tag : [] > trunks : [10, 20] > vlan_mode : trunk > > net 1 > _uuid : fbe74c3d-283e-428e-9f59-a3703594fd78 > bond_downdelay : 0 > bond_fake_iface : false > bond_mode : [] > bond_updelay : 0 > external_ids : {} > fake_bridge : false > interfaces : [45205c44-557f-4dad-8e6d-bd6401145ec5] > lacp : [] > mac : [] > name : "net1" > other_config : {} > qos : [] > statistics : {} > status : {} > tag : 10 > trunks : [] > vlan_mode : [] > > ovs-vsctl list-ifaces br-machines > net1 > net2 > > When kvm are pinging each other : > > ovs-appctl fdb/show br-machines > > port VLAN MAC Age > 1 10 d8:5d:4c:81:92:71 170 > 2 10 d8:5d:4c:81:92:70 0 > > Dump when kvm client is pinging kvm router > > ovs-dpctl dump-flows br-machines > in_port(1),eth(src=d8:5d:4c:81:92:71,dst=ff:ff:ff:ff:ff:ff),eth_type(0x0806),arp(sip=192.168.6.1,tip=192.168.6.2,op=1,sha=d8:5d:4c:81:92:71,tha=00:00:00:00:00:00), > packets:22, bytes:924, used:0.712s, actions:push_vlan(vid=10,pcp=0),2,0 > > > Dump when router is pinging kvm client > > ovs-dpctl dump-flows br-machines > in_port(2),eth(src=d8:5d:4c:81:92:70,dst=ff:ff:ff:ff:ff:ff),eth_type(0x8100),vlan(vid=10,pcp=0),encap(eth_type(0x0806),arp(sip=192.168.6.2,tip=192.168.6.1,op=1,sha=d8:5d:4c:81:92:70,tha=00:00:00:00:00:00)), > packets:36, bytes:1512, used:0.400s, > actions:pop_vlan,1,push_vlan(vid=10,pcp=0),0 > > KVM client > > From 192.168.6.1 Destination Host unreachable > > KVM router > > From 192.168.6.2 Destination Host unreachable > > Any ideas or advices ?
The traffic flowing through OVS seems to be OK. What do you see if you run tcpdump on the various interfaces in the path? _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss