Configure static route on the remote router stating where public addresses should be routed.
Remote>ena
Remote#
Remote(config)#ip route 203.189.XX.1 255.255.255.255.128 s1/0
Define a pool of usable public IP addresses on your router that will perform NAT.
local(config)#ip nat pool NAT 203.189.XX.2 203.18.XX.125 netmask 255.255.255.128
Name of pool is NAT (Any name will do)
Start of pool is 203.189.XX.2
End of pool is 203.189.XX.125
Subnet mask is 255.255.255.128
Create an ACL that will identify which private IP addresses will be translated.
local(config)#access-list 99 permit 192.168.0.10 0.0.0.255
Link the (ACL) to the pool of addresses.
local(config)#ip nat inside source list 99 pool NAT
ACL 99:Source of Of the Private Addresses
NAT:Named of pool of avialable public address
Define which interfaces are inside (Private Network)
local(config)#int fa 1/0
local(config-if)#ip nat inside
Define the outside interface (Public Network)
local(config)#int s 1/0
local(config-if)#ip nat outside
Tuesday, February 19, 2008
Dynamic NAT:1 is to 1 Public to Private translation
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment