Building Network Automation Solutions
6 week online course starting in September 2017

Install default route with PPP

In my home office, I'm using DSL access to the Internet with ISDN backup to another ISP, as shown on the next figure:

Obviously, I would like the ISDN backup to kick in whenever the primary connection goes down; two static default routes and reliable static routing on the primary default seem like a perfect solution.

However, as I'm using PPP encapsulation on the primary connection, there's another option: PPP can insert a dynamic default route whenever IPCP negotiations succeed (and remove it when the line protocol goes down). To configure this feature (introduced in IOS releases 12.3(11)T and 12.4), use the ppp ipcp route default interface configuration command on the primary dialer interface.

GW#show ip route | begin Gateway
Gateway of last resort is to network is subnetted, 2 subnets
C is directly connected, Serial1/0
C is directly connected, Serial1/0 is subnetted, 1 subnets
C is directly connected, FastEthernet0/0
S* [1/0] via

Contrary to the DHCP-installed default route, the PPP-installed default route has administrative distance 1 (and is thus impossible to override)


  1. You have right but it doesn't works if I have ethernet as WAN interface. I mean clean ethernet, without pppoe.
    Reliable static routing helps in this case.

  2. Hm.. interesting, thx Ivan, I'll test it out with my PPPoE connection

  3. Also ran into an issue at home where CEF would not work if a static default route to the dialer interface was used. I changed

    ip route Dialer0


    interface Dialer0
    ppp ipcp route default

    and cpu usage dropped a lot

  4. Hello friends, Ivan, you are very intelligent.

    I have a question, Is it good if I use the static default route ip route Dialer0. Istead of ppp ipcp route default?


    1. As always, it depends on what you're trying to do. If you want the default route to always point to Dialer0, then your solution works perfectly.


You don't have to log in to post a comment, but please do provide your real name/URL. Anonymous comments might get deleted.