Or alternatively (for OpenBSD):
echo "xl0 192.168.0.2 255.255.255.255" >> /etc/ifaliases
echo "xl0 192.168.0.3 255.255.255.255" >> /etc/ifaliases
echo "xl0 192.168.0.4 255.255.255.255" >> /etc/ifaliases
echo "xl0 192.168.0.5 255.255.255.255" >> /etc/ifaliases
;)
Jerry.
At 12:30 22/05/01 +0100, James Raftery wrote:
>On Tue, May 22, 2001 at 10:59:30AM +0100, Jerry Walsh wrote:
> > I guess i should have included how it's done in rc.conf too
>>OpenBSD:
>>echo "inet alias 192.168.0.2 255.255.255.255 NONE" >> /etc/hostname.xl0
>echo "inet alias 192.168.0.3 255.255.255.255 NONE" >> /etc/hostname.xl0
>echo "inet alias 192.168.0.4 255.255.255.255 NONE" >> /etc/hostname.xl0
>echo "inet alias 192.168.0.5 255.255.255.255 NONE" >> /etc/hostname.xl0
>[ ... ]
>>>james
>--
>James Raftery (JBR54)
> "It's somewhere in the Red Hat district" -- A network engineer's
> freudian slip when talking about Amsterdam's nightlife at RIPE 38.
>>--
>Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
>List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!