Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 23:57:14 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Steven Ames <steve@virtual-voodoo.com>
Cc:        "Jonathan M. Slivko" <jslivko@blinx.net>, Chris Dillon <cdillon@wolves.k12.mo.us>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Why two cards on the same segment...
Message-ID:  <3B6110CA.A1FDD7C0@mindspring.com>
References:  <Pine.BSF.4.32.0107261528390.2406-100000@mail.wolves.k12.mo.us> <001701c11614$94114000$6401a8c0@equinox> <00fa01c11615$73cccb10$28d90c42@eservoffice.com> <003401c11616$d2a8e460$6401a8c0@equinox> <011d01c11617$10b96950$28d90c42@eservoffice.com> <005f01c11618$145b04a0$6401a8c0@equinox> <015201c1161a$1fd46ae0$28d90c42@eservoffice.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Steven Ames wrote:
> 
> You lost me. How what is being done? You can use ifconfig to assign
> as many blocks/netmasks as you feel the urge to. It'll do it.

Actually, you'll get an "address in use" error; it will
add the IP alias to the card, but in fact, it will not
really dso the job: the ifconfig will tell one story,
while the kernel data structures will tell another.

Look at the alias add code in /sys/netinet, with special
attention to the EADDRINUSE return, and where it can happen,
and what code ends up not being executed in that case.

So it will look like it has worked, despite the error,
but in fact will have only partially completed the setup,
unless your netmask is 255.255.255.255, or unless the
address space is totally non-intersecting (per the 192 net
example previously posted as "working").

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B6110CA.A1FDD7C0>