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

DHCP Option 3 (Default Gateway) in default static route

An interface is configured to acquire IP address via DHCP. Option3 returned from the DHCP server is the default gateway.

An IP DHCP Pool is configured on the router with IMPORT ALL to pass clients the DNS servers included in the interface DHCP response. So we see that DHCP options can be dynamically passed to the client pool.

Here is the question, is there a way to build IP ROUTE 0.0.0.0 0.0.0.0 <DHCP OPTION 3 IP ADDRESS> ? The 851 routers will not have a dynamic routing protocol running. Prior to deployment to customer prem there is no way to know that the default static route will be, so it cannot be preconfigured.

THanks

1 REPLY
Bronze

Re: DHCP Option 3 (Default Gateway) in default static route

It is not possible to dynamically build a route on a router if there is no routing protocol running. You will have to either pre-configure the static route with the IP address or will have to run a routing protocol for this.

966
Views
0
Helpful
1
Replies