Hi all,

I run ovs at an AP and observe some weird dhcp behavior.

The AP has two ports (WAN -> eth0, LAN -> eth1). Only the wan port is under
ovs; the LAN is not, and there is also no cable attached to it. OVS is
configured for in-band control.

br0 inherits the MAC address of the wan interface. My DHCP server has
static MAC-based configuration for the wan address and my rest-of-network
configuration ensures that packets from the WAN interface will only go in
this server. Occasionally, I observe the following behavior :

When the AP boots and before I get any connection to the controller, I see
dhcp requests coming out from both MAC addresses (WAN and LAN).

1. Remember that the LAN interface is not connected---any idea on why that
would ever happen since LAN is not under ovs?

Another DHCP server replies to the request of the LAN MAC address. The AP
then seems to pick this MAC address, and following that I am seeing packets
from the WAN's MAC address using this IP not bothering to pick-up the
proper one anymore.

2. Is it expected that ovs/br0 uses the IP assigned to another interface
with its own mac address?
3. Is there any specific failover rules I need to set to prevent packets
from the LAN interface flowing out the WAN port?

I am using ovs 1.11.0. The configuration is not totally broken, as most of
the time the DHCP gets assigned properly and things work as expected. But
when timing of event helps, things get bad...

Thanks,
-- 
Yiannis .
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to