Subject: Re: TUN on 1.6_BETA
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: port-i386
Date: 06/24/2002 20:27:02
--zaRBsRFn0XYhEU69
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

On Mon, Jun 24, 2002 at 07:17:53PM +0200, Jaromir Dolecek wrote:
> And IIRC you plumb each device type just once, i.e. 'le' and not
> 'le0', 'le1' etc.

this is not correct, there is nothing like 'ifconfig le plumb'.  you
need to plumb each interface (and even aliases if keyword 'addif' is not
used).  from ifconfig(1M):

=2E..

     plumb Open the device associated with the physical interface
           name  and set up the streams needed for  IP to use the
           device. When used with a logical interface name,  this
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           command  is  used to *create* a specific named logical
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           interface. An interface must be separately plumbed for
           ^^^^^^^^^
           use  by  IPv4  and  IPv6. The address_family parameter
           controls whether the ifconfig command applies to  IPv4
           or IPv6.

            Before an interface has been plumbed, , the interface
           will not show up in the output of the ifconfig -a com-
           mand.
=2E..

for more info see:

  http://docs.sun.com/?p=3D/doc/816-0211/6m6nc66s7&a=3Dview#ifconfig-1m-ind=
x-1

especially keywords plumb, addif and section about logical interfaces.


regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--zaRBsRFn0XYhEU69
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9F2R2Wc63C347cOIRAoIuAKDWTntsKoAp8UQFuZIndmMBxxXtwwCgwT+F
PKB2EalMjdxNrMx1iJ66rvo=
=hSlK
-----END PGP SIGNATURE-----

--zaRBsRFn0XYhEU69--