It doesn't look like you're letting ARP through.

--Justin


On May 8, 2013, at 9:44 AM, anirup dutta <[email protected]> wrote:

> Hey,
> 
> I am using Ubuntu 12.04 and openvswitch 1.40. I have three lxc containers 
> connected to openvswitch bridge say br1. The ip addresses of the 3 lxc 
> containers are 192.168.1.163(port 2), 192.168.1.164(port 1), 
> 192.168.1.165(port 3). The ip address of the bridge is 192.168.1.208.
> 
> I am trying to use the ovs-ofctl command to define my flows.
> 
> This is the order of instructions, I executed
> 
> sudo ovs-ofctl del-flows br1
> 
> This doesn't work. I mean the machines can't ping each other.
> sudo ovs-ofctl add-flow br1 
> in_port=2,priority=33001,dl_type=0x800,nw_dst=192.168.1.164,actions=output:1 
> sudo ovs-ofctl add-flow br1 
> in_port=1,priority=33001,dl_type=0x800,nw_dst=192.168.1.163,actions=output:2
> sudo ovs-ofctl add-flow br1 
> in_port=1,priority=33001,dl_type=0x800,nw_dst=192.168.1.165,actions=output:3
> sudo ovs-ofctl add-flow br1 
> in_port=3,priority=33001,dl_type=0x800,nw_dst=192.168.1.164,actions=output:1
> 
> This doesn't work
> sudo ovs-ofctl del-flows br1
> sudo ovs-ofctl add-flow br1 
> priority=33001,dl_type=0x800,nw_dst=192.168.1.164,actions=output:1 
> sudo ovs-ofctl add-flow br1 
> priority=33001,dl_type=0x800,nw_dst=192.168.1.163,actions=output:2
> 
> This works
> sudo ovs-ofctl del-flows br1
> sudo ovs-ofctl add-flow br1 in_port=2,actions=output:1 
> sudo ovs-ofctl add-flow br1 in_port=1,actions=output:2
> 
> 
> Can anyone point to me the reason why the flow matching based on ip addresses 
> isn't working.
> -- 
> Anirup Dutta
> _______________________________________________
> 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