Open Source Technical Information: How to install Virtual Lan?

Saturday 3 December 2011

How to install Virtual Lan?

,

Answer:- Installation of Virtual Lan
Lets show you how  to  add vlan to a physical network on  Fedora (Download Fedora 16)
First :
copy file /etc/sysconfig/network-scripts/ifcfg-eth0 to /etc/sysconfig/network-scripts/ifcfg-eth0.2
  • eth0 - Your regular network interface
  • eth0.2 - Your virtual interface that use untagged frames
Second:
edit ifcfg-eth0.2
vi /etc/sysconfig/network-scripts/ifcfg-eth0.2
replace  DEVICE=ifcfg-eth0  with  DEVICE=ifcfg-eth0.2
and add
VLAN=yes
Save the file. Remove gateway entry from all other network config files. Only add gateway to /etc/sysconfig/network file. Save and close the file. Restart network:
restart the  network   services
#service  network   restart
And is done!

0 comments to “How to install Virtual Lan?”

Post a Comment

Write your tips here...

Deal of the Day

Advertisement here

Advertisement here