From owner-freebsd-hackers Mon Oct 23 14:11:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gatekeeper.veriohosting.com (gatekeeper.veriohosting.com [192.41.0.2]) by hub.freebsd.org (Postfix) with ESMTP id E8BA937B4E5; Mon, 23 Oct 2000 14:11:36 -0700 (PDT) Received: by gatekeeper.veriohosting.com; Mon, 23 Oct 2000 15:11:36 -0600 (MDT) Received: from unknown(192.168.1.7) by gatekeeper.veriohosting.com via smap (V3.1.1) id xma011364; Mon, 23 Oct 00 15:11:08 -0600 Received: from vespa.orem.iserver.com (vespa.orem.iserver.com [192.168.1.144]) by orca.orem.veriohosting.com [Verio Web Hosting, Inc. 801.437.0200] (8.8.8) id PAA18526; Mon, 23 Oct 2000 15:11:05 -0600 (MDT) Date: Mon, 23 Oct 2000 15:27:18 -0600 (MDT) From: Fred Clift X-Sender: fred@vespa.orem.iserver.com To: Marko Ruban Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: gateway on different subnet In-Reply-To: <39F49ECC.AF8CDFD2@dppl.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hm -- how about using proxy-arp style routing? If their router has has proxy-arp support turned on, then you can set yourself (ie your own IP) as the default and will arp for _all_ addreeses of _all_ remote boxes you try to connect to. Then their router sends a response to the arp-request and your box gets an apr table entry of the router (within the local ethernet-broacast realm) and will send stuff for whatever remote IP address you have. It's not the cleanest solution, but I've used it under windows, linux and hpux to get around the foolishness of a network architecture I couldn't change... I used this at an old job where I had non-contiguous IP networks in the same ethernet-broacast domain so that all the machines would find each other on the local network, and the router handled all the off-segment connections via proxy-arp. I have NOT tried this under FreeBSD as I thankfully dont work there any more (was converted to the FreeBSD religion after I left...). Alternatively, you could use an exceptionally permissive netmask so that the local box _thought_ the other IP was in the same 'network' as yours. Pretty much both achieve the same effect of putting the remote router on the 'same network' as you. Good luck. Fred > > Can't assign cable modem gateway (10.17.56.12) to interface > ed0 with assigned IP (208.59.162.242) - "network unreachable". > > I called RCN (my cable provider) and asked them to give me > a gateway on the same subnet; they said they "don't do that". ... > P.S. Alternately, how can I force the system to allow a gateway > that is on a different subnet (like windows allows that). Who > can I turn to for help ? -- Fred Clift - fclift@verio.net -- Remember: If brute force doesn't work, you're just not using enough. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message