Vlan di Debian Etch
Berikut ini cara install vlan di debian :
Pertama install dulu paket vlan nya :
imamoberst:~#apt-get install vlan
– this is to install the vlan software –
tambahkan modul 8021q
imamoberst:~#modprobe 8021q atau
edit moduls anda :
imamoberst:~#nano/etc/modules
tambahkan paramater ini “8021q”
aktifkan interface anda :
imamoberst:~#ifconfig eth0 0.0.0.0 up
sebagai contoh saya create vlan 200 :
imamoberst:~#vconfig add eth0 200
– Creating vlan 200 over the eth0 interface –
Menambah ip di vlan 200 tersebut :
imamoberst:~#ifconfig eth0.200 172.16.253.4 broadcast 172.16.253.255 netmask 255.255.255.0 up
check configurasi anda :
imamoberst:~#ifconfig -a
eth1.200 Link encap:Ethernet HWaddr 00:11:09:5B:75:B9
inet addr:172.16.253.4 Bcast:172.16.253.255 Mask:255.255.255.0
inet6 addr: fe80::211:9ff:fe5b:75b9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:785 (785.0 b) TX bytes:468 (468.0 b)
Done.. :P