cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1407
Views
0
Helpful
1
Replies

how to use static and dynamic nat simultaneously?

guominquan
Level 1
Level 1

hi,

I need to config static and dynamic nat simultaneously on router.But the static nat IP ranged are included dynamic nat IP leg.How do I implement it,thanks a lot.

I did it like this,but it functioned unsuccessfully.why?

ip nat pool nat 10.167.4.209 10.167.4.209 netmask 255.255.255.240

ip nat source list 1 pool nat overload

ip nat inside source static 192.168.3.13 10.167.4.211

ip nat inside source static 192.168.3.14 10.167.4.212

ip nat inside source static 192.168.3.15 10.167.4.213

ip nat inside source static 192.168.3.16 10.167.4.214

ip nat inside source static 192.168.3.26 10.167.4.220

ip nat inside source static 192.168.3.27 10.167.4.221

ip nat inside source static 192.168.3.32 10.167.4.222

!

logging 10.167.8.67

access-list 1 permit 192.168.3.0 0.0.0.255

Respects,

Minquan

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

Hi Minquan

Try this config.

router(config)# ip nat pool nat prefix-length 28

router(config-ipnat-pool)# address 10.167.4.209 10.167.4.210

router(config-ipnat-pool)# address 10.167.4.215 10.167.4.219

router(config-ipnat-pool)# address 10.167.4.223 10.167.4.223

Leave your static translations as is.

HTH

Jon

Review Cisco Networking for a $25 gift card