> From: je...@nicira.com > Date: Wed, 23 May 2012 09:20:21 -0700 > Subject: Re: [ovs-dev] Problem with DHCP and TUNNEL > To: dano1...@hotmail.it > CC: disc...@openvswitch.org; dev@openvswitch.org; roberto.sa...@polito.it; > paolo.smirag...@polito.it > > On Wed, May 23, 2012 at 8:59 AM, Daniele Milani <dano1...@hotmail.it> wrote: > > > > > >> From: je...@nicira.com > >> Date: Wed, 23 May 2012 08:27:35 -0700 > >> Subject: Re: [ovs-dev] Problem with DHCP and TUNNEL > >> To: dano1...@hotmail.it > >> CC: disc...@openvswitch.org; dev@openvswitch.org; roberto.sa...@polito.it; > >> paolo.smirag...@polito.it > > > >> > >> On Wed, May 23, 2012 at 7:49 AM, Daniele Milani <dano1...@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
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev