Esoinstead, Whatwe'regonnadoiswe'regonnause I p addresses.
Sothedestination I p addressisgonnabehostbees.
I p address, whichis 1 90 to 1 68 22.
Andthenwecanalsosetthesourceaddressoftheframethatofthe I p packetthatJoseissendingtwo B 1 90 to 1 68.9 dottowhichishostbees.
Excuseme.
Wejusthost a is I p address.
Um, andthenthis.
Sotheactualframethatgetssenthereisgonnahavethis I p packetinsideitwiththissourceindestination I p addressgoingfrom 9.22 22.
Butthe I P packetisgonnabeinsideofanEthernetframebecausethisisstillanEthernetnetwork, sowestillneedtohave a sourceanddestinationMacaddressinherEthernetheader.
Sothedestinationaddressisgoingtobethis 89 5 Sothisisgoingtobe a e 95 Butthequestionis, howdoesthatactuallygetset?
Howdoeshost A knowthatSanFranciscoistherightplacetosendthisevenatframe?
I don't understandthis a littlebitbetter.
Let's take a lookathowHost A isactuallyconfigured, andso I'vesentmycomputerupinthesameway.
Andsoherearethesettingsinmycomputerhere, andsothisisformymyEthernetlinkonmycomputer, somy I P addressissetto 100 to 1 68 9 dottoo.
Sothat's thesameasshole, stayhereandthen I'vesaidThere's twootherthingsthatyousaidwhenyousetupan I P addresson a computerandthatis a subjectmask, whichinthiscaseis 255.2 500 to 55.0.
Andwhatthisessentiallyissayingisthisisthisiskindoftellinguswhatprefixof I P addressesissharedbythisEthernetnetwork, andthewayittellsusthatisthatifweconvertthistobinary 255 ifyouconvertto 55 tobinary, it's just a stringofones.
Andsothere's actually a specificprotocolthatyoucanusetosend a broadcasttoeverybodyontheEthernetnetworkaskingwhoownsthis i p addressso I couldsendfromHost A.
I couldsend a broadcastsayinglike, Hey, everybodyonthisEthernetnetworkifanyofyouarearetheownerof 9.1, respondtomeandtellmewhatyourMacaddressesandtheprotocolthatweusedtodo.
Andtheparticleaddressisalwaysgonnabe 0800 whichmeans I p andsowe'regonnamapbetweenEthernetand I p.
AndthentheharderaddresslengthisjustthelengthofthehardwareaddressandforEthernetisalwaysgoingtobesixbitesandtheparticleaddresslengthisthelengthoftheaddressfor I p andfor I p, that's alwaysgonnabefourbites.
Sothesethingsarealwaysthesevalueshere.
Thenextthingisupcode, andthisisgonnabeeitheroneortwo, andonemeansthatthisis a broadcastedquestionthat's beingbroadcasttotheentireEthernetnetworkaskingwhoowns a particular I P addressandthentoisthereplyfromsomeonesaying I ownthatparticularaddressandhere's myMacaddress.