cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1718
Views
10
Helpful
4
Replies

871 wan DHCP

iosolutions1
Level 1
Level 1

I'm setting up a cisco 871 Router.

I set the wan port to recieve a DHCP address from the ISP as follows:

interface FastEthernet4

ip address dhcp client-id FastEthernet4

Sorry for the stupid question, but, what do i need to put in this situation on my default-route 0.0.0.0 ?

Thanx,

     Roee

1 Accepted Solution

Accepted Solutions

Hi Paolo,

By default  this route has an AD of 254 and putting the command I suggested gives it an AD of 1 like any other static route

so it really depends if the OP wants the default route to have an AD of 1 or leave the default of 254 . In my opinion it's best to have an AD of 1 and also to see the static route in the running config but it's only a personal choice.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

4 Replies 4

cadet alain
VIP Alumni
VIP Alumni

Hi,

ip route 0.0.0.0  0.0.0.0 dhcp

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

paolo bevilacqua
Hall of Fame
Hall of Fame

No, dhcp default route is installed automatically.

Hi Paolo,

By default  this route has an AD of 254 and putting the command I suggested gives it an AD of 1 like any other static route

so it really depends if the OP wants the default route to have an AD of 1 or leave the default of 254 . In my opinion it's best to have an AD of 1 and also to see the static route in the running config but it's only a personal choice.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Hi Alain,

It took a while till I could check it but it works.

Thanx ! 

Roee

Review Cisco Networking products for a $25 gift card