On Tue, Jun 23, 2015 at 2:40 AM, Hardik Soni <[email protected]> wrote:
> I thought OVS takes total control on the interfaces it handles.

Could you define "total control"?

> How to stop this "DHCP request" messages?

It is not Open vSwitch that chooses whether DHCP client will be
running for particular network interface. For example on Ubuntu 15.04,
If I do

ps -Af | grep dhclient
root      1011   773  0 Jun22 ?        00:00:00 /sbin/dhclient -d -q
-sf /usr/lib/NetworkManager/nm-dhcp-helper -pf
/run/sendsigs.omit.d/network-manager.dhclient-wlan0.pid -lf
/var/lib/NetworkManager/dhclient-cfb34368-76b5-4d00-93e0-6499bd8cf2cc-wlan0.lease
-cf /var/lib/NetworkManager/dhclient-wlan0.conf wlan0
root     12214   773  0 11:30 ?        00:00:00 /sbin/dhclient -d -q
-sf /usr/lib/NetworkManager/nm-dhcp-helper -pf
/run/sendsigs.omit.d/network-manager.dhclient-eth0.pid -lf
/var/lib/NetworkManager/dhclient-0e5f5c89-6b38-4564-941f-f7aa54b4deae-eth0.lease
-cf /var/lib/NetworkManager/dhclient-eth0.conf eth0

And then search for parent process (773 in my case):
root       773     1  0 Jun22 ?        00:00:22
/usr/sbin/NetworkManager --no-daemon

It says that it is NetworkManager that started dhclient (and not any
of Open vSwitch processes). So, if you don't want to run DHCP client
on OVS interfaces, then make sure that you are using the right Network
Manager configuration -
http://support.qacafe.com/knowledge-base/how-do-i-prevent-network-manager-from-controlling-an-interface/

>
> Thanks,
> Hardik Soni
>
> ----- Original Message -----
>> From: "Gurucharan Shetty" <[email protected]>
>> To: "Hardik Soni" <[email protected]>
>> Cc: "[email protected] discuss" <[email protected]>
>> Sent: Monday, 22 June, 2015 7:56:44 PM
>> Subject: Re: [ovs-discuss] dhcp request originating from interfaces attached 
>> to OVS
>>
>> On Mon, Jun 22, 2015 at 10:54 AM, Hardik Soni <[email protected]> wrote:
>> > Hi All,
>> >
>> > Is there any possibility that OVS allows DHCP request (broadcast)
>> > originating from the interfaces(mostly virtual interfaces like tap/tunnel)
>> > controlled by itself?
>> Yes. That is possible.
>>
>>
>> > The NetworkManager is running on the system, is there any possibility that
>> > NM is trying assign IP to the interfaces controlled by OVS?
>> That is possible too.
>>
>> >
>> > Thanks,
>> > Hardik Soni
>> >
>> >
>> > _______________________________________________
>> > discuss mailing list
>> > [email protected]
>> > http://openvswitch.org/mailman/listinfo/discuss
>> >
>>
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to