1. Konfigurasi IP Address ROUTER

download 1. Konfigurasi IP Address ROUTER

If you can't read please download the document

description

konfigurasi IP Adress Router debian 6

Transcript of 1. Konfigurasi IP Address ROUTER

Toplogi Jaringan yang dipakaiInternet Router Acces Point (AP) 192.168.88.2-->Eth0 Eth1 # IP INTERNET auto eth0iface eth0 inet staticaddress 192.168.88.2netmask 255.255.255.0Network 192.168.88.0broadcast 192.168.88.255gateway 192.168.88.1dns-nameserver 8.8.8.8# IP APauto eth1iface eth1 inet staticaddress 100.100.100.1netmask 255.255.255.0Network 100.100.100.0broadcast 100.100.100.255(Simpan ----> CTRL+X, Y, ENTER)2. /etc/init.d/networking restart (Enter)3. Ifconfig (Enter) ==>> ngecek Ip Address !4. nano /etc/resolv.confKetiklah script dibawah ini.. !search smktb.sch.idnameserver 192.168.2.65 ==> (IP SERVER) nameserver 8.8.8.8Simpan (CTRL+X,Y,Enter)5. nano /etc/sysctl.confcari file (# net.ipv4.ip_forward=1)# net.ipv4.ip_forward=1 ===> hapus tanda # Simpan (CTRL+X,Y,Enter)6. nano /etc/rc.local Tambahkan script berikut diatas baris ==> exit 0 iptables t nat A POSTROUTING o eth0 j MASQUERADESimpan (CTRL+X,Y,Enter)7. reboot Setelah reboot lakukan ping ==> Ping 192.168.88.1 Ping www.google.com jika RTO (Request time out) berarti tidak konek Jika (Replay From) berarti konek