1. Cek IP address dengan Menggunakan #ifconfig
2. Edit file konfigurasi interfaces dengan perintah
root@smkpasundan1banjaran:~# nano /etc/network/interfaces
Ganti pada
Iface eth0 inet dhcp menjadi iface eth0 static
Contoh :
Ip address : 192.168.99.10
Netmask/subnet : 255.255.255.0
Network : 192.168.99.0
Broadcast : 192.168.99.255
Gateway : 192.168.99.1
dns-nameserves : 192.168.99.10
dns-search : tkj-smkpasundan1banjaran.net
3. Restart jaringan :
root@smkpasundan1banjaran:~# /etc/init.d/networking restart
4. Cek kembali konfigurasi jaringan
root@smkpasundan1banjaran:~# ifconfig
5. Ping ke gateway /ke google.com
root@smkpasundan1banjaran:~# ping 192.168.99.1
root@smkpasundan1banjaran:~#ping google.com
good post
ReplyDeleteClick to see the code!
To insert emoticon you must added at least one space before the code.