#cara cepat setting ip
#(setting akan hilang jika komp restart)
#
#komp server1 (ubuntu/linux)
sudo -i
ifconfig
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
ifconfig eth1 10.1.10.1 netmask 255.0.0.0 up
#komp client1
sudo -i
ifconfig
ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
#komp client2
sudo -i
ifconfig
ifconfig eth0 192.168.1.3 netmask 255.255.255.0 up
#komp client3
sudo -i
ifconfig
ifconfig eth0 192.168.1.4 netmask 255.255.255.0 up
##########################################
#atau
#setting standart
#(setting tersimpan walau di restart)
#
#komp server1 (ubuntu/linux)
sudo -i
ifconfig
nano /etc/network/interfaces
#dibawah baris “iface eth0 inet static” tambah setting ip
#contoh:
“iface eth0 inet static”
“address 10.1.10.1″
“netmask 255.0.0.0″
#dibawah baris “iface eth1 inet static” tambah setting ip
#contoh:
“iface eth1 inet static”
“address 192.168.1.1″
“netmask 255.255.255.0″
#simpan
#jalankan
/etc/init.d/networking restart
/sbin/iptables –tables nat –append POSTROUTING –out-interface eth0 -j MASQUERADE
#komp client1
sudo -i
ifconfig
nano /etc/network/interfaces
#dibawah baris “iface eth0 inet static” tambah setting ip
#contoh:
“iface eth0 inet static”
“address 192.168.1.2″
“netmask 255.255.255.0″
#simpan
#jalankan
/etc/init.d/networking restart
#komp client2
sudo -i
ifconfig
nano /etc/network/interfaces
#dibawah baris “iface eth0 inet static” tambah setting ip
#contoh:
“iface eth0 inet static”
“address 192.168.1.3″
“netmask 255.255.255.0″
#simpan
#jalankan
/etc/init.d/networking restart
#komp client3
sudo -i
ifconfig
nano /etc/network/interfaces
#dibawah baris “iface eth0 inet static” tambah setting ip
#contoh:
“iface eth0 inet static”
“address 192.168.1.4″
“netmask 255.255.255.0″
#simpan
#jalankan
/etc/init.d/networking restart
#komp client4
sudo -i
ifconfig
nano /etc/network/interfaces
#dibawah baris “iface eth0 inet static” tambah setting ip
#contoh:
“iface eth0 inet static”
“address 192.168.1.5″
“netmask 255.255.255.0″
#simpan
#jalankan
/etc/init.d/networking restart
Selamat Mencoba...
Pengikut
Cari Artikel
Category
- Adsense (1)
- Agama Islam (8)
- Blogger (9)
- Download (5)
- Email (11)
- Hacking (10)
- Informasi Menarik (2)
- Jual Hand Phone (5)
- Komputer (45)
- Linux (11)
- Printer (1)
- Resep Kue (2)
- Resep Masakan (5)
- Resep Minuman (2)
- Seks (3)
- Trik Hand Phone (1)
Total Pengunjung
Kamis, 01 April 2010
SETTING IP PADA UBUNTU
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar