From owner-freebsd-questions Thu Nov 14 8:32:28 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 4AD3637B401 for ; Thu, 14 Nov 2002 08:32:27 -0800 (PST) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 433CE43E75 for ; Thu, 14 Nov 2002 08:32:20 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id gAEGW5D35891; Thu, 14 Nov 2002 10:32:07 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021114103204.010b46c8@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 14 Nov 2002 10:32:04 -0600 To: Jonathan Arnold , questions@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: Internet blocked out? In-Reply-To: <3DD3C889.7000304@buddydog.org> References: <004101c28bf5$1f1bd000$0100a8c0@sun> <004101c28bf5$1f1bd000$0100a8c0@sun> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 11:00 AM 11.14.2002 -0500, Jonathan Arnold wrote: >> [rc.conf] >> ppp_nat=YES > >Thanks for the idea, but I don't use PPP and, according to the rc.conf >in /etc/default, this is the default setting anyway. > >I've got it fixed, sort of. My machine has two NICs (one to the world and >one to my internal network). It seems the NIC that all the servers are >using is the internal one now, although up until this latest upgrade, it >had been the one to the outside world. Here's my rc.conf lines: > >ifconfig_dc0="inet 66.92.76.224 netmask 255.255.255.0" >ifconfig_dc1="DHCP" >defaultrouter="66.92.76.1" >hostname="amazingdev.com" > >If I comment out the ifconfig_dc1 line, all is well. It is DHCP because >I have a Linksys router on my internal network, so it picks up the >192.168.* address just fine if it is in there. How can I get it so that >the "default" NIC is the 66.92 one, not the 192.168 one? I tried >switching the order of the lines in rc.conf but that doesn't help. > It's my understand that if you have the router, you sould not have the second NIC installed. You need to route using the router setup.... methinks. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message