What scripts does Redhat used to set the default routes? I've looked
through init.d and could not find them.
>What scripts does Redhat used to set the default routes? I've looked
>through init.d and could not find them.
Tom Eastep \ Opinions expressed here are
Shoreline, Washington USA \ those of my employer
ICQ #60745924 \____________________________
I am trying to configure some aliases on some network devices under
RedHat 7.2. Currently the setup is as follows
eth0 is set to 188.8.131.52 on startup.
I can issue the following commands:
ifconfig eth0:203 184.108.40.206 broadcast 220.127.116.11 netmask
route add -host 18.104.22.168 dev eth0:203
I'd like these actions to occur at startup. I've figured out how to
get the alias set up by placing a config file, eth0:203, in
1. How do I set the static route at startup? Where are the static
routes that are set up on start up configured from? Should the same
files be used to configure my new static route? I've looked in the
redhat docs but am unable to find any info.
On another machine I wish to do a similiar exercise on lo, which is
currently set to 127.0.0.1 on startup. ie
ifconfig lo:203 22.214.171.124 broadcast 126.96.36.199 netmask
route add -host 188.8.131.52 dev lo:203
2. Can I use the same processes for the lo device as the eth0 device
or is it more complicated?
3. What is the standard way to ensure proc devices(?) are initialized
correctly on startup? ie If I wish to ensure
echo "1" >/proc/sys/net/ipv4/conf/all/hidden
which script etc would this normally be set in?