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

DHCP Option 3 (Default Gateway) in default static route

rwandreas
Level 1
Level 1

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 1

tstanik
Level 5
Level 5

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card