Date: Tue, 10 Dec 2002 09:33:48 +0100 From: Ruben de Groot <fbsd-q@bzerk.org> To: Josh Brooks <user@mail.econolodgetulsa.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how do I add this route without rebooting ? Message-ID: <20021210083348.GA34702@ei.bzerk.org> In-Reply-To: <20021209235113.N77087-100000@mail.econolodgetulsa.com> References: <20021209235113.N77087-100000@mail.econolodgetulsa.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 09, 2002 at 11:57:55PM -0800, Josh Brooks typed: > > Hi, Hi [...] > ifconfig_fxp0="inet 198.78.1.1 netmask 255.255.255.248" > ifconfig_fxp1="inet 10.10.10.192 netmask 255.255.255.224" > ifconfig_fxp1_alias0="inet 10.10.20.0 netmask 255.255.255.0" > ifconfig_fxp1_alias1="inet 10.20.30.0 netmask 255.255.255.0" > static_routes="route1 route2 route3" > route_route1="10.10.10.193 198.78.1.1" > route_route2="10.10.20.1 198.78.1.1" > 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 add 10.20.30.1 198.78.1.1 > > thanks! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message 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?20021210083348.GA34702>