Masuk ke terminal
Command :
#nano /etc/network/interfaces
isikan pada interface mana yang akan di set
auto eth1
iface eth1 inet static
address 192.168.56.10
netmask 255.255.255.0
gateway 192.168.56.1
network 192.168.56.0
broadcast 192.168.56.255
Ctrl+o > save
Ctrl+x > exit
kemudian restart service network
Command :
#/etc/init.d/networking restart
#ifconfig eth1 down
#ifconfig eth1 up
jika ip add tidak terpasang biasanya perlu reboot
No comments:
Post a Comment