X-Steel - Wait


https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizTGXENg3jMT1uta_UWWCjTWM75B3BYQRfqUvJDbFIN1ereH8LKBL2WQhTTWjoyxHlS5MquPxRdg8CYIViArqNG7BZtqjh0Y2QCu4uk6FL4jJfOT0L1ocaSWe_T06gddSvSTsBSFU9t5q9/s320/debian-Router+DhonShin.png




Cara melihat Interface

root@debian:~# ifconfig



Cara konfigurasi network

root@smkmuh2:~# nano /etc/network/interfaces



# The local network interface

auto eth0

iface eth0 inet static

            address 192.168.0.1

            netmask 255.255.255.248

            network 192.168.0.0

            gateway 192.168.0.6

            broadcast 192.168.0.7

            dns-nameservers 192.168.0.1

auto eth0:0

ifacec eth0:0 inet static

            address 192.168.0.2

            netmask 255.255.255.248

auto eth0:1

iface eth0:1 inet static

            address 192.168.0.3

            netmask 255.255.255.248

           

Konfigurai skrip menjadi seperti ini, kemudian tekan Ctrl +  O, enter (untuk menyimpan) dan tekan Ctrl + X (untuk keluar)



root@smkmuh2:~# nano /etc/resolv.conf

search smkmuh2.sch.id

nameserver 192.168.0.1



Tambah skrip diatas ini, kemudian restart networknya

root@smkmuh2:~# service networking restart
Next
This is the most recent post.
Previous
Posting Lama

0 komentar:

Posting Komentar

 
Adilia © 2013. All Rights Reserved. Powered by Blogger
Top