Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Pat statico with range

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

125
Views
0
Helpful
0
Replies
作成コンテンツを作成するには してください