*BSD News Article 50980


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!newsxfer.itd.umich.edu!gumby!andrews-cc!gillham
From: gillham@andrews.edu (Andrew Gillham)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Virtual Interface drivers
Date: 15 Sep 1995 18:32:02 GMT
Organization: Andrews University
Lines: 26
Message-ID: <43cgr2$e4p@orion.cc.andrews.edu>
References: <439ovt$gcs@harbinger.cc.monash.edu.au> <43at6h$8bv@harbinger.cc.monash.edu.au> <43cfvh$5sl@cynic.portal.ca>
NNTP-Posting-Host: edmund.cs.andrews.edu

In article <43cfvh$5sl@cynic.portal.ca> curt@portal.ca (Curt Sampson) writes:
>
>What's the problem with ifconfig alias? From looking at the code,
>the limit on the number of addresses you can have is based on kernel
>malloc memory alone. I've heard from people with 235 addresses or so
>on an interface.

I think this was my fault.. :)  I mentioned ifconfig alias to him in
e-mail and that I _didn't know_ if it supported more than one alias, but
that I knew for sure that 2 ip addresses on an inteface worked.

>I've got a dozen or so addresses (for virtual web servers) on my ed0, and
>it works all right.

Perhaps a nice concise example?  'man ifconfig' doesn't really explain
alias well, and perhaps implies only one alias.  To me at least, the
'Establish _an_ addition network _address_...' is singular.  Also, the
delete option isn't very concise, and has no example.  (i.e. is it
'ifconfig ed0 alias x.x.x.x delete', or ifconfig ed0 delete..)

-Andrew
-- 
============================ Real 32bit multi-tasking UN*X System
Andrew Gillham             | TCP/IP,NFS,PPP,4.4BSD-lite,multi-user
gillham@andrews.edu        | i386,sparc,alpha,mac68k,amiga,others
LAN/WAN/NW/UN*X specialist |   ---> http://www.NetBSD.org <---