Actually you don't need to get away from running untagged on the admin 
interface in order to get where I think you want to be.

Assuming that SmartOS doesn't barf and refuse "vlan_id": on the admin nic, it's 
completely OK from a protocol perspective to simultaneously run native 
(untagged) and 802.1q tagged on the same physical ethernet port.    Basically, 
a device that is looking for native frames but sees an 802.1q frame will say 
"not me, wrong ethertype" while a device that is expecting an 802.1q 
encapsulated frame but sees a native one will say "not me, wrong vlan".  
Wikipedia has a picture that illustrates handily why this works:  
https://en.wikipedia.org/wiki/IEEE_802.1Q#/media/File:Ethernet_802.1Q_Insert.svg

I haven't labbed this up with SmartOS, but I have had it working for years with 
a (long in the tooth) Solaris 10u8 box.  The switch config for a Juniper EX2200 
is below, but any relatively modern gigabit ethernet switch from any vendor 
ought to have a concept of a native vlan on a trunked port.

rs@ex201> show configuration interfaces ge-0/0/0 
description "testbox.seastrom.com bge1 management and service trunking";
unit 0 {
    family ethernet-switching {
        port-mode trunk;
        vlan {
            members [ rs-prod rs-lab rs-backend ];
        }
        native-vlan-id mgmt-console;
    }
}

rs@ex201> 

Hope this is of some value.

-r


> On May 9, 2016, at 12:33 PM, Akhilesh Baddie am <[email protected]> 
> wrote:
> 
> Can you tell me the possible solution Robert !
> How to handle this set up by sending some instructions ..that can help me a 
> lot to solve this issue.
> 
> Thank you.
> 
> Sent from my iPhone
> 
>> On May 7, 2016, at 5:13 PM, Robert Mustacchi <[email protected]> wrote:
>> 
>>> On 5/7/16 14:02 , Rune Tipsmark wrote:
>>> admin_vlan_id=130
>> 
>> In SmartOS, the admin nic tag is always treated as being an access mode
>> VLAN. I suspect that you're trying to have it tagged and it's resulted
>> in something that's not tagged which is why it's not working.
>> 
>> Robert
>> 
> 
> 


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to