cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
467
Views
0
Helpful
1
Replies

Proper setup for a DHCP static route

GeneBeamer
Level 1
Level 1

Recently Comcast made some changes over here on the East coast and since then my Internet connection just stops working. I am at about once every other day. 

Here is my current config for the Outside interface of my 2800 series router.

interface GigabitEthernet0/0

description Connected to the Internet

ip dhcp client client-id Loopback0

ip address dhcp

ip access-group 102 in

no ip redirects

no ip unreachables

no ip proxy-arp

ip nat outside

ip inspect SDM_LOW out

ip virtual-reassembly

ip route-cache flow

duplex auto

speed auto

no cdp enable

My static route is now set to this

ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0 dhcp

What I do to fix the issue is shut/no shut on the gig0/0 port.  

Is this the correct setup for a DHCP style internet connection? I know that you want to set the static route to the next hop address IF you can, but for me that address could change, so I believe the DHCP command takes care of any arp issues that I would have with the static route using my outside interface.  

1 Reply 1

Edison Ortiz
Hall of Fame
Hall of Fame

Yes, that's the correct IP Route statement.