Assalamuallaikum Wr, Wb. Selamat pagi semuanya tentunya dalam keadaan yang semangat membara 😎. Pada kesempatan yang sangat penuh dengan semangat ini saya ingin berbagi bagaimana cara Konfigurasi Ip Address pada Debian 8. Langsung saja kita ke Debiannya...
1. Masuk ke etc/network/interfaces kemudian ketikan beberapa baris seperti dibawah.
root@debian:~# nano /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.1 # Ip Address
netmask 255.255.255.0 # Network Address
network 192.168.1.0 # Subnet Mask
broadcast 192.168.1.255 # Broadcast Address
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.1 # Ip Address
netmask 255.255.255.0 # Network Address
network 192.168.1.0 # Subnet Mask
broadcast 192.168.1.255 # Broadcast Address
2. Kemudian restart interfaces
root@debian:~# service networking restart
3. Pastikan ip address telah muncul ketika kita jalankan perintah " ifconfig "
root@debian:~# ifconfig
4. Kemudian test ping.
root@debian:~# ping 192.168.1.1
Sudah bisa test ping maka kita sudah berhasil menkonfigurasi ip address debiannya.
Sekian dulu lebih dan kurang saya mohon maaf.
Wasalamuallaikum Wr, Wb.
No comments:
Post a Comment