TAMBAH VLAN DI SLACKWARE
TAMBAH VLAN DI SLACKWARE
root@routercore2:~# lsmod | grep 802 8021q 18622 0 garp 5614 1 8021q sysfillrect 3802 1 ast root@routercore2:~# modprobe 8021q root@routercore2:~# lsmod | grep 802 8021q 18622 0 garp 5614 1 8021q sysfillrect 3802 1 ast root@routercore2:~# vconfig add eth1 102 Added VLAN with VID == 102 to IF -:eth1:- root@routercore2:~# ifconfig eth1.102 10.0.0.1/16 up root@routercore2:~# ping 10.0.0.1 PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data. 64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.018 ms 64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.015 ms 64 bytes from 10.0.0.1: icmp_seq=3 ttl=64 time=0.015 ms ^C --- 10.0.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1999ms rtt min/avg/max/mdev = 0.015/0.016/0.018/0.001 ms root@routercore2:~# ^C
tambah kan di /etc/rc.d/rc.local
nano /etc/rc.d/rc.local
eth0 up eth1 up vconfig add eth1 102 vconfig add eth1 101 ifconfig eth1.102 up ifconfig eth1.101 up eth2 up vconfig add eth2 988 ifconfig eth2.988 up eth3 up
Komentar
Posting Komentar