Anil:

On Tue, 12 May 2009, Anil wrote:

> I am trying to do something like this:
>
> However, I get:
> root:~# flowadm add-flow -l vnic0 -a transport=TCP,UDP vnic0

BTW, this will end up creating a TCP-only flow (and not a TCP or UDP). (I 
think we should get an error here, will check.)

> root:~# flowadm add-flow -l vnic0 -a transport=TCP,local_port=80 vnic0port80
> flowadm: add flow failed: flow(s) with incompatible attributes exists
>

from the flowadm(1m) man page:

"
      The following five types of combinations of attributes are supported:

         local_ip[/prefixlen]=address
         remote_ip[/prefixlen]=address
         transport={tcp|udp|sctp|icmp|icmpv6}
         transport={tcp|udp|sctp},local_port=port
         dsfield=val[:dsfield_mask]

         On a given link, the combinations above are mutually exclusive.
         An attempt to create flows of different types will fail.
"

So, in if you have a protocol (tcp) based flow, you can't add another
(on the same link) with protocol-port (tcp/80).

We will revisit these restrictions in the future..

thanks!

-venu


> I must be missing something obvious here... I want to priorities regular 
> TCP/UDP traffic vs port 80 traffic.
> -- 
> This message posted from opensolaris.org
> _______________________________________________
> crossbow-discuss mailing list
> crossbow-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss
>

Reply via email to