ifconfig [network-interface] [IP] netmask [netmask]
contoh (asumsi network interface adalah eth0):
ifconfig eth0 10.14.10.240 netmask 255.255.255.0
Perintah dalam melakukan konfigurasi default gateway:
route add default gw [IP-gateway]
Contoh:
route add default gw 10.14.10.1
No comments:
Post a Comment