Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I read tutorial about VLAN configuring. The author talks about VLAN id and uses it in following actions:

My VLAN ID is 5. So I need to copy file /etc/sysconfig/network-scripts/ifcfg-eth0 to /etc/sysconfig/network-scripts/ifcfg-eth0.5

I can't find information about why VLAN id is 5 in this case? How do I know what is VLAN id in my case? And from what VLAN id depends? I run Ubuntu 12.04 if it important.

share|improve this question

1 Answer 1

It sounds like you're not in a network with vlans. If you manage your own network (for instance, at home), you probably won't have any vlans.

share|improve this answer
    
Actually I just want some theory. –  I159 Jun 24 '13 at 12:51
    
Vlan numbering is arbitrary. To oversimplify, you can take two completely separate physical networks and combine them, but leave them separate by vlan-tagging the traffic over shared links. This is probably much better explained elsewhere with graphics. I've never configured a subinterface in Linux, so I can't really comment on that part. –  Joe Fruchey Jun 24 '13 at 14:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.