NAT ( NETWORK ADDRESS TRANSLATION )


KONFIGURASI NAT( NETWORK ADDRESS TRANSLATION )


Topologi


KONFIGURASI

ROUTER1


Router>en
Router#configure terminal
Router(config)#int fa0/0
Router(config-if)#ip address 200.200.200.10 255.255.255.240
Router(config)#interface fastEthernet0/0
Router(config-if)#no sh
Router(config-if)#ex
Router(config)#interface fastEthernet0/1
Router(config-if)#ip address 20.20.20.1 255.255.255.0
Router(config-if)#no sh

 ROUTER0


Router>en
Router#configure terminal
Router(config)#interface fastEthernet0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#ex
Router(config)#interface fastEthernet0/1
Router(config-if)#ip address 200.200.200.1 255.255.255.240
Router(config-if)#no sh
Router(config)#access-list 1 permit ?
A.B.C.D Address to match
any Any source host
host A single host address
Router(config)#access-list 1 permit 192.168.1.0 0.0.0.255
Router(config)#ip nat pool LAN 200.200.200.2 200.200.200.9 netmask 255.255.255.240
Router(config)#ip nat inside source list 1 pool LAN overload ?
<cr>
Router(config)#ip nat inside source list 1 pool LAN overload
Router(config)#interface fastEthernet0/0
Router(config-if)#ip nat inside
Router(config-if)#ex
Router(config)#interface fastEthernet0/1
Router(config-if)#ip nat outside
Router(config-if)#ex
Router(config)#ip route 0.0.0.0 0.0.0.0 fa
Router(config)#ip route 0.0.0.0 0.0.0.0 fastEthernet0/1

VERIFIKASI DARI ROUTER KE SERVER DI ROUTER 0
Router(config)#do ping 20.20.20.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 20.20.20.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/3/10 ms

IP PC 

IP SERVER 

Untuk cek hasil tinggal kirim pesan 


 

Subscribe to receive free email updates:

0 Response to "NAT ( NETWORK ADDRESS TRANSLATION )"

Post a Comment