Re: Changing Default Router?

2003-12-13 Thread Malcolm Kay
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 
>
> Or from scratch
>route add default 
>
> Malcolm
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

Having posted the above response to an enquiry from
Dragoncrest <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>

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

   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>
(reason: 550 5.7.1 *** We do not accept spam ***)

   - Transcript of session follows -
... while talking to b.mx.voyager.net.:
>>> MAIL From:<[EMAIL PROTECTED]>
<<< 550 5.7.1 *** We do not accept spam ***
554 5.0.0 Service unavailable
---

Mr. Dragoncrest, I find this damned insulting!

Malcolm Kay
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Default Router?

2003-12-13 Thread Malcolm Kay
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 

Or from scratch
   route add default 

Malcolm
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Changing Default Router?

2003-12-13 Thread Jez Hancock
On Sat, Dec 13, 2003 at 06:41:16PM -0500, 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.
I believe you can issue:

route add default 

The code in /etc/rc.network is a little obfuscated :P

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Changing Default Router?

2003-12-13 Thread Dragoncrest
	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.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"