[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IPv6 address/port format
- Subject: IPv6 address/port format
- From: [email protected] (Chris P. Ross)
- Date: Wed, 19 Jan 2000 10:54:04 -0500 (EST)
- In-reply-to: Wilfried Woeber, UniVie/ACOnet's message of Wed, 19 January 2000 13:32:57 MET <[email protected]>
- References: <[email protected]>
"Wilfried Woeber, UniVie/ACOnet" <[email protected]> said:
> =[sloth]:~$ telnet 10.1
> =Trying 10.0.0.1...
> That's exactly why we should avoid room for (different) interpretations.
> "Everyone" in the routing world would read(expand) 10.1 as 10.1.0.0/16 :-)
> and I suppose most of the tools (other than your telnet :-) would expand
> that to 10.1.0.0/32 ....
Actually, it's not that simple. There are defined to be two
different interpretations. When talking about *network* addresses,
10.1 is 10.1.0.0 (and, actually, I think the presumed netmask would be
/8, not /16, for net 10...). When talking about a *host* address,
it's 10.0.0.1. That's the "long established" way to do abreviated
dotted-quads.
Actually, looking at the man page for inet(3) on my BSD/OS machine,
it doesn't even mention the system you're saying "everyone" uses. It
only mentions the system of putting the last segment in the right-hand
side, scaling it appropriately based on how many segments are in the
given address. You can probabaly find this man page on any BSD-based
system...
- Chris
--
Chris P. Ross UUNET Technologies, Inc.
[email protected] R & D / Engineering
[email protected]