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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to