[ovs-discuss] [ovs-dev] Problem with DHCP and TUNNEL

Daniele Milani dano1988 at hotmail.it
Thu May 24 12:04:24 UTC 2012




> From: jesse at nicira.com
> Date: Wed, 23 May 2012 09:20:21 -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 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.

Does it exist an OvS command that returns the port number from port name?

Daniele
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120524/c1d5d941/attachment.html>


More information about the discuss mailing list