AIX VLAN interface question

Hi,

Can we assign 2 VLAN numbers to one interface in  AIX?
mokkanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

woolmilkporcCommented:
A VLAN interface (tagged 802.1Q VLAN node) is a virtual interface defined over a real (physical) interface.
You can define more than one virtual interface over a given physical interface.
Please be aware that should the underlying physical adapter fail access to all VLANs configured over this adapter will be lost.

The VLAN interfaces appear as separate entX devices along with their associated enX/etX protocol devices.

Run

smitty vlan

to define VLAN adapterst or to see the properties of existing ones.
mokkanAuthor Commented:
Thank  you,  my question is that  can I assign  VLAN  1044, 1045,1046 to en0 ?  Or only allow 1044?
woolmilkporcCommented:
Not en0, but ent0 !

If ent0 is a physical adapter you can use "smitty vlan" to create 1, 2, 3 or more virtual adapters with ent0 as their base and assign each virtual adapter its own VLAN ID.

Assuming that ent0 is the only physical adapter in your box you can get ent1 with ID 1044, ent2 with 1045 and ent3 with 1046, or just ent1 with an ID of your choice, or ent1 and ent2 with IDs of your choice, or just ent1, all having ent0 as their base. It's all up to you. The above describes 3 virtual adapters, but you can have more of them, of course.
If you have more physical adapters, let's say ent0, ent1 and ent2 then the first VLAN adapter will be named ent3, regardless of the underlying real adapter.

And obviously you must connect this real adapter ent0 to a switch port which accepts all of the configured VLAN tags!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mokkanAuthor Commented:
Thank you very much.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.