Jumat, 15 Juli 2016

CONFIGURING CISCO ROUTER AS INTERNET GATEWAY



Perhatikan gambar berikut :



Langkah-langkah konfigurasi
1.      Beri alamat interface dan aktifkan port router

Router (config) # int gi0/0
Router (config-if ) # ip add 192.168.125.254 255.255.255.0
Router (config-if ) # no shutdown
Router (config-if ) # int gi0/1
Router (config-if ) # ip add 192.168.206.254 255.255.255.0
Router (config-if ) # no shut


2.      Konfig NAT Dyamic Overload with Exit Interface
Router (config) # int gi0/0
Router (config-if ) # ip nat outside
Router (config-if ) # int gi0/1
Router (config-if ) # ip nat inside
Router (config-if ) # exit
Router (config ) # access-list 1 permit  192.168.206.0   0.0.0.255
Router (config ) # ip nat inside source list 1 interface gi0/0 overload

3.      Konfig default route

Router (config) # ip route 0.0.0.0   0.0.0.0   192.168.125.1

4.   Beri alamat DNS server
      Router (config) # ip name-server 8.8.8.8
    
5.   Konfig banner, remote access telnet dan ssh

Router (config) #  hostname Gateway
Gateway (config) # banner motd c YANG TIDAK BERHAK DILARANG MENGAKSES c
Gateway (config) # enable secret bismillah
Gateway (config) # username mrwawanux secret bismillah
Gateway (config) # ip domain-name mrwawanux.local
Gateway (config) # crypte key generate rsa
Gateway (config) # line vty 0 4
Gateway (config-line) # login local
Gateway (config-line) # transport input all

6.      Konfig DHCP server
Gateway (config) # ip dhcp pool CLIENT
Gateway (dhcp-config) # network 192.168.206.0 255.255.255.0
Gateway (dhcp-config) # default-router 192.168.206.254
Gateway (dhcp-config) # dns-server 8.8.8.8

7.   Simpan konfigurasi 
      Gateway (config) # write memory      

 8.  Lakukan pengujian hasil konfigurasi
Client seharusnya bisa akses internet

1 komentar:

  1. Top 5 casino games for Android - Jtm Hub
    If 청주 출장마사지 you 의왕 출장샵 are a gambling addict, then you are not sure which games to 전주 출장안마 play, which games are the 부천 출장샵 best, and why can't 강릉 출장샵 we help?

    BalasHapus