On Thu, 20 Jan 2000, Kai Voigt wrote:
>And to get all this done automatically at boot time, add this
>to your /etc/rc.conf
>
>network_interfaces="de0 lo0" # List of network interfaces (lo0 is loopback).
>ifconfig_de0="inet 195.244.241.123 netmask 255.255.255.0"
>ifconfig_de0_alias0="inet 195.244.241.124 netmask 255.255.255.255"
>ifconfig_de0_alias1="inet 195.244.241.125 netmask 255.255.255.255"
>ifconfig_de0_alias2="inet 195.244.241.126 netmask 255.255.255.255"
>ifconfig_de0_alias3="inet 195.244.241.127 netmask 255.255.255.255"
>ifconfig_de0_alias4="inet 195.244.241.128 netmask 255.255.255.255"
>
Or you could take advantage of that neat little thing in rc.network that
runs /etc/start_if.<interface> for you. This is what I do on all my
boxes. I stuff all my aliases into /etc/start_if.fxp0 so I don't have to
overload rc.conf (it's overloaded enough already :)).
Relevant lines from /etc/rc.network (starts line #57 rc.network version
1.39.2.14):
...
for ifn in ${network_interfaces}; do
showstat=false
if [ -e /etc/start_if.${ifn} ]; then
. /etc/start_if.${ifn}
showstat=true
fi
...
Just something to consider.
>Kai
Eric
>PS: People, please learn to quote, thank you.
Ok.
>--
>kai voigt hamburger chaussee 36
> 24113 kiel
> 04 31 - 22 19 98 69
> http://k.123.org/
--
Eric Futch New York Connect.Net, Ltd.
[EMAIL PROTECTED] Technical Support Staff
http://www.nyct.net (212) 293-2620
"Bringing New York The Internet Access It Deserves"
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message