cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
350
Views
0
Helpful
3
Replies

Emergency NAT question

poulid
Level 1
Level 1

Hello. Is it possible to have the following entry in a nat config using pools?

ip nat pool ras 199.43.3.207 199.43.3.207 prefix-length 24

ip nat inside source list 101 pool ras overload

access-list 101 deny ip 199.43.3.206 host 198.20.10.121 log

access-list 101 permit ip any host 198.20.10.121 log

Will this nat everything going to 198.20.10.121 except 199.43.3.206? I am looking to exclude this address from natting, and have it go straight there, but nat every other subnet behind it.

3 Replies 3

mohmmad.imran
Level 1
Level 1

It is not claer wht you exctly want to achieve

AFAI can understand that you want to NAT all traffic comning from 198.20.10.0 network and and you specifically want any traffic from source 198.20.10.121 will not be natted by your router.

ip nat pool ras 199.43.3.207 199.43.3.207 prefix-length 24

ip nat inside source list 1 pool ras overload

access-list 1 deny ip 198.20.10.121

access-list 1 permit ip 192.20.10.121 0.0.0.255

Sorry to be so vague. I want traffic going to 198.20.10.121 to be natted and show up as 199.43.3.207, except if it is coming from 199.43.3.206.

Darnel,

Your configuration looks good and should achieve your task.

HTH

Sundar

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card