On Tue, 2004-01-20 at 22:01, James Knott wrote:
Scot L. Harris wrote:
On Tue, 2004-01-20 at 20:34, James Knott wrote:
Actually, as I recall it, the /32 would be used on a point to point link, where there is only one address.
On a point to point link you would use 30 bit subnets. A 30 bit subnet has a subnet mask of 255.255.255.252. This defines two host addresses that can be used on the point to point network as well as the broadcast address and the subnet.
Are you sure about that? There's only the 2 addresses, as there's no need for a broadcast or network address.
In fact, I just checked on my notebook. Ifconfig shows a mask of 255.255.255.255 for ppp0, an inet address, a P-t-P address and no broadcast address. Eth0 shows an inet address, broadcast address and a mask of 255.255.255.0.
Maybe you'd better check your facts again. Fire up a ppp link and tell me what you see.
Think about it. A point to point link needs two addresses in the
subnet.
192.168.0.0/32 gives you:
subnet address of 192.168.0.0
broadcast address of 192.168.0.3
host 1 address of 192.168.0.1
host 2 address of 192.168.0.2
Have setup hundreds of these on frame relay circuits and private line
circuits.
We may be talking two different things here. The point to point
protocol I believe uses a 32 bit subnet to say the entire address can be
assigned.
--
Scot L. Harris