Friday, June 11, 2010

Konfigurasi NAT IP dengan Console ke Router CISCO

Mau berbagi sedikit tentang konfigurasi CISCO 2600 series "2610". Karena kebetulan kemarin saya dihadapkan dengan router ini dengan keadaan sebagai berikut :


- Satu kabel console dari router ke arah laptop

- Satu kabel UTP ke arah internet (Local LAN)

- Satu kabel UTP dari Router ke arah laptop

Tes ini untuk cek apakah router dari customer masih berfingsi atau tidak. Untuk sementara topologi belum saya upload.

Dan berikut adalah capture dari hasil konfigurasi yang saya buat :

!
interface Ethernet0/0
description TEST to LAPTOP
ip address 192.168.10.1 255.255.255.0
ip nat inside
!
interface Serial0/0
ip address 10.100.100.201 255.255.255.0
encapsulation ppp
no fair-queue
!
interface Ethernet1/0
description TEST to LAN
ip address 202.59.xxx.xxx 255.255.255.192
ip nat outside
!
ip default-gateway 202.59.XXX.XXX ---- IP GATEWAY ke INTERNET
ip nat inside source list 1 interface Ethernet1/0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Ethernet1/0
ip http server
!
access-list 1 permit 192.168.10.0 0.0.0.255
!
line con 0
password xxxxxx
login
line aux 0
line vty 0 4
password xxxxxx
login
!
end
===============================================================

Karena tidak ada topologi nya maka berikut adalah keterangan dari hasil konfigurasi diatas:

Interface serial tidak terpakai

192.168.10.1 255.255.255.0 ----- IP utk INTERFACE penyambung dari router ke laptop

202.59.xxx.xxx 255.255.255.192 ---------- IP local LAN


Saya rasa cukup sekian dan semoga bermanfaat.. :)

No comments:

Post a Comment