Project

General

Profile

Bug #2089

Unable to create flow on data link

Added by Anil Jangity over 7 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
OS/Net (Kernel and Userland)
Target version:
-
Start date:
2012-02-08
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

I have a physical interface igb0 and a virtual link called oi0.

root@sjc3:/# dladm show-vnic
LINK OVER SPEED MACADDRESS MACADDRTYPE VID
oi0 igb0 1000 2:8:20:f:23:dc random 0

I tried to create a flow on oi0. This should work, but doesn't. What exactly is incompatible?

root@sjc3:/# flowadm add-flow -l oi0 -a transport=tcp tcpflow
flowadm: add flow failed: flow(s) with incompatible attributes exists
root@sjc3:/#

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 combina-
tions will fail.
_

In fact there is even an example suggesting something similar for UDP traffic. This clearly isn't working though with TCP specified.

History

#1

Updated by Ken Mays over 6 years ago

  • Assignee set to OI illumos

Also available in: Atom PDF