[Note the changed subject line.  The VLAN PPA hack really has
_nothing_ to do with the original topic I put out for discussion.]

Mike Gerdts writes:
> On Tue, Jun 24, 2008 at 2:19 PM, James Carlson <[EMAIL PROTECTED]> wrote:
> > I cited it in the previous message -- it's defined in PSARC 2000/147.
> 
> This case isn't open.  Can you give a quick summary of what the "vlan
> hack" is so that I can understand if/how it will affect how I use
> vlans?  If it's easier to just open it, that is fine too.

Sure; the scheme is simple, and is documented in dlpi(7P) and
dladm(1M).

The quick summary is that if you want access to (say) VLAN 7 on PPA 1
using driver "ce", you would attach to "ce7001."  The formula is just:

        VLAN * 1000 + PPA

Where "VLAN" is the tag number, and "PPA" is the ordinary device index
number (which normally starts with 0 for the first instance of a
driver installed).

The usual usage is like this:

        echo 192.168.0.1/24 > /etc/hostname.ce5000

... to make VLAN 5 plumbed on ce0 at boot time with the indicated
address and mask.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to