From owner-freebsd-chat Fri Apr 19 18:46: 8 2002 Delivered-To: freebsd-chat@freebsd.org Received: from draco.over-yonder.net (draco.over-yonder.net [198.78.58.61]) by hub.freebsd.org (Postfix) with ESMTP id 17CC737B404 for ; Fri, 19 Apr 2002 18:46:05 -0700 (PDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id A9810FC2; Fri, 19 Apr 2002 20:46:04 -0500 (CDT) Date: Fri, 19 Apr 2002 20:46:04 -0500 From: "Matthew D. Fuller" To: Brett Glass Cc: chat@freebsd.org Subject: Re: How to control address used by INADDR_ANY? Message-ID: <20020419204604.K75155@over-yonder.net> References: <4.3.2.7.2.20020419144005.0358c610@nospam.lariat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5-fullermd.1i In-Reply-To: <4.3.2.7.2.20020419144005.0358c610@nospam.lariat.org>; from brett@lariat.org on Fri, Apr 19, 2002 at 02:53:18PM -0600 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Apr 19, 2002 at 02:53:18PM -0600 I heard the voice of Brett Glass, and lo! it spake thus: > I'm in the process of creating a router which will sit on an ISP's > internal subnet, which uses unregistered addresses. The router's upstream > interface will have an unregistered address, say, 10.X.Y.Z. Its > downstream interfaces will have registered IPs, so it will look like this: > > _A.B.C.1 -> feeds > A.B.C.0/25 > 10.X.Y.Z / > ISP and Internet ------[Router]\_A.B.D.1 -> feeds A.B.D.0/26 > 10.X.Y/24 etc. So cheat, like I do. My router has its "real" address on both ed0 and tun0. Not exactly pretty, but it keeps on chugging. It accomplishes the same thing as having a serial port on a Cisco be "ip unnumbered e0" or the like. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Unix Systems Administrator | fullermd@futuresouth.com Specializing in FreeBSD | http://www.over-yonder.net/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message