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

4331 Router WAN DHCP Issue

Alex Pfeil
Level 7
Level 7

Are there any issues with NAT and getting an IP address on an outside interface?

 

Thanks,

Alex

3 Replies 3

Hello,

 

if you get a dynamic IP address, use the interface for overloading:

 

interface GigabitEthernet0/0/0

ip address dhcp

ip nat outside

!

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

I was looking more for a caveat or issue with renewing the IP address.  An example would be that we have a permit ip any any, do we need to specifically deny the DHCP address from NAT?

 

Thanks,

 

Alex

Hello,

 

to 'permit ip any any' is usually not a good idea. Specify the local networks you want to have translated.

With regard to DHCP, for WAN connections this is not a problem, as ISPs usually provide infinite leases.

Make sure your default route specifies 'dhcp':

 

ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0 dhcp