karena saya sring menggunakan debian,saya kasih sedikit cara dari debian,,
Ada beberapa cara, di keluarga Debian menggunakan cara berikut :
root@ns1:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth2 eth1 eth1:0
iface lo inet loopback
iface eth2 inet static
address 202.43.170.67
netmask 255.255.255.240
gateway 202.43.170.65
iface eth1 inet static
address 172.27.0.234
netmask 255.255.0.0
broadcast 172.27.255.255
network 172.27.0.0
iface eth1:0 inet static
address 172.16.0.234
netmask 255.255.0.0
broadcast 172.16.255.255
network 172.16.0.0
root@ns1:~#
0 komentar:
Posting Komentar