Subject: Re: NetBSD-based repeater
To: None <email@example.com>
From: Chris Jones <firstname.lastname@example.org>
Date: 02/12/1999 09:31:54
So, in case any of you are interested in how this played out, the IT
group has decided that we are, in fact, worthy of our own subnet.
However, before I found this out, I got halfway to solving the
126.96.36.199 188.8.131.52 184.108.40.206 220.127.116.11
The netmask is supposed to be 255.255.255.0.
In order to get heimdall to talk to both gwy and hideo, I had to do
# ifconfig de0 inet 18.104.22.168 netmask 255.255.255.0
# route add default gwy
# ping -c 1 gwy ; arp gwy
# route add -host gwy -link <ether of gwy> -llinfo -iface
# ifconfig de0 delete 22.214.171.124
# ifconfig de1 inet 126.96.36.199 netmask 255.255.255.0
# ping -c 1 hideo ; arp hideo
# route add -host hideo -link <ether of hideo> -llinfo -iface
# ifconfig de1 delete 188.8.131.52
# ifconfig de0 inet 184.108.40.206 netmask 255.255.255.255
# ifconfig de1 inet 220.127.116.11 netmask 255.255.255.255
...I think that's all right. Anyway, I could only have both
interfaces up at the same time if they had very small subnet masks --
I suppose that's very logical, in retrospect. The trick was that, if
you have 18.104.22.168/32 configured, you can't add a route to 22.214.171.124
through that interface, even if the route includes a link-level
address. But, if you put the route in there while the interface is
configured as 126.96.36.199/24, then it's legal. If you tell it to be a
permanent route, it'll stay there, even if you delete that address
from that interface.
Really a gross hack, and I'm glad I'll be able to set up a real
The next step would have been to get the arpd that a couple of people
mentioned, which should be able to do sufficiently sophisticated
proxy-ARP stuff to let these machines ARP each other. The final step
would have been to get ipf installed on heimdall, using the fastroute
stuff to forward between the two interfaces.
Thanks for all your help, everybody!
Chris Jones email@example.com
Mad scientist at large firstname.lastname@example.org
"Is this going to be a stand-up programming session, sir, or another bug hunt?"