$
sudo pico /etc/network/interfaces
auto
eth1
iface eth1 inet static
iface eth1 inet static
address 192.168.1.206
netmask
255.255.255.0
network
192.168.1.0
broarcast 192.168.1.255
gateway 192.168.1.1
auto
eth0
iface eth0 inet static
iface eth0 inet static
address
192.168.8.1
netmask 255.255.255.0
network 192.168.8.0
broadcast 192.168.8.255
gateway 192.168.1.206
netmask 255.255.255.0
network 192.168.8.0
broadcast 192.168.8.255
gateway 192.168.1.206
Keterangan : 192.168.1.206 adalah IP WAN
192.168.8.1 adalah IP Local
Kemudian restart network
$ /etc/init.d/networking restart
$
ifconfig eth1 up
thanks gan. !! :)
BalasHapus