Hello, I'm using openvswitch 1.4.2+git20120612-9 for my KVM hosts managed with libvirt.
I have issues with an LXC guest hosted by one of my KVM hosts, its MAC address seems blocked by Open vSwitch. I attach a diagram of my configuration an some tcpdump traces to show that DHCP replies looks blocked on port vnet16. Do you have any idea of what I'm doing wrong and any hints and documentation to fix it? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
OpenVswitch seems to drop unknown MAC addresses behind a port
Response from LXC-eth1 are seen on vnet16 but not on vnet18.
+-------------+ +-------------+
+---------------------------------------+
| | | | |
|
| eth1+-------+vnet18 vnet16+-------+eth1
+---------------------+ |
| DHCP client | | isw | | | |
| |
+-------------+ +-------------+ | +-+-----+ | LXC guest
| |
| |breth1 | | DHCP server
| |
| | | |
| |
| | velxc1+--+eth1
| |
| +-------+
+---------------------+ |
|
|
| KVM host
|
|
|
+---------------------------------------+
# Client eth1 MAC = 02:00:0a:00:0c:c9
10:24:44.456385 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:47.380039 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
# vnet18 MAC = fe:00:0a:00:0c:c9
10:24:47.981033 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:50.904590 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
# isw MAC = da:0a:7d:d8:c4:44
10:24:47.981187 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q
(0x8100), length 346: vlan 54, p 0, ethertype IPv4, 0.0.0.0.68 >
255.255.255.255.67: BOOTP/DHCP, Request from 02:00:0a:00:0c:c9, length 300
10:24:50.904590 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q
(0x8100), length 346: vlan 54, p 0, ethertype IPv4, 0.0.0.0.68 >
255.255.255.255.67: BOOTP/DHCP, Request from 02:00:0a:00:0c:c9, length 300
# vnet16 MAC = fe:00:0a:00:0c:c8
10:24:47.981178 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:47.991199 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:48.502815 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
10:24:48.991169 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:49.991173 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:50.904601 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:50.905267 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
# KVM host eth1 MAC = 02:00:0a:00:0c:c8
10:24:46.479245 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:46.489015 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:47.000675 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
10:24:47.489014 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:48.489018 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:49.402614 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:49.403106 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
# KVM host breth1 MAC = 02:00:0a:00:0c:c8
10:24:46.479245 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:46.488988 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:47.000631 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
10:24:47.488993 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:48.488995 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:49.402614 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:49.403046 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
# KVM host velxc1 MAC = 66:18:63:f6:31:ec
10:24:46.479403 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:46.488988 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:47.000631 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
10:24:47.488993 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:48.488995 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:49.402693 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:49.403046 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
# LXC guest eth1 MAC = a6:af:5f:74:ec:43
10:24:46.479431 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:46.488983 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:47.000625 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
10:24:47.488982 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:48.488984 a6:af:5f:74:ec:43 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806),
length 42: Request who-has 192.168.220.100 tell 192.168.220.252, length 28
10:24:49.402698 02:00:0a:00:0c:c9 > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800),
length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
02:00:0a:00:0c:c9, length 300
10:24:49.403040 a6:af:5f:74:ec:43 > 02:00:0a:00:0c:c9, ethertype IPv4 (0x0800),
length 342: 192.168.220.252.67 > 192.168.220.100.68: BOOTP/DHCP, Reply, length
300
pgpBA42WjFKWp.pgp
Description: PGP signature
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
