Selasa, 04 Oktober 2011

PRAKTEK LINUX

KONFIGURASI  TCP/IP
# pico /etc/network/interfaces

#The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
           address 192.168.1.2
           netmask 255.255.255.0
           network 192.168.1.0
           broadcast 192.168.1.255
           gateway 192.168.1.1
           dns-nameservers 192.168.1.1

auto eth1
iface eth1 inet static
           address 192.168.4.1
           netmask 255.255.255.0
           network 192.168.4.0
           broadcast 192.168.4.255
           dns-nameservers 192.168.4.1
           

simpan dg ctrl+o dn kluar dg ctrl+x

Tidak ada komentar:

Posting Komentar