[j-nsp] Untagged VLAN question

Chris Adams cmadams at hiwaay.net
Tue Dec 20 14:31:20 EST 2011


I've got a server connected to an EX4200 switch.  Its port is in VLAN 9
called "misc".  All is well.  The interface config looks like:

unit 0 {
    family ethernet-switching {
        port-mode access;
        vlan {
            members misc;
        }
    }
}

Now I want to enable IPMI on the server on a separate LAN segment.  This
is done on the server hardware with a VLAN on the BMC; tagged traffic in
the specific VLAN (30, named "ipmi") is separated for IPMI (the server
OS never sees it), and the rest goes to the server.  I want to keep VLAN
9 untagged (so the OS sees it just the same as before).  I tried:

    unit 0 {
        family ethernet-switching {
            port-mode trunk;
            vlan {
                members [ misc ipmi ];
            }
            native-vlan-id 9;
        }
    }

Now the IPMI LAN is active, but the packets to the server on VLAN 9 are
also tagged (so the server doesn't see them).  It looks like
native-vlan-id only sets the VLAN for inbound untagged packets.  How do
I get VLAN 9/misc packets sent untagged on this port?
-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


More information about the juniper-nsp mailing list