From owner-freebsd-net@FreeBSD.ORG Mon Jul 21 20:47:42 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2170E106564A for ; Mon, 21 Jul 2008 20:47:42 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id EDACD8FC21 for ; Mon, 21 Jul 2008 20:47:40 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m6LKmKmI004752; Mon, 21 Jul 2008 15:48:20 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m6LKmKfO004751; Mon, 21 Jul 2008 15:48:20 -0500 (CDT) (envelope-from brooks) Date: Mon, 21 Jul 2008 15:48:20 -0500 From: Brooks Davis To: Jens Rehsack Message-ID: <20080721204820.GE1699@lor.one-eyed-alien.net> References: <4884F401.4050103@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VdOwlNaOFKGAtAAV" Content-Disposition: inline In-Reply-To: <4884F401.4050103@web.de> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: FreeBSD Net Subject: Re: lo0 not in ioctl( SIOCGIFCONF ) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2008 20:47:42 -0000 --VdOwlNaOFKGAtAAV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Hi, >=20 > maybe this question is better asked in this list ... >=20 > I was searching why ports/net/p5-Net-Interface was not working as > expected and found some reasons. Most of them I can answer by implementing > some test code as attached, but now I'm wondering why em0 is shown twice > and lo0 is not included. > The same situation on another machine .. The attachment didn't make it through. -- Brooks On Mon, Jul 21, 2008 at 08:39:29PM +0000, Jens Rehsack wrote: >=20 > --- BEGIN ifconfig -a (waldorf) > em0: flags=3D8843 metric 0 mtu 15= 00 > options=3D19b > ether 00:15:17:10:84:6c > inet 10.62.10.3 netmask 0xffffff00 broadcast 10.62.10.255 > media: Ethernet autoselect (100baseTX ) > status: active > em1: flags=3D8802 metric 0 mtu 1500 > options=3D19b > ether 00:15:17:10:84:6d > media: Ethernet autoselect > status: no carrier > lo0: flags=3D8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > --- END ifconfig -a (waldorf) > ./netif > em0 > em0 > em1 >=20 > --- BEGIN ifconfig -a (STINGRAY) > ifconfig -a > fxp0: flags=3D8843 metric 0 mtu 1= 500 > options=3D8 > ether 00:a0:c9:ce:c8:64 > inet 10.62.10.12 netmask 0xffffff00 broadcast 10.62.10.255 > media: Ethernet autoselect (100baseTX ) > status: active > fxp1: flags=3D8843 metric 0 mtu 1= 500 > options=3D8 > ether 00:a0:c9:ce:db:83 > media: Ethernet autoselect (100baseTX ) > status: active > pflog0: flags=3D141 metric 0 mtu 33204 > lo0: flags=3D8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > vlan0: flags=3D8843 metric 0 mtu = 1500 > ether 00:a0:c9:ce:db:83 > media: Ethernet autoselect (100baseTX ) > status: active > vlan: 7 parent interface: fxp1 > tun0: flags=3D8051 metric 0 mtu 1492 > inet 87.149.231.190 --> 217.0.119.167 netmask 0xffffffff > Opened by PID 27503 > --- END ifconfig -a (STINGRAY) > ./netif32 > fxp0 > fxp0 > fxp1 >=20 > Why aren't lo0, vlan0 and tun0 not included? What can I do to get these > entries (portable way, please). >=20 > Best regards, > Jens >=20 >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" --VdOwlNaOFKGAtAAV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFIhPYUXY6L6fI4GtQRAi3/AJ0cUNkiQBo0+UTqikNlCJoIq2VMrwCdHJCT WUebNOrE/K/6Ds5bZ8CDuaI= =0/kM -----END PGP SIGNATURE----- --VdOwlNaOFKGAtAAV--