Subject: Re: Routed, anyone?
To: None <current-users@NetBSD.ORG>
From: Neil J. McRae <email@example.com>
Date: 03/08/1996 09:51:42
On Thu, 07 Mar 1996 14:44:13 -0800
Greg Earle <firstname.lastname@example.org> wrote:
> >> Why are you using anything but static routes?
> > Probably to advertise the local net to the ISP, so it knows how to
> > route to it.
> I believe the original poster only mentioned having a NetBSD box and a Mac.
> No real need to advertise a whole "local net" in this case.
Define "whole net" Anything that is more than one is a network. :-)
> Well, as Ken Horenstein just alluded to, a real easy way is to use a 2-bit
> subnet on the home machine. That means the ISP end merely has to Proxy ARP
> for your two hosts at home, and add one little static route to your other
> (non-PPP endpoint) host.
> When I set up my PPP link at home, this is precisely what I did. I chose
> .254 for my home machine address (a SPARCstation 1 clone box) and chose .253
> for our Mac Duo 230. The SPARC box uses a 255.255.255.252 netmask, whereas
> the machines at work (other end of the PPP link) use a standard 255.255.255.0
> The only downside of this is that it makes x.y.z.252 a net address by default
> and that's the address of my NetBSD box at work :-) I could move my NetBSD
> system at work to another address and resolve the problem that way; as is, I
> can work around it by deleting the net route on the SPARC machine at home
> (which gets created automatically from having the 255.255.255.252 netmask)
> and the default picks it up. I also add a host route to the Mac on the SPARC
> box side so it doesn't try to go the wrong way. The only problem with this
> workaround is that the Mac doesn't know how to delete net routes (even
> Open Transport can't), so my Mac can't directly connect to the NetBSD box at
> work. This has not proven to be a major problem in practice, however.
> This approach only requires adding 3 lines to /etc/rc.local on the remote end
> On the local end I use 1 route add default, 2 route delete nets and 2 route
> add host commands to work around the above circumstances. Works great for me
Yes, this is exactly what I was try to get over :-) Thanks Greg.
Neil J. McRae DNS: Domino Network Services
email@example.com NetBSD/sparc: 100% SpF (Solaris protection Factor)
Free the daemon in your computer!