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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

IP NAT with DHCP

I am having a brain freeze tonight and hope someone can help. At my house I have a 2621 router that I use to connect my network to my ISP. My ISP was recently purchased by one of the big boys in the industry and they do not offer static IP addresses.

My question - How do I configure NAT to translate the source addresses to the currently assigned DHCP address on the ISP interface?

TIA

4 REPLIES

Re: IP NAT with DHCP

Been out of business for while?

This should go like:

assign ip nat inside & outside to the proper interfaces (fa0/0, dialerX?)

Then:

access-list 1 permit (inside subnet)

And apply nat with:

ip nat inside source list 1 interface (your nat-outside interface) overload

Regards,

Leo

New Member

Re: IP NAT with DHCP

yes, but with the outside IP constantly changing, is there a way to do it without having to change the outside addy everytime my ISP decides to change my IP, its a big hassle.

Gold

Re: IP NAT with DHCP

Its really command

ip nat inside source list 1 interface (your nat-outside interface) overload

Let we say that you outside interface is serial 1/0

so command is

ip nat inside source list 1 interface serial 1/0 overload

So nat statement is binded to outside interface (ser 1/0) not to outside IP

M.

New Member

Re: IP NAT with DHCP

If your outside IP address is "ip address dhcp", everything should flow OK even if addresses change. You just won't be able to access in fromt he outside.

184
Views
3
Helpful
4
Replies