Date: Mon, 21 Jul 2008 15:48:20 -0500 From: Brooks Davis <brooks@freebsd.org> To: Jens Rehsack <rehsack@web.de> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: lo0 not in ioctl( SIOCGIFCONF ) Message-ID: <20080721204820.GE1699@lor.one-eyed-alien.net> In-Reply-To: <4884F401.4050103@web.de> References: <4884F401.4050103@web.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15= 00 > options=3D19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4> > ether 00:15:17:10:84:6c > inet 10.62.10.3 netmask 0xffffff00 broadcast 10.62.10.255 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > em1: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=3D19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4> > ether 00:15:17:10:84:6d > media: Ethernet autoselect > status: no carrier > lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1= 500 > options=3D8<VLAN_MTU> > ether 00:a0:c9:ce:c8:64 > inet 10.62.10.12 netmask 0xffffff00 broadcast 10.62.10.255 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > fxp1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1= 500 > options=3D8<VLAN_MTU> > ether 00:a0:c9:ce:db:83 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > pflog0: flags=3D141<UP,RUNNING,PROMISC> metric 0 mtu 33204 > lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 1500 > ether 00:a0:c9:ce:db:83 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > vlan: 7 parent interface: fxp1 > tun0: flags=3D8051<UP,POINTOPOINT,RUNNING,MULTICAST> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080721204820.GE1699>