Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is 192.168.2.255 a directed broadcast?

Posted on 2004-09-07
8
Medium Priority
?
2,080 Views
Last Modified: 2012-06-21
Noticed this from one of my hosts
192.168.2.6 ------------> 192.168.2.255

Does this hit every node in the 192.168.2.0 network?  I looked at the data link layer of the packet, and it was FF:FF:FF:FF:FF:FF so i'm assuming it does hit every node.



When a directed broadcast DOES occur, what does the data link layer look like?
Thanks
0
Comment
Question by:dissolved
8 Comments
 
LVL 15

Expert Comment

by:vico1
ID: 12002976
Yes It should be your broadcast address assuming that your Subnet mask is 255.255.255.0.
Take a look at this definition for more help: http://www.atis.org/tg2k/_directed_broadcast_address.html
0
 

Author Comment

by:dissolved
ID: 12005408
What I'm confused about, is that usually broadcasts I see are
192.168.2.5 ---------> 255.255.255.255
0A:44:B3:00:00:00: ---> FF:FF:FF:FF:FF:FF

But the one I saw was 192.168.2.5 -----> 192.168.2.255
0A:44:B3:00:00:00: ---> FF:FF:FF:FF:FF:FF


What's the difference between them?
Thanks
0
 
LVL 15

Expert Comment

by:vico1
ID: 12005682
You always going to have 255.255.255.255 /255.255.255.255

What ever is your network you also will have the broadcast for that network.
in your situation, your network is 192.168.2.0 and therefore broadcast will be 192.168.2.255 with Mask 255.255.255.0
If you type the command "route print" from a command prompt you should see those numbers.

The 192.168.2.5-------> 255.255.255.255 should have the gateway 127.0.0.1
that is a loop for Network test.
in addition you should have 192.168.2.5 -----> 192.168.2.255
these are routes that define where you computer can go

What's the difference between them?
they are both Broadcast addresses.

I hope I was clear enough

Regards,

vico1
0
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 

Assisted Solution

by:JMellin
JMellin earned 400 total points
ID: 12005739
A directed broadcast is a IP packet from a host on subnet A with a destination to all hosts on another subnet B. If a host on subnet A send to all hosts on the same A subnet thats a local broadcast. Directed mean a subnet broadcast directet somewhere else.
For example ARP uses local broadcast to find layer 2 (MAC) address information for an IP address.

The Datalink layer, Layer 2 (OSI) does not know or care about any of this. If we ignore multicast this is really simple.
Layer 2 frames can either be adressed to the whole world or to one unique address. The whole world on layer 2 is bound to where there is a router stopping all layer 2 frames without any layer 3 headers (IP header) and only forward based on layer 3 packet information.

A router recieving a packet for all hosts on subnet B (B.255) will act depending on configuration. If allowed it will send out a layer 2 broadcast frame FF:FF:FF:FF:FF:FF with a layer 3 IP header B.255.

Modern routers are'nt allowed to do this because of denial of service problems.

OK?
/Johan
0
 

Author Comment

by:dissolved
ID: 12007809
so in short:

- a directed broadcast is always destined for another network.

-In order for a directed broadcast to work, the router must be configured to allow a 192.168.2.255 address (just an example) to pass.

-layer 2 broadcasts never cross networks
0
 

Author Comment

by:dissolved
ID: 12007817
Vico: are you saying 192.168.2.255   255.255.255.0   is the same as 255.255.255.255???
Thanks
0
 
LVL 15

Assisted Solution

by:vico1
vico1 earned 400 total points
ID: 12012004
It is not entirely the same thing I will make a short analogy to explain:

Think of broadcast as  a way to find your friend in a room full of people:
Say that you walk into a room with a few hundred people, Unless that you know exactly where your friend is located in the room you cannot find him.
so you would call out loud your friend name, (that is broadcasting in that room) with 192.168.2.255.

Assuming that they are many rooms with few hundred people interconnected with microphones and speakers then would call out for your friend with the microphone so everyone would hear. (That is broadcasting to all rooms) with 255.255.255.255. That is what happend on a network with No DNS or WINS server.

I hope that helped
Vico1.
0
 
LVL 2

Accepted Solution

by:
jasperomalley earned 1200 total points
ID: 12012499
255.255.255.255 is technically called the "all subnets broadcast address", while 192.168.2.255 would be the "local broadcast address for the network 192.168.2.0 with netmask 255.255.255.0." Since most routers prevent broadcasts to 255.255.255.255 from crossing their boundaries, they effectively do the same thing in most cases.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question