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

NAT behind a subnet

kope
Level 1
Level 1

i have a network as attached.

i am translating 192.168.1.0/24 to one single public address on the NAT router. this works fine. But, i am now adding a PIX firewall behind the router. and my servers is now on the 192.168.2.0/24 subnet.

How do i make NAT working under this case? i am having trouble to do just a static NAT on the server since it is not direct connect to the router; and i am using the router to perform NAT.

3 Replies 3

kope
Level 1
Level 1

attach as shown

Jon Marshall
Hall of Fame
Hall of Fame

Hi

If you still want to do the NAT on the router you need to do a nat exemption for the server traffic on the pix.

Easiest thing to do would be

static (inside,outside) 192.168.2.0 192.168.2.0 netmask 255.255.255.0

or

nat (inside) 0 192.168.2.0 255.255.255.0

This will mean all packets from 192.168.2.x servers will be left unnatted till they get to you router.

You will obviously need to update your NAT statements on the router to reflect the change in subnet from 192.168.1.x to 192.168.2.x.

If you don't want to NAT any traffic from inside your pix for any subnet you could just do

nat (inside) 0 0.0.0.0 0.0.0.0

HTH

Jon

a.alekseev
Level 7
Level 7

Is it possible to ask your ISP for some additionals ip addresses?