[ovs-dev] Problem with DHCP and TUNNEL

Jesse Gross jesse at nicira.com
Wed May 23 16:20:21 UTC 2012


On Wed, May 23, 2012 at 8:59 AM, Daniele Milani <dano1988 at hotmail.it> wrote:
>
>
>> From: jesse at nicira.com
>> Date: Wed, 23 May 2012 08:27:35 -0700
>> Subject: Re: [ovs-dev] Problem with DHCP and TUNNEL
>> To: dano1988 at hotmail.it
>> CC: discuss at openvswitch.org; dev at openvswitch.org; roberto.sassu at polito.it;
>> paolo.smiraglia at polito.it
>
>>
>> On Wed, May 23, 2012 at 7:49 AM, Daniele Milani <dano1988 at hotmail.it>
>> wrote:
>> > Hi,
>> > I have the following situation:
>> > -two different physical hosts (H1 and H2);
>> > -in H1 I created a bridge (br1) and I started a dnsmasq daemon listening
>> > on
>> > it (DHCPDAEMON1);
>> > -in H2 I created another bridge (br2) and I started a dnsmasq daemon
>> > listening on it (DHCPDAEMON2);
>> > -I created a gre tunnel between H1 and H2.
>> >
>> > The problem is that, if I start a Virtual Machine on H1 I receive DHCP
>> > offer
>> > both from DHCPDAEMON1 and DHCPDAEMON2, and if I start a VM on H2 I
>> > obtain
>> > the same behaviour.
>> >
>> > My question is: is it possible to prevent DHCP traffic from passing into
>> > the
>> > tunnel?
>>
>> You can write a flow using ovs-ofctl to drop DHCP traffic.
>
> Where can I find an example of how to write a flow?

The man page.



More information about the dev mailing list