[ovs-discuss] dhcp issue with in-band OVS

Ben Pfaff blp at nicira.com
Fri Dec 6 05:41:49 UTC 2013


On Wed, Dec 04, 2013 at 04:01:16PM -0800, Yiannis Yiakoumis wrote:
> 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).

I think that's the default behavior of dhclient, when invoked without
any command line arguments: it sends out a DHCP request on every
interface.  But if you tell it a particular interface, it only sends a
request on that interface.



More information about the discuss mailing list