Why "vlan: 3 parent interface: en0"

jp flag

I have created a VLAN:


vconfig add en0 3
ip addr add dev en0.3
ip link set up en0.3
can be translated to macOS by e.g.


ifconfig vlan0 create
ifconfig vlan0 vlan 3 vlandev en0
ifconfig vlan0 inet netmask

And I can now see, from ip link show that I have a VLAN saying:

    ether xx:xx:xx:xx:xx:xx 
    inet netmask 0xffffff00 broadcast
    vlan: 3 parent interface: en0
    media: autoselect
    status: active

Why vlan: 3 parent interface: en0 as I have only one physical enterface - also stated "en0"?

Nikita Kipriyanov avatar
za flag
What do you want to achieve in the end?
jp flag
Information on what the nummer 3 induceres
Nikita Kipriyanov avatar
za flag
[Server Fault is for questions about managing information technology systems in a business environment.]( What problem do you have to start with? What is the end state of the system that you want to achieve? How it should behave?
jp flag
jp flag
Ahh, sorry maybe "induceres" confused you, it shoud have ben indicates - "What the number 3 indicates".
ar flag

Why vlan: 3 parent interface: en0 as I have only one physical enterface - also stated "en0"?

It indicates that it's vlan number 3, on the interface en0. VLAN's are tied to a physical interface.

In your case you have only one, but it's common to have multiple Ethernet interfaces, in which case this is crucial information for knowing where the VLAN goes.


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.