[ovs-discuss] Flows based on IP address and port numbers in mininet topology using floodlight controller.

Suresh skjaiswal79 at hotmail.com
Wed Dec 11 15:11:08 UTC 2013


I have added 
{"switch":"00:00:00:00:00:00:00:01", "name":"ICMP", "active":"true", "actions":"output=FLOOD","ether-type":"0x800"}

Status :-Entry pushed

{"switch":"00:00:00:00:00:00:00:01", "name":"ARP", "active":"true", "actions":"output=FLOOD","ether-type":"0x806"}

Status :-Entry pushed

{"switch":"00:00:00:00:00:00:00:01", "name":"Port", "active":"true", "actions":"output=1","ether-type":"0x800","dst-ip":"10.0.0.1","dst-port":"8888","protocol":"6"}

I what to block ping but if I not added ICMP flow then my server client traffic also got blocked ..can u help out about this how I can block ICMP traffic but my client server(8888)  traffic  work bet h1 to h2. ~Suresh
 
> Subject: Re: [ovs-discuss] Flows based on IP address and port numbers in mininet topology using floodlight controller.
> From: jpettit at nicira.com
> Date: Tue, 10 Dec 2013 10:23:54 -0800
> CC: discuss at openvswitch.org
> To: skjaiswal79 at hotmail.com
> 
> 
> On Dec 10, 2013, at 2:36 AM, Suresh <skjaiswal79 at hotmail.com> wrote:
>  
> > 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. 
> 
> What have you tried?
> 
> --Justin
> 
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131211/699d2946/attachment.html>


More information about the discuss mailing list