From owner-freebsd-questions@FreeBSD.ORG Sat Dec 13 16:25:19 2003 Return-Path: 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 CEA0616A4CE for ; Sat, 13 Dec 2003 16:25:19 -0800 (PST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id A809343D41 for ; Sat, 13 Dec 2003 16:25:06 -0800 (PST) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp109-47.lns1.adl1.internode.on.net [150.101.109.47])hBE0P5dj000190 for ; Sun, 14 Dec 2003 10:55:05 +1030 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: freebsd-questions@freebsd.org Date: Sun, 14 Dec 2003 10:55:04 +1030 User-Agent: KMail/1.4.3 References: <5.2.0.9.2.20031213183836.02207d90@pop.voyager.net> <200312141024.31312.malcolm.kay@internode.on.net> In-Reply-To: <200312141024.31312.malcolm.kay@internode.on.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200312141055.04637.malcolm.kay@internode.on.net> Subject: Re: Changing Default Router? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2003 00:25:19 -0000 On Sun, 14 Dec 2003 10:24, Malcolm Kay wrote: > On Sun, 14 Dec 2003 10:11, Dragoncrest wrote: > > HI all. How do I change the default router (aka gateway) in freebsd > > without rebooting? I know I can change the IP, subnet mask, and > > broadcast address through ifconfig, but I couldn't find in there wher= e I > > could change the default router. Anyone know? Thanks. > > The relevant command is 'route'. Take a look at route(8). > > I think you want: > route change default > > Or from scratch > route add default > > Malcolm > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Having posted the above response to an enquiry from Dragoncrest to that address (and freebsd-questions) I received the following response:- -------------------------------------------------------------------------= -------- Returned mail: see transcript for details Date: Sun, 14 Dec 2003 10:24:37 +1030 (CST) From: Mail Delivery Subsystem To: from ppp109-47.lns1.adl1.internode.on.net [150.101.109.47] ----- The following addresses had permanent fatal errors ----- (reason: 550 5.7.1 *** We do not accept spam ***) ----- Transcript of session follows ----- =2E.. while talking to b.mx.voyager.net.: >>> MAIL From: <<< 550 5.7.1 *** We do not accept spam *** 554 5.0.0 Service unavailable -------------------------------------------------------------------------= ---------- Mr. Dragoncrest, I find this damned insulting! Malcolm Kay