Konfigurasi IP pada Debian 9

KONFIGURASI IP

1. Masuk ke root


2. Ketik nano /etc/network/interfaces


3. Ketikkan hal yang sama seperti di gambar berikut


4. Ctrl + x , y , enter


5. Ketik /etc/init.d/networking restart


MENGGUNAKAN VIRTUAL HOST ONLY ADAPTER

1. Tekan Device > Network > Network settings...


2. Ubah menjadi Host-only Adapter. Tekan "OK"


3. Buka Network Connections 


4. Buka VirtualBox Host-Only Network


5. Klik Properties


6. Pilih Internet Protocol Version 4 (TCP/IPv4)


7. Atur IP sesuka hatimu. Lalu kilik "OK"


8. Ping ip dari debian ke pc/windows


9. Ping dari pc ke debian


MENGGUNAKAN BRIDGE ADAPTER WIRELESS

1. Tekan Device > Network > Network settings...


2. Ubah menjadi Bridge Adapter. Tekan "OK"


3. Buka Network Connections 


4. Buka Wi-Fi. Klik Status


5. Klik Details...


6. Ubah ip debian sesuai dengan ip wifi (contoh : 192.168.100.x (x bisa di ubah sisanya tidak))


7. Ping dari debian ke pc


8. Ping dari pc ke debian

Comments