how to use static and dynamic nat simultaneously?

Unanswered Question
Aug 27th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jon Marshall Mon, 08/27/2007 - 19:58

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

Actions

This Discussion