*BSD News Article 80475


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!news.mathworks.com!uunet!in3.uu.net!venus.os.com!ppp4-os-gw.os.com!user
From: craigs@os.com (Craig Shrimpton)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Please help - my gated is non-functional
Date: Sat, 12 Oct 1996 02:24:43 -0400
Organization: Orbit Systems
Lines: 66
Message-ID: <craigs-1210960224430001@ppp4-os-gw.os.com>
NNTP-Posting-Host: titan.os.com

Folks,

I had to reinstall my system after a crash.  I had most everything saved
except for my gated.conf file.  Now I'm stuck and I can't tell if it's me
or gated!  Gated is shutting down perfectly good routes and I don't know
why.  Here is the info:

FreeBSD 2.1.5-RELEASE
GateD from packages.

machine has two cards, one of the cards has an alias created like so: 
ifconfig de1 inet 199.232.137.65 mask 255.255.255.192 alias

Gated is running with this config:

ospf yes {
backbone {
        networks {
                199.232.136.0 mask 255.255.255.0;
                199.232.137.0 mask 255.255.255.0;
        };
        interface de0;
};
};

export proto ospfase {
        proto direct {
                199.232.136.160 mask 255.255.255.224;
                199.232.137.0 mask 255.255.255.0;
        };
};

All routing and networking is fine right after I start gated.  However
after a couple of mins. gated shuts down the two routes on de1.  That
ofcourse kills the broadcasts on de0 which leads to the internet.  

Here are the log entries:

Oct 12 01:14:55 gatekeeper gated[177]: Commence routing updates
Oct 12 01:14:55 gatekeeper gated[177]: task_set_option: task OSPF socket 10 opti
on GroupAdd(10) interface 199.232.137.65(de1) group 224.0.0.5: Address already i
n use
Oct 12 01:14:55 gatekeeper gated[177]: task_set_option: task INET socket 8 optio
n GroupAdd(10) interface 199.232.137.65(de1) group 224.0.0.2: Address already in
 use
Oct 12 01:14:55 gatekeeper gated[177]: task_set_option: task RIP.0.0.0.0+520 soc
ket 11 option GroupAdd(10) interface 199.232.137.65(de1) group 224.0.0.9: Addres
s already in use
Oct 12 01:17:55 gatekeeper gated[177]: if_rtdown: DOWN route for interface de1 1
99.232.136.161/255.255.255.224
Oct 12 01:17:55 gatekeeper gated[177]: if_rtdown: DOWN route for interface de1 1
99.232.137.65/255.255.255.192


The Address already in use entry puzzles me.  That address is the alias
address and everything worked perfectly on the previous install until the
disk fried.

What bugs me is that everything works great for the first two mins.  All
routes are propagated as required.  Then it drops the routes on de1. 

Any ideas?

Thanks,

Craig