Beruflich Dokumente
Kultur Dokumente
Pv4 message types. Kind of an overview of it. Machines talk to one another, and
to put it in human terms, I always think about it this way. If you watch late-ni
ght television, an example of one of the message types is a host will come out,
and typically will start the show by just speaking out to the audience, called a
monologue. You might think, "Who's he talking to?" Well, he's talking to everyb
ody in the audience.
He's pretty much broadcasting his voice everywhere and the entire audience is li
stening. That would be considered one of the IPv4 message types, that of broadca
st. Maybe a good way to think about it is in order for there to be a recipient-In fact, we can start out with an example. Let's say that somebody walked into
this room right now and said, "Hey, there's a car out in the parking lot "it's a
blue Chevy Nova, and your headlights are on." Well, the person who just came th
rough the door and said that, who are they talking to? They're talking to everyb
ody in the room, but not everybody in the room cares.
In other words, you kind of cycle up through your OSI model that's inside your b
ody and say cycle ups like, "Well, I don't drive a blue Chevy Nova, "so, I disca
rd that message." And it may be that nobody in the room drives a blue Chevy Nova
with the headlights on, but each of us process that up until the point where we
're like, "That poor slob, "I'm glad it's not me. "They're going to have a dead
battery "at the end of the day." But that's another example of what would be con
sidered a broadcast message. And you may have had some exposure to like the math
ematical definition of a broadcast message.
In fact, if you go back to the network definition of a broadcast, that's where y
ou take the network portion-- In fact, we can actually write it here. Let's say
I have some address, 10.1, and the rest I'm not going to put anything there for
now. But let's say that the mask for this is 255.255.0.0. Well that means that w
hatever's here, and here, are host. This portion of the IP address belongs to th
e host.
Well the definition, if you read a networking book about what is the definition
of a broadcast address. That's where you take all your host bits, all of them, a
nd set them to ones in binary. And if these are-- Keep in mind that this is real
ly eight bits, and this is really eight bits. If I have eight ones here, and eig
ht ones here, those are 255s, right? So let's fill in numbers, so I'm going to p
ut a 255 here, and a 255 here. So if I have, if I am some PC in this network. Le
t's say I'm a PC sitting right here, and I actually have an address of 10.1.0.10
0, with the same mask.
And I generate a broadcast message. I'm sending out a message 10.1.255.255, in o
ther words I'm talking to everybody on my segment, and everybody on my hallway s
o to speak. That broadcast message then is processed by everybody who is listeni
ng and live on that network. That's a broadcast. What about another type of mess
age you think about is called-- I'll write this down, this is broadcast. A secon
d type is what's called unicast.
Unicast is, again if we go back to our example of the late-night show host comin
g out, having his monologue. But then perhaps, somebody yells out to him, "Hey,
how you doing, I'm from Chicago..." whatever the message is. So they turn their
attention to that person and those two have a direct conversation. That would be
considered more of a unicast. Like for instance you have, PC A exchanging a fil
e with PC B. They are having a conversation. Now, they could be on this network
segment where there's other hosts.
But if they're having a unicast conversation these two are talking, it's kind of
like that phrase, "This 'tween me and you." Nobody else needs to concern themse
lves with it. So that would be a unicast. In other words, if I'm sending somethi