Fallback default route with nexthop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm using kernel 2.4.17 (I've also tried other kernel and
iproute2 versions -- iproute2-ss001007, iproute2-ss010824)
and am trying to setup a fallback default route over ippp0,
to be used when my main adsl gateway eth0 fails.  As far as
I understand, I should be able to do this with something like:

ip route add default scope global nexthop dev eth0 nexthop dev ippp0

or

ip route add default scope global nexthop via 192.168.52.2 dev eth0 \
                                  nexthop dev ippp0

But one of the routes is always marked as being dead.

  apollo:~# ip route add default scope global nexthop dev eth0 \
                                              nexthop dev ippp0
  apollo:~# ip route list
  192.168.52.0/24 dev eth0  proto kernel  scope link  src 192.168.52.1
  62.104.208.0/24 dev ippp0  proto kernel  scope link  src 213.7.64.52
  default
          nexthop dev eth0 weight 1 dead
          nexthop dev ippp0 weight 1
  apollo:~#

Or the other way round:

  apollo:~# ip route add default scope global nexthop dev ippp0 \
                                              nexthop dev eth0
  apollo:~# ip route list
  192.168.52.0/24 dev eth0  proto kernel  scope link  src 192.168.52.1
  62.104.208.0/24 dev ippp0  proto kernel  scope link  src 213.6.14.190
  default
          nexthop dev ippp0 weight 1 dead
          nexthop dev eth0 weight 1
  apollo:~#
 
I'm using a Debian/Woody distro.

I would very much appreciate any help/suggestion, as I no longer
know what to try.

Reguards,

Robert

PS. Please CC. any replies to me, as I am not on this list.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux