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. And see here for current known issues.

New Member

Proper setup for a DHCP static route

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
Hall of Fame Super Bronze

Proper setup for a DHCP static route

Yes, that's the correct IP Route statement.

222
Views
0
Helpful
1
Replies
CreatePlease login to create content