Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Addressing for interface with NAT

Hello,

I've got a quick one... On a PIX, does NAT require one of the interfaces to to have an IP with the subnet of the global address?

For example... If 5.5.5.0/24 is my global nat, will this require one of my interfaces to be configured with the 5.5.5/24 subnet?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Addressing for interface with NAT

No, but it should be routable. This means that you need to have an inside router that handles the routing and you have configured an inside route to that router.

example:

ip address inside 1.1.1.1 255.255.255.0

nat (inside) 1 5.5.5.0 255.255.255.0

nat (inside) 1 1.1.1.0 255.255.255.0

route inside 5.5.5.0 255.255.255.0 1.1.1.2

route outside 0.0.0.0 0.0.0.0 RouterPubIP

sincerely

Patrick

1 REPLY

Re: Addressing for interface with NAT

No, but it should be routable. This means that you need to have an inside router that handles the routing and you have configured an inside route to that router.

example:

ip address inside 1.1.1.1 255.255.255.0

nat (inside) 1 5.5.5.0 255.255.255.0

nat (inside) 1 1.1.1.0 255.255.255.0

route inside 5.5.5.0 255.255.255.0 1.1.1.2

route outside 0.0.0.0 0.0.0.0 RouterPubIP

sincerely

Patrick

99
Views
0
Helpful
1
Replies
CreatePlease to create content