[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Internet setup backfired



> Ouchie... i thought 212.17.64.255 was the only broadcast address. I
	You are correct, that is the broadcast.  212.17.64.0 would be the
network address.  Any broadcast address is going to OR with the
subnet mask to get 32 bits of ones.  It'll be the last address in the
subnet, in fact.  The easy way to find a broadcast follows:  Flip the
bits in the subnet mask (ones for zeros, zeros for ones, so you get
0.0.0.255 or whatever) and convert to binary, call it X.  Take the network
number (AND the subnet mask with the IP address) and convert to binary.
Add X to the network number, and that's the broadcast for that subnet.

Mathias