Date: Mon, 23 Oct 2000 15:14:54 -0700 (MST) From: Les Biffle <les@ns3.safety.net> To: fclift@verio.net (Fred Clift) Cc: marko@dppl.com (Marko Ruban), freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: gateway on different subnet Message-ID: <200010232214.PAA14556@ns3.safety.net> In-Reply-To: <Pine.BSF.4.21.0010231520020.11422-100000@vespa.orem.iserver.com> from Fred Clift at "Oct 23, 2000 03:27:18 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> Hm -- how about using proxy-arp style routing? Here's what I've done in the past: 1. Have a friend out in the net ping your address 208.59.162.242 2. Run tcpdump and look for someone ARPing for you. That someone will very likely be your default gateway as seen from your site. If that router is in your subnet, set your default to it and you're done. If not, continue at the next step. 3. Pick an IP Address in your cable subnet that feels like a really good router address to you. Make something up. 208.59.162.1 perhaps? 4. Use "arp -s 208.59.162.1 xx:xx:xx:xx:xx:xx" to install an arp entry in your route table for this made-up address. That will keep you from ARPing for 208.59.162.1 and discovering the device that really owns that address. 5. Set your default gateway to 208.59.162.1. Good luck, -Les -- Les Biffle Community Service... Just Say NO! (480) 778-0177 les@safety.net http://www.networksafety.com/ Network Safety, 7802 E Gray Rd Ste 500, Scottsdale, AZ 85260 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010232214.PAA14556>