Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2003 10:55:04 +1030
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Changing Default Router?
Message-ID:  <200312141055.04637.malcolm.kay@internode.on.net>
In-Reply-To: <200312141024.31312.malcolm.kay@internode.on.net>
References:  <5.2.0.9.2.20031213183836.02207d90@pop.voyager.net> <200312141024.31312.malcolm.kay@internode.on.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <gateway-address>
>
> Or from scratch
>    route add default <gateway-address>
>
> 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 <dragoncrest@voyager.net> 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 <MAILER-DAEMON@smtp1.adl2.internode.on.net>
To: <malcolm.kay@internode.on.net>

from ppp109-47.lns1.adl1.internode.on.net [150.101.109.47]

   ----- The following addresses had permanent fatal errors -----
<dragoncrest@voyager.net>
    (reason: 550 5.7.1 *** We do not accept spam ***)

   ----- Transcript of session follows -----
=2E.. while talking to b.mx.voyager.net.:
>>> MAIL From:<malcolm.kay@internode.on.net>
<<< 550 5.7.1 *** We do not accept spam ***
554 5.0.0 Service unavailable
-------------------------------------------------------------------------=
----------

Mr. Dragoncrest, I find this damned insulting!

Malcolm Kay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312141055.04637.malcolm.kay>