Thanks Mike but I don't think the pvid of the switch and the default-vlan-id are exactly the same. I think you need to set the default-vlan-id properly to allow an LDom to use that VLAN.
Example Config: Physical switch configured with untagged traffic on VLAN X, tagged on Y, Z. The following works: default-vlan-id=1 vsw pvid = X (vsw0) vnet pvid = Y, vid=Z (vnet0, vnetZ000) However if vnet now needs to access VLAN X as well, I think you have to set the default-vlan-id appropriately: default-vlan-id=X vsw pvid = X (vsw0) vnet vpid = Y, vid=X,Z (vnet0, vnetX000, vnetZ000) I think you can do the following: default-vlan-id=1 vsw pvid = X (vsw0) vnet vpid = Y, vid=1,Z (vnet0, vnet1000, vnetZ000) But now the client now knows I've mucked up as there's no vnetX000... -Steve --- On Mon, 4/1/10, Mike Gerdts <mgerdts at gmail.com> wrote: > From: Mike Gerdts <mgerdts at gmail.com> > Subject: Re: [ldoms-discuss] Can you change the default-vlan-id on an > existing vswitch? > To: sun at waistcoat.org.uk > Cc: ldoms-discuss at opensolaris.org > Date: Monday, 4 January, 2010, 14:29 > On Tue, Dec 22, 2009 at 3:30 AM, > Steve Goldthorpe <sun at waistcoat.org.uk> > wrote: > > We've got a few machines that don't have the correct > default-vlan-id set and I'd like to tidy them up. > > > > Can you change the default-vlan-id on an existing > vswitch? The only way I've found so far is to delete the > vswitch and re-create it which is a bit of a pain. If not > could it be added (delayed reconfig would be OK by me)? > > > > (I'm using Solaris 10 u7/8 & LDoms 1.2). > > > > -Steve Goldthorpe > > > > vswitch ( vsw ) > > add-vswitch [default-vlan-id=<vid>] > [pvid=<pvid>] [vid=<vid1,vid2,...>] > > [mac-addr=<num>] > [net-dev=<device>] [mode=<mode>] > [mtu=<mtu>] > > [id=<switchid>] > <vswitch_name> <ldom> > > set-vswitch [pvid=[<pvid>]] > [vid=[<vid1,vid2,...>]] [mac-addr=<num>] > > [net-dev=<device>] > [mode=<mode>] [mtu=[<mtu>]] > <vswitch_name> > > The answer is given above. > > ldm set-vsw pvid=123 <vswitch_name> > > > remove-vswitch [-f] <vswitch_name> > > > > _______________________________________________ > > ldoms-discuss mailing list > > ldoms-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss > > > > > > -- > Mike Gerdts > http://mgerdts.blogspot.com/ > -- This message posted from opensolaris.org
