Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2002 09:50:16 +0100
From:      Norbert Koch <viteno@t-online.de>
To:        Josh Brooks <user@mail.econolodgetulsa.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how do I add this route without rebooting ?
Message-ID:  <vzy96x3po7.fsf@viteno.dyns.net>
In-Reply-To: <20021209235113.N77087-100000@mail.econolodgetulsa.com> (Josh Brooks's message of "Mon, 9 Dec 2002 23:57:55 -0800 (PST)")
References:  <20021209235113.N77087-100000@mail.econolodgetulsa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Josh Brooks <user@mail.econolodgetulsa.com> writes:

[...]
> route_route3="10.20.30.1 198.78.1.1"
>
> So i have added another alias, and another route.  Now, here's the
> question - in the past when I have done this, I have just rebooted the
> machine and let these settings in rc.conf do everything.  This time,
> however I cannot reboot - I need to stay up and running.  So, I add the
> new IP with:
>
> ifconfig fxp1 alias 10.20.30.0 netmask 255.255.255.0
>
> but what is the command to do what I have listed above for rc.conf for
> adding the third static route ?

route(8) comes to mind, maybe

route add 10.20.30.2 198.78.1.1

norbert.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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