Hello, Thanks for your reply, I have two bridges external and of2. In of2 I have set: ovs-ofctl add-flow of2 nw_dst=10.51.89.187,tcp_dst=80,action=mod_nw_dst:172.16.1.5
In of2 I have also configured an ip address 172.16.1.6. But I can't ping it from a virtual machine that has of2 as interface when I have the above flow configured. The two bridges are joined with patch ports. In external bridge I have an internal port with ip 10.51.89.187. So I try to curl 10.51.89.187:80 but nothing is reaching to of2 bridge. How do the patch ports work? Isn't it that packets arriving to one of the patch bridge are sent to the other patch bridge? BR/ Cristina -----Original Message----- From: Ben Pfaff [mailto:[email protected]] Sent: lunes, 06 de junio de 2016 17:03 To: Cristina Palomo Regidor Cc: [email protected] Subject: Re: [ovs-discuss] ovs-ofctl command to perform nat On Mon, Jun 06, 2016 at 02:33:19PM +0000, Cristina Palomo Regidor wrote: > I read that nat is not currently supported by openvswitch. > Would this command somehow perform the behavior of nat? > ovs-ofctl add-flow br1 nw_dst=192.168.2.2,idle_timeout=0, > mod_nw_dst:172.16.121.2,output:0 If that's good enough for your case, yes. (However, 0 is never a valid port number, so I guess that 0 must be a placeholder here.) _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
