tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: host route out of subnet
> I am working on an issue with managing a host route to a host outside
> of the defined subnet.
My first reaction is "just point the host route to the on-subnet
gateway". But...
> We have a wiki on it here:
> http://www.netbsd.org/docs/network/#nonsubnetgateway
..."the gateway you need to route through may not be on the same subnet
as the address assigned to your network interface".
That's an utterly bizarre way to set up a network and I'm not a bit
surprised it's not well supported; indeed, I'm slightly surprised it's
even possible to kludge it as you outline. (I'm not surprised it
happens, mind you. Lots of brokenness happens.)
If I were faced by such a thing, I'd either (a) add an address to my
interface that's on-subnet for the gateway, or (b) do that once and ARP
to get the MAC, then hardwire an ARP entry for a fictitions address
that _is_ on my subnet and configure that as my gateway. I even recall
doing (b) once, though I don't recall details.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index