h1

Cisco 2621 Static NAT Pool match-host example

February 28, 2011

After looking for an example for a few hours, I found two and non of them was exactly what I was looking for. Below is my configuration and it does work.

interface FastEthernet0/0
ip address 172.16.0.5 255.255.240.0
ip nat inside
ip flow ingress
duplex auto
speed auto
no cdp enable
!
interface FastEthernet0/1
ip address 172.17.0.253 255.255.240.0
ip nat outside
ip flow ingress
duplex auto
speed auto
no cdp enable
!
ip nat pool staticpool 172.17.0.1 172.17.15.254 netmask 255.255.240.0 type match-host
ip nat inside source list 1 pool staticpool
ip nat inside source static 172.16.3.21 172.17.3.21
!
no ip http server
ip flow-export source FastEthernet0/0
ip flow-export version 5
ip flow-export destination 172.16.0.99 9996
ip classless
ip route 0.0.0.0 0.0.0.0 172.17.0.254
!
!
access-list 1 permit 172.16.0.0 0.0.15.255
!
snmp-server community public RO
!
ntp clock-period 17180673
ntp server 172.16.0.27
!
end

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: