From owner-freebsd-questions Wed Oct 30 1:17:14 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 3128537B401 for ; Wed, 30 Oct 2002 01:17:13 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4146C43E91 for ; Wed, 30 Oct 2002 01:17:12 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g9U9H7Lf050296 for ; Wed, 30 Oct 2002 09:17:07 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g9U9H2IZ050295 for questions@FreeBSD.ORG; Wed, 30 Oct 2002 09:17:02 GMT Date: Wed, 30 Oct 2002 09:17:02 +0000 From: Matthew Seaman To: questions@FreeBSD.ORG Subject: Re: Can't connect to DNS servers -- Firewall prob? Message-ID: <20021030091702.GD49354@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-13.9 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.41 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 On Wed, Oct 30, 2002 at 08:55:55AM +0000, C KH wrote: > >What you want is the "defaultrouter" -- That tells the system where > >packets should be directed that aren't for the local LAN. (IE: anything > >not in 192.168.x.x) > > > >in rc.conf, add: > >defaultrouter="0.0.0.0" > > > >change 0.0.0.0 to point to the SMC Router's IP (It's acting as a "gateway" > >for your network, if you check the setup of your other systems you'll > >probably find that their default routes/gateway are pointing to this > >router. > > > I added that link to /etc/rc.conf. Is there a way to reload this file > without rebooting? Just run: route add default 12.34.56.78 obviously substituting the Router's IP... There isn't any general way of applying changes in /etc/rc.conf to a running system. You either have to work out what the commands are that the rc.conf variables affect and run them by hand, or reboot. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message