Re: internet ip addressing



On Tue, 05 Sep 2006, in the Usenet newsgroup comp.os.linux.networking, in
article <edj65j$q51$1@xxxxxxxxxxxxxxxxxx>, Giovanni wrote:

Jeroen Geilman wrote:

jasonsig wrote:

Hi, with regards to /31 addressing on point to point links. I have not
seen any real world examples using this type of addressing scheme

That would be because it is impossible.

The minimum number of adresses needed for a valid subnet is 3.

(1 network, 1 host, 1 gateway)

You need also a broadcast address making the minimum number to four.

In the conventional - non point-to-point link, four addresses are the
minimum. Required is the broadcast. There may be two OR THREE hosts
(some operating systems do not need the "network address" and can use
it as a host address).

For point-to-point networks, the broadcast is not needed, which is why
in most implementations, they are /32s. For example, pppd will _show_
a network mask

[conover ~]$ /sbin/ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:198.18.180.190 P-t-P:192.168.195.11 Mask:255.0.0.0
UP POINTOPOINT RUNNING MTU:1500 Metric:1

but compare that to the output for your ethernet interface[s]

[conover ~]$ /sbin/ifconfig eth0
eth0 Link encap:10Mbps Ethernet HWaddr 00:44:17:56:ea:17
inet addr:192.0.2.117 Bcast:192.0.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

notice the "POINTOPOINT" compared to "BROADCAST"

What is normal in a point to point link is that the "client" end will
have a unique address - 198.18.180.190 in the example above, while the
"server" (could be a terminal server with a hundred serial ports) _MAY_
use a single address for all links - 192.168.195.11 the example above.
Were you to look at the routing table on such a server, there would be
no confusion of which "port" is used to reach any of the clients.

RFC3021 is a proposed solution where the two ends of a point to point
link have unique (but consecutive) IP addresses. I'm not aware of anyone
actually doing this, but the RFC exists. They are using a /31 (two IP
addresses) because this is a point to point link, and neither a broadcast
or network address is needed for the link to work.

Old guy
.



Relevant Pages

  • Re: Any known issues withsp2 and non-sp xp ics?
    ... The config in the previous post was for the host installed with modem: Client ... and network bridge15,enabled. ... seems something is blocking the connection.. ...
    (microsoft.public.windowsxp.network_web)
  • Re: networking
    ... Check the network protocols you need are installed for the ... |> | connectivity on the host. ... |> client. ... I'm running xp pro on the host and xp home on the ...
    (microsoft.public.windowsxp.network_web)
  • Cant get ICS to work win98 host xp client - winsock problem?
    ... I have setup simple 2 pc ethernet network with win98 pc as host and XP SP2 ... as client. ... When I login to the host ("Windows Family Logon") I get "no domain ...
    (microsoft.public.windowsxp.network_web)
  • Re: Single Client wont connect to internet
    ... Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on ... > I have a wireless network running between 2 PCs both with XP sp1. ... > connection on the host is fine. ... > can't get the client to access the connection on the host, ...
    (microsoft.public.windowsxp.network_web)
  • networking with XP
    ... Am networked peer to peer with both PCs (client being ... the host first then on the client. ... What I don't get is MS created a network bridge. ... Internet Gateway (with the connection name of my internet ...
    (microsoft.public.windowsxp.network_web)