Subject: icmp redirects
To: None <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 04/17/2000 17:34:31
i see routes in my routing table like this:
22.214.171.124 126.96.36.199 UGHD 0 46447 - ne0
which looks like
% route -nv get 188.8.131.52
u: inet 184.108.40.206; u: link ; RTM_GET: Report Metrics: len 112, pid: 0, seq 1, errno 0, flags:<UP,GATEWAY,HOST,STATIC>
route to: 220.127.116.11
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
0 0 0 2172 219 0 0 0
18.104.22.168 22.214.171.124 ne0:0.40.f6.34.3e.bd 126.96.36.199
which are obviously a result of my machine sending packets to the
default gateway and then being told that a better gateway exists.
the problem is that the expire field is set to 0.
when i changed this, so that the gateway to 188.8.131.52/24 was another
machine, the netbsd box doesn't pick up the change until i actually
physically remove the route. which i guess makes sense, since there's
no way for it to discover the new route, and no way for the route to
but i thought it should time out. i breezed through all the rfcs i
could find on icmp and host requirements and anything else that seemed
related, but i couldn't find anything anywhere that said it should
time out. so i guess it's right that it doesn't.
but why? dynamic routes like that seem like the kind of thing that
should time out, simply because they're called "dynamic routes".
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."