Harald Schueler wrote:
> 
> 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

Thanks Harold, that makes sense, I will try it at work.  Why do I need
the eth0:X part?  Why does linux use a :? notation?  I have not seen
that on either Suns or BSDi (my other two unices).

Reply via email to