Anda di halaman 1dari 2

KONFIGURASI JARINGAN DEBIAN [SERVER] DAN WINDOWS [CLIENT]

Konfigurasi 2 Adaptor
Adaptor 1 : NAT [enp0s3]
Adaptor 2 : Host Only-adapter [enp0s8]

KONFIGURASI IP ADDRESS DI LINUX DEBIAN


# nano /etc/network/interfaces -> enter

tampilan pertama kita sebagai berikut :

source /etc/network/interfaces.d*

# the loopback network interfaces


auto lo
iface lo inet loopback

# The primary network interfaces


allow-hotplug enp0s3
iface enp0s3 inet dhcp

# adapter baru untuk jaringan local " host-only"


auto enp0s8
iface enp0s8 inet static
address 192.168.10.1
netmask 255.255.255.0

selanjutnya :
simpan : [ctrl+ X -> Y] atau [f2 -> y ]-> enter

Reset IP address adaptor lama :


# ip a fl enp0s3

Restart hasil Konfigurasi :


# /etc/init.d/networking restart
# systemctl restart networking
keterangan : pastikan setelah restart ada keteranag [OK]

Cek IP Address hasil konfigurasi sudah berhasil apa belum :


# ip a sh enp0s3
keterangan : sesuaikan adaptor 1 = enp0s3
adaptor 2 = enp0s8
setelah enter pastikan di enp0s3 sudah ada ip addressnya.

konfigurasi ip address client [windows]


bisa menggunakan cara :
tekan windows+R -> ketikan : ncpa.cpl -> enter
[network control panel aplet]
ip address : 192.168.10.2
subnetmask : 255.255.255.0

PENGUJIAN : 1
Dari komputer server [komputer 1]
ping ke ip Client [ komputer 2]
contoh > # ping 192.168.10.2 -> enter
pastikan replay

PENGUJIAN : 2
Dari komputer client [komputer 2]
ping menggunakan commandprom [CMD] tekan tombol windows+R
ping ke ip server [komputer 1]
contoh >ping 192.168.10.1 -> enter
pastikan replay

Anda mungkin juga menyukai