Hi Erik and Donghai,

I found a problem during the Clearview project development today, that a 
"dladm create-vlan" operation will mysteriously cause an interface to be 
plumbed. After some investigation, I found that the problem is related to 
interaction of a VLAN minor node creation and the ip_rcm rcm module, and 
this problem also exists in Nevada: that an interface will be plumbed when 
you tries to snoop a VLAN.

Below are the steps to reproduce the problem:

# ifconfig bge1
ifconfig: status: SIOCGLIFFLAGS: bge1: no such interface

# touch /etc/hostname.bge1

# snoop -d bge1001
Using device bge1001 (promiscuous mode)
^C

# ifconfig bge1
bge1: flags=201000802<BROADCAST,MULTICAST,IPv4,CoS> mtu 1500 index 5
         inet 0.0.0.0 netmask 0
         ether 0:3:ba:50:bd:ea


I tbink this is a bug in the RCM module, but it become a problem only when 
the stack instance project tries to create the style-1 minor node for VLAN 
interfaces. Let me know if you want me to file the bug.

Thanks
- Cathy

Reply via email to