Am Tue, 11 Aug 1998 schrieb Shaleh:
> Currently on BSDi we do this in a rc.local script:
>
> for i in `cat /etc/servers`
> do
> ifconfig $interface $domain alias
> route add -host $domain 127.0.0.1
> done
I use:
i=0
for ALIAS in $IPALIASES
do
ifconfig eth0:${i} ${ALIAS} netmask ${NETMASK} broadcast ${BROADCAST}
route add -host ${ALIAS} dev eth0:${i}
i=$[$i+1]
done
---
Harald Schueler
Universitaet Essen Tel +49-201-183-2456/2568
Fachbereich 7 Fax +49-201-183-2120
45117 Essen E-mail [EMAIL PROTECTED]
- help w/ virtual domains and linux Shaleh
- Re: help w/ virtual domains and linux Harald Schueler
- Re: help w/ virtual domains and linux Kevin Conover