From owner-freebsd-questions Mon Dec 16 11:40: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F71C37B401 for ; Mon, 16 Dec 2002 11:40:03 -0800 (PST) Received: from smtp.melim.com.br (aririba.melim.com.br [200.215.110.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80BB143EA9 for ; Mon, 16 Dec 2002 11:40:01 -0800 (PST) (envelope-from ronan@melim.com.br) Received: from fazendinha (ressacada.melim.com.br [200.215.110.4]) by smtp.melim.com.br (Postfix) with SMTP id 778DBFD9D; Mon, 16 Dec 2002 17:38:32 -0200 (EDT) Message-ID: <02e601c2a53b$040846e0$34a8a8c0@melim.com.br> From: "Ronan Lucio" To: "J. W. Ballantine" , References: <3DFE283C.8EB7279B@homer.att.com> Subject: Re: gateway on different subnet Date: Mon, 16 Dec 2002 17:40:40 -0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here, we have a FreeBSD box connected to a cable modem. I just put: ifconfig_fxp0="DHCP" in /etc/rc.conf file Defualt gateway is passed automatcly to FreeBSD box from the DHCP Server. Ronan > Hi, > > In order to save the internet address space, my cable co has setup their > network with a live address for my > PC but an address on a private 10.0.0.0 network for the cable modem. > Now of course, this is also the > gateway and dhcp server. The problem is trying to get FreeBSD to use > this private address as the gateway for > the live address. This config works for windows and they claim mac > OS, but I can't get it to work for FreeBSD. I've tried ifconfig > default, but that returns NO ROUTE TO HOST, and I've thougth about using > an alias on the > NIC, but that would send it out with the private network address and not > be able to find its way home. > > Any of you network wizards out there have the proper spell to get this > working??? > > Thanks > > Jim Ballantine > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message