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

Static NAT

michael.whittle
Level 1
Level 1

Does "ip nat inside source static" only statically map on a 1 to 1 IP basis? If I have a /16 and I want to statically NAT that to another /16 so an IP on the source /16 will map directly to "the same" IP on the NAT'ed network what is the best way of doing this? I would normally use PAT or configure a pool but in this case it has to be a 1 to 1 mapping. I've done this with a Cisco PIX but I don't think I've ever had to do this on a router before. Any ideas?

1 Accepted Solution

Accepted Solutions

keith.campbell
Level 1
Level 1

How about;

ip nat pool thuspool-1 prefix-length type match-host

so the address used from the pool would match the host part of the source address. IF your addresses lend themselves to this config ?

Else you have a lot of statics to configure.

View solution in original post

3 Replies 3

keith.campbell
Level 1
Level 1

How about;

ip nat pool thuspool-1 prefix-length type match-host

so the address used from the pool would match the host part of the source address. IF your addresses lend themselves to this config ?

Else you have a lot of statics to configure.

That looks like it will work.

Thanks.

Rather, you could use the command

ip nat inside source static network

to translate for the network.