From owner-freebsd-questions Mon Oct 23 15:15: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ns3.safety.net (ns3.safety.net [216.200.162.38]) by hub.freebsd.org (Postfix) with ESMTP id CE30337B4C5; Mon, 23 Oct 2000 15:14:57 -0700 (PDT) Received: (from les@localhost) by ns3.safety.net (8.9.3/8.9.3) id PAA14556; Mon, 23 Oct 2000 15:14:54 -0700 (MST) (envelope-from les) From: Les Biffle Message-Id: <200010232214.PAA14556@ns3.safety.net> Subject: Re: gateway on different subnet In-Reply-To: from Fred Clift at "Oct 23, 2000 03:27:18 pm" To: fclift@verio.net (Fred Clift) Date: Mon, 23 Oct 2000 15:14:54 -0700 (MST) Cc: marko@dppl.com (Marko Ruban), freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Reply-To: les@safety.net X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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