From owner-freebsd-questions Tue Dec 10 0:32:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7A5437B401 for ; Tue, 10 Dec 2002 00:32:33 -0800 (PST) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 677DD43EC2 for ; Tue, 10 Dec 2002 00:32:29 -0800 (PST) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.6/8.12.6) with ESMTP id gBA8XmmW034780; Tue, 10 Dec 2002 09:33:48 +0100 (CET) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.6/8.12.6/Submit) id gBA8XmXT034779; Tue, 10 Dec 2002 09:33:48 +0100 (CET) Date: Tue, 10 Dec 2002 09:33:48 +0100 From: Ruben de Groot To: Josh Brooks Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how do I add this route without rebooting ? Message-ID: <20021210083348.GA34702@ei.bzerk.org> References: <20021209235113.N77087-100000@mail.econolodgetulsa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021209235113.N77087-100000@mail.econolodgetulsa.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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