Scot L. Harris wrote:
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.
This started when a question was posted about a 32 bit subnet mask. I said it was valid on point to point links and you (IIRC) said that it wasn't. I provided an example, by describing my ppp link. This one example is proof of what I said. Anything you've done becomes irrelevant, because it can't undo my proof that 255.255.255.255 is a valid subnet mask for a point to point link. Here's what ifconfig shows, when I use dial up ppp. ppp0 Link encap:Point-to-Point Protocol inet addr:209.188.82.150 P-t-P:209.188.80.74 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:95 (95.0 b) TX bytes:101 (101.0 b) Did you notice the subnet mask? As for your connections, how are you setting up the connection? If using an ethernet card to talk to the CSU etc., you may still have to allow at least 4 addresses.