[ovs-discuss] Flows based on IP address and port numbers in mininet topology using floodlight controller.
Suresh
skjaiswal79 at hotmail.com
Tue Dec 10 10:36:56 UTC 2013
Hi All
i'm new baby in Openflow just start playing around.
I'm using mininet and floodlight controller.
I have crated topology like h1(10.0.0.1) -s1-h2 (10.0.0.2). and one tcp based server running on h1(10.0.0.1) in port 8888 and client is running on h2 (10.0.0.2).
h1 h1-eth0:s1-eth1
h2 h2-eth0:s1-eth2
s1 lo: s1-eth1:h1-eth0 s1-eth2:h2-eth0
and Running Floodlight with disable forwarding moulde( Ping is not working if forward module is disable) .
I create scenario that only application running on host h1(10.0.0.1 ) port 8888 is able to communicate to h2.
if server is running to another that not able run.
I have add following flow for this
like this
ovs-ofctl add-flow br0 "in_port=1,dl_type=0x0800,nw_proto=6,nw_dst=10.0.0.2,nw_src=10.0.0.1,tp_src=8888 ,priority=5,actions=output:2"
ovs-ofctl add-flow br0 "in_port=1,dl_type=0x0800,nw_proto=6,nw_dst=10.0.0.1 ,priority=5,actions=output:1"
I know that I need to add flow for ARP and if I want enable for ping then need to add ICMP but don't know what will flow for this
please any one help regarding that.
~Suresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131210/f3446c78/attachment.html>
More information about the discuss
mailing list