ifconfig options?

Krassimir Slavchev krassi at bulinfo.net
Mon Dec 24 01:01:59 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

'ifconfig -l [address_family]' does not work correct on RELENG_7


FreeBSD 6.3-BETA2:
# ifconfig -l
em0 em1 plip0 lo0 pflog0

#ifconfig -l ether
em0 em1

But:
FreeBSD 7.0-BETA4:
# ifconfig -l
em0 em1 plip0 lo0 pflog0

#ifconfig -l ether
em0 em1 plip0 lo0 pflog0

I need this functionality to get all ethernet interfaces. Is there other
way to do this?

Best Regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHb3WBxJBWvpalMpkRAmZSAKCP1zuGQ/jzFDuPJEM/pCNEkP/gIACfeImb
VODEPRfu0Pl38yML0WA8Tow=
=Rkav
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list