DHCP Option 3 (Default Gateway) in default static route

Unanswered Question
Oct 17th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
tstanik Tue, 10/23/2007 - 13:32

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.

Actions

This Discussion