I don't think it works that way. I'm pretty sure an interface either does tagging or it doesn't. That's not to say that your clients would have to know. As long as the switch ports put the right tag on the frames, you should be fine.
-- Adam Fox adamfox@netapp.com
-----Original Message----- From: Wes Hardin [mailto:whardin@dalsemi.com] Sent: Friday, July 13, 2007 2:18 PM To: toasters@mathworks.com Subject: Adding VLANs to a vif
I have a FAS3020 with all four onboard gig-e ports trunked as vif0. I am wanting to add a VLAN interface to my current vif for my backup network.
Will the following lines in /etc/rc work? (Sorry for the wrapping)
vif create multi vif0 -b ip e0a e0c e0b e0d vlan create -g off vif0 4093 ifconfig vif0 `hostname`-vif0 mediatype auto netmask 255.255.248.0 partner vif0 ifconfig vif0-4093 `hostname`-backup netmask 255.255.0.0 partner vif0-4093
I still want vif0 to act as it does now, sending and receiving untagged frames, but the new interface, vif0-4093, sending tagged frames.
I tried to simulate this with the ONTAP simulator, but it wasn't supported on my setup and all the documentation I can find doesn't mention the original interface again after creating the VLAN.
Thanks, -- /* wes hardin */ UNIX System Admin Dallas Semiconductor/Maxim Integrated Products