Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2011 13:04:33 -0400
From:      Jason Hellenthal <jhell@DataIX.net>
To:        Michael Tuexen <tuexen@fh-muenster.de>
Cc:        net@freebsd.org
Subject:   Re: netstat fix
Message-ID:  <20110517170433.GB92657@DataIX.net>
In-Reply-To: <43344BAA-EC28-47A7-99AA-076C39464EC4@fh-muenster.de>
References:  <3FEFBA56-63FC-403A-960E-627FD347AA06@fh-muenster.de> <20110517162034.GA92657@DataIX.net> <43344BAA-EC28-47A7-99AA-076C39464EC4@fh-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--tsOsTdHNUZQcU9Ye
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Michael,

On Tue, May 17, 2011 at 06:27:01PM +0200, Michael Tuexen wrote:
> On May 17, 2011, at 6:20 PM, Jason Hellenthal wrote:
>=20
> >=20
> > Michael,
> >=20
> > On Sun, May 08, 2011 at 07:23:37PM +0200, Michael Tuexen wrote:
> >> Dear all,
> >>=20
> >> fwip0  1500 <Link#19>     00:30:05:b3:50:0b:40:e4:0a:02:ff:fe:00:00:00=
:00        0     0     0          0        0     0          0     0
> >>=20
> >=20
> > I agree with your patch but on another note. You probably know better
> > than I, Is it common for fwip* to have a MAC(hardware address) that long
> > ?
> I have no idea if it is common. But also other addresses (like IPv6)
> are truncated in the output by netstat...
>=20

Yeah that can be expected of IPv6. There is just not enough room in the
world of screen space to display those properly or in some globally
exceptable way unless we want to start changing netstat to display
addreesses line by line.


Ive been looking around a bit "EUI-64" ... never mind ;)

http://en.wikipedia.org/wiki/EUI-64

Relavent section:
In addition, the EUI-64 numbering system encompasses both MAC-48 and
EUI-48 identifiers by a simple translation mechanism. To convert a
MAC-48 into an EUI-64, copy the OUI, append the two octets FF-FF, and
then copy the organization-specified part. To convert an EUI-48 into an
EUI-64, the same process is used, but the sequence inserted is "FF-FE".
In both cases, the process can be trivially reversed when necessary.
Organizations issuing EUI-64s are cautioned against issuing identifiers
that could be confused with these forms. The IEEE policy is to
discourage new uses of 48-bit identifiers in favor of the EUI-64 system.
IPv6one of the most prominent standards that uses EUI-64treats MAC-48 as
EUI-48 instead (as it is chosen from the same address pool). This
results in extending MAC addresses (such as IEEE 802 MAC address) to
EUI-64 using FF-FE rather than FF-FF.


--=20

 Regards, (jhell)
 Jason Hellenthal


--tsOsTdHNUZQcU9Ye
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: http://bit.ly/0x89D8547E

iQEcBAEBAgAGBQJN0qqhAAoJEJBXh4mJ2FR+qjkH/jD0hXdb7fJ+z4f6jB/+2Jbu
fIYt8ZG6PYfc7phoOVUQUGwYL6ZhAzaE9zxPUSRAn/58ZiOpS76t3VzA8epu9Mgh
P2xRawF9JC0zsd/94+zdbbPsQewQMtNSmEBbvNdhmIGljfgb1pH6CwsJf3fQ2we0
dlOrjnWODU0TBbJXTAwLdKTZ4qu2l5Z1uQUs3W2OwT71mOCeqb5vgVxErSxOEzUA
fmW+wU3cx4GLVoLOXZXvUxPso9jm74Vrw41jE8MvknZuE16QPMCuvlMZKIERYYOY
GmGDu6J65D83uRtDGaolDWP1B+v2BeTYpa1PyqAuaVhBrCUrAnMK6011x3jgC7s=
=Sfgu
-----END PGP SIGNATURE-----

--tsOsTdHNUZQcU9Ye--



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