Pat statico with range

Unanswered Question
Jun 20th, 2010
User Badges:

Hi


I need to do PAT static but port ranges, the only way I find to do is the following. It does not work when in the pool set up a single ip, if I set an IP range if it works.


This configuration doesn't work


ip nat pool NAME_POOL 10.10.10.100 10.10.10.100 prefix-length 30
ip nat inside source list 101 pool NAME_POOL
!
access-list 101 permit tcp host 20.20.20.20 range 4000 5000 any
access-list 101 permit udp host 20.20.20.20 range 4000 5000 any




This configuration  work ,  but I can only use a public ip.


ip nat pool NAME_POOL 10.10.10.100 10.10.10.108 prefix-length 38
ip nat inside source list 101 pool NAME_POOL
!
access-list 101 permit tcp host 20.20.20.20 range 4000 5000 any
access-list 101 permit udp host 20.20.20.20 range 4000 5000 any


Can tell me I'm doing wrong. Thank you

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion