Senin, 08 Juni 2009

setting VLAN di Fedora

1. copy file /etc/sysconfig/network-scripts/ifcfg-eth0 ke /etc/sysconfig/network-scripts/ifcfg-eth0.x (ganti x dengan nomor index vlan), contoh vlan2 :
cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.2
2. edit file tersebut
vi ifcfg-eth0.2
3. buat jadi seperti berikut
DEVICE=eth0.2
BOOTPROTO=static
BROADCAST=192.168.2.255
IPADDR=192.168.2.6
NETMASK=255.255.255.0
NETWORK=192.168.2.0
VLAN=yes
ONBOOT=yes
4. restart networknya
/etc/init.d/network restart
5. selesai