eli5:what is broadcast address how is it used in layer 2 and layer 3 of osi model?

120 views

eli5:what is broadcast address how is it used in layer 2 and layer 3 of osi model?

In: 0

3 Answers

Anonymous 0 Comments

A broadcast address is the address that you send something to when you don’t want to reach a specific recipient but instead everyone.

You can think of it like the difference between a phone call and a radio broadcast. With your phone you call the number of a specific recipient to talk to them, with a radio broadcast you just send your message out to anyone who may be listening.

A Layer two broadcast send to a special MAC address that is all 1s and no 0s. FF-FF-FF-FF-FF in hex.

A Layer three broadcast is sent to the IP Address that is the last IP Address in the network. It takes the form of whatever your Network address is plus a all ones for the rest.

For example if your network is 192.168.1.0/24 the broadcast address will be 192.168.1.255.

One example of when you might use a broadcast is when you don’t have an IP address yet and don’t know anything about the network. A new computer connected to a network will typically send out a broadcast to the entire Layer 2 network it is in in hopes of getting an answer from a DHCP server that will tell it what IP address to use what network it is in and where the exits are and a bunch of other stuff about DNS and whatever.

You are viewing 1 out of 3 answers, click here to view all answers.