Changing Default Router?
Malcolm Kay
malcolm.kay at internode.on.net
Sat Dec 13 16:25:19 PST 2003
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 where 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
Having posted the above response to an enquiry from
Dragoncrest <dragoncrest at 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 at smtp1.adl2.internode.on.net>
To: <malcolm.kay at internode.on.net>
from ppp109-47.lns1.adl1.internode.on.net [150.101.109.47]
----- The following addresses had permanent fatal errors -----
<dragoncrest at voyager.net>
(reason: 550 5.7.1 *** We do not accept spam ***)
----- Transcript of session follows -----
... while talking to b.mx.voyager.net.:
>>> MAIL From:<malcolm.kay at 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
More information about the freebsd-questions
mailing list