I''m running snv_105 (BFU) and can''t seem to get VNIC''s working with VLANs. There was a post similar to this months ago which suggested that you could build a VNIC on a VLAN (but no vice-versa) and implied that it worked then, but I''m having no luck. Is this known or should it be working? benr. -- This message posted from opensolaris.org
On Fri, Jan 09, 2009 at 02:45:36AM -0800, Ben Rockwood wrote:> I''m running snv_105 (BFU) and can''t seem to get VNIC''s working with > VLANs. There was a post similar to this months ago which suggested > that you could build a VNIC on a VLAN (but no vice-versa) and > implied that it worked then, but I''m having no luck.I''m not sure exactly what you''re doing, but Fred Oliver reported 6791678 yesterday, which may have a similar root cause. I haven''t looked at it yet.
On Jan 9, 2009, at 3:45 AM, Ben Rockwood wrote:> I''m running snv_105 (BFU) and can''t seem to get VNIC''s working with > VLANs. There was a post similar to this months ago which suggested > that you could build a VNIC on a VLAN (but no vice-versa) and > implied that it worked then, but I''m having no luck.Were you creating these VNICs with the create-vnic -v option? Or something else? What are you using on top of these VNICs? Zones, Xen domains? Nicolas.> > > Is this known or should it be working? > > benr. > -- > This message posted from opensolaris.org > _______________________________________________ > crossbow-discuss mailing list > crossbow-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss-- Nicolas Droux - Solaris Kernel Networking - Sun Microsystems, Inc. droux at sun.com - http://blogs.sun.com/droux
I appear to be mistaken. It does seem to work. Here are the 4 cases I tried: 1) Create vlan link, create vnic on that link (Doesn''t work) 2) Create vnic, create vlan from that link (Doesn''t work) 3) Create vnic, hand to zone, create (plumb) vlan interface inside zone (doesn''t work) 3) Create vnic using -v flag. (DOES work.) I have tested two VLAN''ed (method 4 above) VNIC''s on an etherstub. Set the VLAN the same and they see eachother, change the VLAN ID of one and it doesn''t... so it works. However, if you snoop from one (inside the zone) you see all ethernet frames as ethertype 0800, meaning that snoop expressions like (snoop vlan) don''t work. However I tried this on a box I have in production using VLANs (snv_89) and saw the same thing. One suggestion I''d make is that perhaps VNIC''s with VLAN ID''s should show up in the "show vlan" output. benr. -- This message posted from opensolaris.org
On Jan 9, 2009, at 1:25 PM, Ben Rockwood wrote:> I appear to be mistaken. It does seem to work. Here are the 4 > cases I tried: > > 1) Create vlan link, create vnic on that link (Doesn''t work) > 2) Create vnic, create vlan from that link (Doesn''t work) > 3) Create vnic, hand to zone, create (plumb) vlan interface inside > zone (doesn''t work) > 3) Create vnic using -v flag. (DOES work.) > > I have tested two VLAN''ed (method 4 above) VNIC''s on an etherstub. > Set the VLAN the same and they see eachother, change the VLAN ID of > one and it doesn''t... so it works.Great to hear.> However, if you snoop from one (inside the zone) you see all > ethernet frames as ethertype 0800, meaning that snoop expressions > like (snoop vlan) don''t work. However I tried this on a box I have > in production using VLANs (snv_89) and saw the same thing.Yes, that''s the expected behavior.> One suggestion I''d make is that perhaps VNIC''s with VLAN ID''s should > show up in the "show vlan" output.create-vlan and create-vnic create different classes of data-links, and are shown only by show-vlan and show-vnic, respectively. That said, since VLAN datalinks are implemented as VNICs underneath, we were thinking of adding a separate option to show-vnic that would allow a user to show all VLAN data-links as well, we could have a similar option in show-vlan to show all VNICs with non-zero VIDs. Nicolas.> > > benr. > -- > This message posted from opensolaris.org > _______________________________________________ > crossbow-discuss mailing list > crossbow-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss-- Nicolas Droux - Solaris Kernel Networking - Sun Microsystems, Inc. droux at sun.com - http://blogs.sun.com/droux