Stephen R. van den Berg wrote:
>If I start either the 3.5.10-Alexey990307 or 3.5.11-Alexey990307 gated
>versions, it starts up just fine, goes through the init, startex,
>exchange, load and full phases, but then, at the peak (just after it
>has installed a boatload of routes in the kernel it has received
>from the other OSPF peers), it detects a sequence mismatch and
>returns to ExStart which repeats the whole trip (over and over again).
Judging from the (low) number of reponses, this problem didn't ring any bells
for anyone. Anyway, just in case someone happens to run into it (or
just in case it is a fixable malfunction of gated), here's the scoop:
I finally solved the problem. It turned out that since I was using
IP-aliasing on a 2.2 Linux kernel, gated got confused about the IP-address
to use as the source for the routing packets.
Basically, I have 10.0.0.1 bound to eth0, and 192.168.0.1 bound to eth0:0.
In Linux 2.0 this means that whenever I say that gated has to accept/send
OSPF packets on eth0, it will only bind to 10.0.0.1 and use that to communicate
with its peers.
In Linux 2.2 the kernel most of the time suppresses the fact that 192.168.0.1
is actually bound to eth0:0, instead it will simply report a mere eth0 in
many views. Gated therefore occasionally tries to start OSPF negotiations
using 192.168.0.1 instead of 10.0.0.1. This then messes up the state
machine at the other routers' ends and causes them to reinitiate the
negotiations.
I now changed the gated.conf to bind to an IP address instead of a device
name and all is well.
Maybe gated could/should be taught to use the proper IP source address based
on the address of the target and the alias-device that provides the best fit?
--
Sincerely, [EMAIL PROTECTED]
Stephen R. van den Berg (AKA BuGless).
Stewardess: "Tonight's menu: chicken in a red sauce, or beef in a brown gravy.
Because we don't stock 100% of each, please have a second choice in mind."
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]