my untagged management network is 10.128.7.0/24 vlan2 should be 10.128.2.0/24
Version info is root@vmnode2:~# ovs-vsctl -V ovs-vsctl (Open vSwitch) 2.0.1 Compiled Feb 23 2014 14:42:32 root@vmnode2:~# virsh --version 1.2.2 I created the following network <network> <name>vlans</name> <forward mode='bridge'/> <bridge name='br0'/> <virtualport type='openvswitch'/> <portgroup name='vlan-01' default='yes'> </portgroup> <portgroup name='vlan-02'> <vlan> <tag id='2'/> </vlan> </portgroup> <portgroup name='vlan-03'> <vlan> <tag id='3'/> </vlan> </portgroup> <portgroup name='vlan-all'> <vlan trunk='yes'> <tag id='2'/> <tag id='3'/> </vlan> </portgroup> </network> I have given my guest the following network <interface type='network'> <mac address='52:54:00:db:ba:70'/> <source network='vlans'/> <virtualport type='openvswitch'> <parameters interfaceid='6a00da12-ff0d-42da-a12a-b00066f242c1' profileid='vlan-02'/> </virtualport> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> When launch a guest VM on that vlan subnet nothing works. On the host is as follows root@vmnode2:~# ifconfig bond0 Link encap:Ethernet HWaddr 00:25:90:ed:dc:f0 inet6 addr: fe80::225:90ff:feed:dcf0/64 Scope:Link UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:210361 errors:0 dropped:6 overruns:0 frame:0 TX packets:74236 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:14193164 (14.1 MB) TX bytes:67399247 (67.3 MB) br0 Link encap:Ethernet HWaddr 00:25:90:ed:dc:f0 inet addr:10.128.7.121 Bcast:10.128.7.255 Mask:255.255.255.0 inet6 addr: fe80::225:90ff:feed:dcf0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:188443 errors:0 dropped:0 overruns:0 frame:0 TX packets:38146 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:10057289 (10.0 MB) TX bytes:65097839 (65.0 MB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:71271 errors:0 dropped:0 overruns:0 frame:0 TX packets:71271 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:66330359 (66.3 MB) TX bytes:66330359 (66.3 MB) p1p1 Link encap:Ethernet HWaddr 00:25:90:ed:dc:f0 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:150410 errors:0 dropped:0 overruns:0 frame:0 TX packets:58252 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9801784 (9.8 MB) TX bytes:65992941 (65.9 MB) p1p2 Link encap:Ethernet HWaddr 00:25:90:ed:dc:f0 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:59951 errors:0 dropped:6 overruns:0 frame:0 TX packets:15984 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4391380 (4.3 MB) TX bytes:1406306 (1.4 MB) vnet0 Link encap:Ethernet HWaddr fe:54:00:db:ba:70 inet6 addr: fe80::fc54:ff:fedb:ba70/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:118 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:5580 (5.5 KB) TX bytes:648 (648.0 B) root@vmnode2:~# ovs-vsctl show a40f3e13-2a84-4602-a79b-1ca7cc6d05d8 Bridge "br0" Port "br0" Interface "br0" type: internal Port "vnet0" Interface "vnet0" Port "bond0" Interface "bond0" ovs_version: “2.0.1” I get traffic on vnet0 but it doesn’t seem to be connected to br0 root@vmnode2:~# tcpdump -i vnet0 src host 10.128.2.210 tcpdump: WARNING: vnet0: no IPv4 address assigned tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on vnet0, link-type EN10MB (Ethernet), capture size 65535 bytes 14:01:56.210023 ARP, Request who-has 10.128.2.1 tell 10.128.2.210, length 28 14:01:57.210012 ARP, Request who-has 10.128.2.1 tell 10.128.2.210, length 28 14:01:58.229238 ARP, Request who-has 10.128.2.1 tell 10.128.2.210, length 28 14:01:59.226044 ARP, Request who-has 10.128.2.1 tell 10.128.2.210, length 28 14:02:00.226048 ARP, Request who-has 10.128.2.1 tell 10.128.2.210, length 28 root@vmnode2:~# brctl show bridge name bridge id STP enabled interfaces br0 8000.002590eddcf0 yes bond0 Mike Zupan Senior Linux Engineer | Recurly m...@recurly.com P 917-645-2315 recurly.com (http://recurly.com/)
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss