PIX - Static NAT

Mar 11, 2005 1 Replies

Hi,



I have a need to create some NAT rules. I would like to NAT various hosts on a subnet.



Say I have hosts on the 192.168.64.0/24 subnet and would like to NAT each host to 161.116.195.128/25 subnet making sure that each IP on the



192.168.64.0 network ALWAYS get NATed in with the same addresses from the NAT pool.

For example:


192.168.64.1 -> 161.116.195.129
192.168.64.2 -> 161.116.195.130

all the way though the range.



Cheers, Jo


In article , jo wrote: :Say I have hosts on the 192.168.64.0/24 subnet and would like to NAT each :host to 161.116.195.128/25 subnet making sure that each IP on the :192.168.64.0 network ALWAYS get NATed in with the same addresses from the :NAT pool.

You can't. 192.168.64.0/24 is twice as big as 161.116.195.128/25. Where would 192.168.64.128-255 get mapped to?

:192.168.64.1 -> 161.116.195.129 :192.168.64.2 -> 161.116.195.130 :all the way though the range.

static (inside, outside) 161.116.195.128 192.168.64.0 netmask 255.255.255.128

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required