Konfigurasi NAT di Cisco Packet Tracer - hai bre pada postingan kali ini saya akan sedikit membahas tentang NAT di cisco packet tracer berikut adalah langkah langkahnya :
Topologi :
Topologi :
Konfigurasi ip address pada setiap router :
Pada
router IDN-R1 :
IDN-R1(config)#int fa0/0
IDN-R1(config-if)#ip
address 100.100.100.250 255.255.255.0
IDN-R1(config-if)#no
shutdown
IDN-R1(config-if)#exit
IDN-R1(config)#int se2/0
IDN-R1(config-if)#ip
address 18.18.18.1 255.255.255.0
IDN-R1(config-if)#no
shutdown
IDN-R1(config-if)#exit
|
Pada
router IDN-R2 :
IDN-R2(config)#int fa0/0
IDN-R2(config-if)#ip
address 19.19.19.2 255.255.255.0
IDN-R2(config-if)#no
shutdown
IDN-R2(config-if)#exit
IDN-R2(config)#int se2/0
IDN-R2(config-if)#ip
address 18.18.18.2 255.255.255.0
IDN-R2(config-if)#clockrate
64000
IDN-R2(config-if)#no
shutdown
IDN-R2(config-if)#exit
|
Pada
router IDN-MLS :
IDN-MLS(config)#int
fa0/1
IDN- MLS(config-if)#no
switchport
IDN- MLS(config-if)#ip
address 19.19.19.1 255.255.255.0
IDN- MLS(config-if)#no
shutdown
IDN- MLS(config-if)#exit
IDN- MLS(config)#int
fa0/2
IDN- MLS(config-if)#no
switchport
IDN- MLS(config-if)#ip
address 16.16.16.1 255.255.255.0
IDN- MLS(config-if)#no
shutdown
IDN- MLS(config-if)#exit
IDN- MLS(config)#int
fa0/3
IDN- MLS(config-if)#no
switchport
IDN- MLS(config-if)#ip
address 13.13.13.1 255.255.255.0
IDN- MLS(config-if)#no
shutdown
IDN- MLS(config-if)#exit
IDN- MLS(config)#int
vlan 10
IDN- MLS(config-if)#ip
address 14.14.14.1 255.255.255.0
IDN- MLS(config-if)#exit
IDN- MLS(config)#int vlan
20
IDN- MLS(config-if)#ip
address 15.15.15.1 255.255.255.0
IDN- MLS(config-if)#exit
IDN- MLS(config)#int
vlan 30
IDN- MLS(config-if)#ip
address 11.11.11.1 255.255.255.0
IDN- MLS(config-if)#exit
|
Pada
IDN-MLS :
IDN-MLS(config)#ip dhcp
pool VLAN10
IDN-MLS(dhcp-config)#network
14.14.14.0 255.255.255.0
IDN-MLS(dhcp-config)#default-router
14.14.14.1
IDN-MLS(dhcp-config)#dns-server
16.16.16.250
IDN-MLS(dhcp-config)#exit
IDN-MLS(config)#ip dhcp
pool VLAN20
IDN-MLS(dhcp-config)#network
15.15.15.0 255.255.255.0
IDN-MLS(dhcp-config)#default-router
15.15.15.1
IDN-MLS(dhcp-config)#dns-server
16.16.16.250
IDN-MLS(dhcp-config)#exit
IDN-MLS(config)#ip dhcp excluded-address 14.14.14.2 14.14.14.10 IDN-MLS(config)#ip dhcp excluded-address 15.15.15.2 15.15.15.10 |
Konfigurasi VLAN dan VTP
Pada switch IDN-MLS :
IDN-MLS(config)#vlan 10
IDN-MLS(config-vlan)#name
C1
IDN-MLS(config-vlan)#exit
IDN-MLS(config)#vlan 20
IDN-MLS(config-vlan)#name
C2
IDN-MLS(config-vlan)#exit
IDN-MLS(config)#vlan 30
IDN-MLS(config-vlan)#name
ADMINISTRATOR-IDN
IDN-MLS(config-vlan)#exit
IDN-MLS(config)#vtp mode server IDN-MLS(config)#vtp domain idn.com
IDN-MLS(config)#vtp
password 123
IDN-MLS(config)#int
range fastEthernet 0/3 - fastEthernet 0/5
IDN-MLS(config-if-range)#switchport
trunk encapsulation dot1q
IDN-MLS(config-if-range)#switchport
mode trunk
|
Pada IDN-SW2 :
IDN- SW2(config)#vtp
mode client
IDN- SW2(config)#vtp domain idn.com IDN- SW (config)#vtp password 123
IDN-SW2(config)#int
range fastEthernet 0/2 - fastEthernet 0/3
IDN-SW2(config-if-range)#switchport
mode access
IDN-SW2(config-if-range)#switchport
access vlan 30
|
Pada
IDN-SW3 :
IDN- SW3(config)#vtp
mode client
IDN- SW3(config)#vtp domain idn.com IDN- SW3(config)#vtp password 123
IDN-SW3(config)#int
fastEthernet 0/2
IDN-SW3(config-if)#switchport
mode access
IDN-SW3(config-if)#switchport
access vlan 10
IDN-SW3(config-if)#exit
IDN-SW3(config)#int
range fastEthernet 0/3 - fastEthernet 0/4
IDN-SW3(config-if-range)#switchport
mode access
IDN-SW3(config-if-range)#switchport
access vlan 20
IDN-SW3(config-if-range)#exit
|
Pada
IDN-SW4 :
IDN- SW4(config)#vtp
mode client
IDN- SW4(config)#vtp domain idn.com IDN- SW4(config)#vtp password 123
IDN-SW4(config)#int
fastEthernet 0/2
IDN-SW4(config-if)#switchport
mode access
IDN-SW4(config-if)#switchport
access vlan 10
IDN-SW4(config-if)#exit
IDN-SW4(config)#int
range fastEthernet 0/3 - fastEthernet 0/4
IDN-SW4(config-if-range)#switchport
mode access
IDN-SW4(config-if-range)#switchport
access vlan 20
IDN-SW4(config-if-range)#exit
|
Konfigurasi EIGRP :
Pada IDN-MLS
:
IDN-MLS(config)#ip
routing
IDN-MLS(config)#router
eigrp 100
IDN-MLS(config-router)#no
auto-summary
IDN-MLS(config-router)#network
14.14.14.0 0.0.0.255
IDN-MLS(config-router)#network
15.15.15.0 0.0.0.255
IDN-MLS(config-router)#network
11.11.11.0 0.0.0.255
IDN-MLS(config-router)#network
16.16.16.0 0.0.0.255
IDN-MLS(config-router)#network
19.19.19.0 0.0.0.255
IDN-MLS(config-router)#exit
|
Pada IDN-R2
:
IDN-R2(config)#router
eigrp 100
IDN-
R2(config-router)#no auto-summary
IDN-
R2(config-router)#network 19.19.19.0 0.0.0.255
IDN-
R2(config-router)#exit
|
Konfigurasi NAT :
Pada IDN-R2 :
IDN-R2(config)#ip nat
pool NAT 18.18.18.50 18.18.18.100 netmask 255.255.255.0
IDN-R2(config)#ip nat inside source list 1 pool NAT overload IDN-R2(config)# access-list 1 permit any
IDN-R2(config)#int
fastEthernet 0/0
IDN-R2(config-if)#ip nat
inside
IDN-R2(config-if)#exit
IDN-R2(config)#int
serial 2/0
IDN-R2(config-if)#ip nat
outside
IDN-R2(config-if)#exit
IDN-R2(config)#ip route
0.0.0.0 0.0.0.0 18.18.18.1
|
Pada IDN-R1 :
IDN-R1(config)#ip nat
pool NAT-INT 18.18.18.50 18.18.18.100 netmask 255.255.255.0
IDN-R1(config)#ip nat inside source list 1 pool NAT-INT overload IDN-R1(config)# access-list 1 permit any
IDN-R1(config)#int
serial 2/0
IDN-R1(config-if)#ip nat
outside
IDN-R1(config-if)#exit
IDN-R1(config)#ip route
0.0.0.0 0.0.0.0 18.18.18.1
|
Pada IDN-MLS :
IDN-MLS(config)#ip route
0.0.0.0 0.0.0.0 19.19.19.2
|
EmoticonEmoticon