cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
483
Views
3
Helpful
4
Replies

IP NAT with DHCP

bs6825
Level 1
Level 1

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 4

lgijssel
Level 9
Level 9

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

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.

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.

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.