Lost default gateway problem with Bonded interface

Lost default gateway problem with Bonded interface

Post by bc9.. » Thu, 05 Jul 2007 22:12:34



Hi,

I'm using Debian 4.0 (etch), and i'm trying to configure network card
bonding. For some reason, about 60 seconds after bootup, the
default gateway is lost, and a new 'link-local' entry is displayed.
Does anyone know why this is happening and how I can fix it? I've
tried adding a post-up entry to add a default gateway, but this also
seems to get wiped out by the link-local.

auto bond0
iface bond0 inet static
        address 10.1.1.177
        netmask 255.255.255.0
        network 10.1.1.0
        broadcast 10.1.1.255
        gateway 10.1.1.1
        hwaddress ether <MAC>
        up ifenslave bond0 eth0 eth1
        down ifenslave -d bond0 eth0 eth1

AFTER BOOT UP:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref
Use Iface
10.1.1.0       *               255.255.255.0   U     0      0
0
bond0
default         10.1.1.1       0.0.0.0         UG    0      0
0
bond0

60 Seconds Later:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref
Use Iface
10.1.1.0       *               255.255.255.0   U     0      0
0
bond0
link-local      *               255.255.0.0     U     0      0
0 eth0

Thanks