Serious divide by zero going on in my head.  Need some helps.

To reproduce on OpenBSD 4.6:

openbsd box A em0 <----> em0 openbsd box B (lo1 192.168.13.1/32)

boxA# ifconfig em0 192.168.0.1/24
boxB# ifconfig em0 192.168.0.2/24
boxB# ifconfig lo1 192.168.13.1/32
boxA# route add 192.168.13.0/24 192.168.0.2
boxB# nc -l 1234
boxA# telnet 192.168.13.1 1234
<type something on boxA watch it show up on boxB>
boxA# route delete 192.168.13.0/24
<type something again on boxA into telnet>
boxA# route add 192.168.13.0/24 192.168.0.2

When what you typed shows up on boxB
boxAs routing table will have this dynamic entry:
<snip>
 192.168.13.1        192.168.0.2        UGHD       1        1     - L  56 em0
<snip>

I've sniffed for icmp packets, found none.
I've done route -n monitor, no messages sent.
I'm not running any router daemons.
No default routes setup. Plain jane routing table.

sysctl is set on both the boxes to:
net.inet.ip.redirect=0
net.inet.icmp.rediraccept=0

There's something happening when some retry timer goes off and it
allocates the route again but I can't figure it out.

I don't want the route.  Help please.  Shed some light in this dark
corner o'mine.

dmo

Reply via email to