From owner-freebsd-questions Thu Nov 14 13:20: 3 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 DD2FC37B401 for ; Thu, 14 Nov 2002 13:20:01 -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 5D3FC43E75 for ; Thu, 14 Nov 2002 13:19:52 -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 gAELJfD39223; Thu, 14 Nov 2002 15:19:41 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021114151940.00e7bb18@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 15:19:40 -0600 To: Jonathan Arnold , freebsd-questions@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: Internet blocked out? In-Reply-To: <3DD3F742.7030305@buddydog.org> References: <3.0.5.32.20021114103204.010b46c8@mail.sage-one.net> <004101c28bf5$1f1bd000$0100a8c0@sun> <004101c28bf5$1f1bd000$0100a8c0@sun> <3.0.5.32.20021114103204.010b46c8@mail.sage-one.net> 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 02:19 PM 11.14.2002 -0500, Jonathan Arnold wrote: >>>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. > >Sorry, but I'm not exactly sure what you mean. Do you mean that if I set >up a router on my FreeBSD machine (the router in my rc.conf is actually from >Speakeasy.net), I could connect directly to the Internet via my NIC, and yet >somehow allow access to/from my local, 192.168.* address? > >-- >Jonathan Arnold (mailto:jdarnold@buddydog.org) >Amazing Developments http://www.buddydog.org Jonathon: Don't want to give much advice without knowing your setup, but usually the hookup would be for the connection from ISP (modem?) goes into the WAN connection of the router and then run your cable from the LAN or nearest port on the router to your hub or switch which is then hooked up to your network. Thus, you don't need but one NIC. You then use the browser to load up the setup on the router by typing in 192.168.1.1 usually. Then you can route the Internet to each of the machines from the router..... 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