What is a broadcast ip?
I was looking at my ifconfig output and I'm trying to setup a network. So what is a broadcast ip?
|
braodcast ip would be your network with 255 for the last octet
ip 192.168.0.1, netmask 255.255.255.0, network 192.168.0.0, broadcast 192.168.0.255 |
Ok thanks a bunch.
|
What David stated will work on a non-subnet'd class c network. If you subnet that, then it would be the highest IP in the subnet (i.e. network is from 192.168.1.1 to 192.168.1.32, then 32 is the last octet). I figure he knows that, he was just trying to keep it simple. :)
|
umm, .32 would be the network address of the next subnet
192.168.1.1 with a 255.255.255.224 mask as in your example would give you a broadcast address of 192.168.1.31 Basically the broadcast address for any subnet is the value you get when you set all the host bits to 1. In the above example the .224 mask would give you 3 network bits and 5 bits for the host address. Set all these host bits to a 1 and you get 31. Sorry to be picky :-) |
You are right sir, I stand corrected.
|
it can get a lilttle complicated if your on a subnetted network
you can use this http://www.a-plus.net/Useful_Netmask.htm |
And in case you STILL want to know what a broadcast ip is...
Quote:
'Hey, what is a car?' 'It's a Ford or a Toyota or a Rover... ' 'Umm, thanks a bunch.' |
All times are GMT -5. The time now is 08:50 AM. |