From owner-freebsd-questions Mon Dec 9 23:57:55 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 AABDD37B401 for ; Mon, 9 Dec 2002 23:57:53 -0800 (PST) Received: from mail.econolodgetulsa.com (mail.econolodgetulsa.com [198.78.66.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B34743EB2 for ; Mon, 9 Dec 2002 23:57:53 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Received: from mail (user@mail [198.78.66.163]) by mail.econolodgetulsa.com (8.12.3/8.12.3) with ESMTP id gBA7vtZb073504 for ; Mon, 9 Dec 2002 23:57:55 -0800 (PST) (envelope-from user@mail.econolodgetulsa.com) Date: Mon, 9 Dec 2002 23:57:55 -0800 (PST) From: Josh Brooks To: freebsd-questions@freebsd.org Subject: how do I add this route without rebooting ? Message-ID: <20021209235113.N77087-100000@mail.econolodgetulsa.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi, Currently my rc.conf looks like this: 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" static_routes="route1 route2" route_route1="10.10.10.193 198.78.1.1" route_route2="10.10.20.1 198.78.1.1" So far so good. Now I want to add a new network, and I have changed it so it now looks like this: 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 ? thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message