Subject: routed (?) problems
To: None <current-users@NetBSD.ORG>
From: Iain Hibbert <plunky@skate.demon.co.uk>
List: current-users
Date: 01/02/1997 23:13:40
Hiyall, just upgraded to -current (from way back), and all seems well
except..  routed is playing up;  when I connect up with pppd, I have
defaultroute in my options file but pppd/routed won't make the defaultroute.. 
pppd tries, but this pops up in the log.. 

Jan  2 22:16:57 skate routed[359]: IP_ADD_MEMBERSHIP ALLHOSTS: Can't assign requested address
Jan  2 22:16:57 skate routed[359]: setsockopt(IP_ADD_MEMBERSHIP RIP): Can't assign requested address

I looked at that bit of source, but its all gibberish to me..  I can add 
the route manually with "route add default [..]" and it does work if I 
add it to the ip-up file too..

when taking down the link, I get some more error messages;

Jan  2 22:17:21 skate pppd[397]: Couldn't delete default route: No such process
Jan  2 22:17:21 skate routed[359]: interface ppp0 to 158.152.30.152 turned off
Jan  2 22:17:23 skate pppd[397]: Couldn't delete default route: No such process

I guess some of that relates to there being no default route to take away
when it closes, but I'm at a loss to fix it..  in my ip-down script, I do an
"ifconfig ppp0 inet skate demon-du" to keep skate on an interface so that I
can use the name/IP address to connect locally when offline, and that used to
set up the route automatically but no longer.. 

have I missed something?  (well, obviously I have I guess, but what?)

iain