Subject: no route to host on startup in 1.3
To: None <port-mac68k@NetBSD.ORG>
From: Josh Hope <otaku@unixgeek.ml.org>
List: port-mac68k
Date: 01/08/1998 00:49:04
Sorry about the cryptic topic, tried to pick one vaguely describing my
problem...
Anyways, with versions of NetBSD prior to 1.3, I always started up pppd in
single user, and then exited and let multi user boot up. This allowed
ntpdate to set the clock, etc. Now, I think this ALSO added in the lo0
(loopback) interface, which was causing me troubles earlier...
Now, however, it appears I can NOT do this in 1.3. If I try it, when it
configures network interfaces, it screws around with the ppp0 interface
for some reason, and from then on out it just refuses to work. I get "no
route to host" errors all over.
Not activating pppd in single user, and waiting for multiuser, however,
alleviates this problem. I can actually connect, and I don't get that
error. BUT I have to manually do that 'add host' command, and ntpdate
refuses to work on startup...
I know this may seem a small scruple, but it was something which worked
befre 1.3. I'd like to know what changed, and if I can fix it and go back
to the way it worked before 1.3.
ARGH! I just found out this time, that even after doing the 'add host'
command, I'm still getting that problem I had earlier...
Here's netstat -i:
[otaku@unixgeek.ml.org]% netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs
Coll
ppp0 1500 <Link> 1702 0 1044 0
0
ppp0 1500 206.183.229 otaku.users.netse 1702 0 1044 0
0
ppp1* 1500 <Link> 0 0 0 0
0
lo0 32976 <Link> 24 0 24 0
0
lo0 32976 your-net localhost 24 0 24 0
0
sl0* 296 <Link> 0 0 0 0
0
(sorry for the bad formatting)
And here's tcpdump (a few lines)
[otaku@unixgeek.ml.org]% tcpdump
tcpdump: listening on ppp0
00:44:17.697970 otaku.users.netset.com.domain >
otaku.users.netset.com.1362: 21837 1/5/5 (309)
00:44:17.719184 ts1-ASCEND.cmh.netset.com > otaku.users.netset.com: icmp:
redirect otaku.users.netset.com
to host otaku.users.netset.com
00:44:17.831197 otaku.users.netset.com.1363 >
otaku.users.netset.com.domain: 21838+ (45)
00:44:18.050430 otaku.users.netset.com.1363 >
otaku.users.netset.com.domain: 21838+ (45)
00:44:18.082169 ts1-ASCEND.cmh.netset.com > otaku.users.netset.com: icmp:
redirect otaku.users.netset.com
to host otaku.users.netset.com
As you can see, it's redirecting again, making my modem light up like a
Christmas tree. Even after doing the 'add host' command which fixed it
earlier. What's up with all this?
Thanks a lot for your continued help and patience,
Josh Hope root@unixgeek.ml.org
UNIX System Administrator http://unixgeek.ml.org
-----------------------------------------------------------------------
'Endless roll the waters past! - Lay of Leithian
To this my love hath come at last, - Lines 1220-1223
enchanted waters pitiless, By: J.R.R. Tolkien
a heartache and a loneliness.'