0% found this document useful (0 votes)
24 views11 pages

Network Layer

The document discusses the concepts of forwarding and routing within network service models, comparing them to postal services. Forwarding involves directing packets to their appropriate output ports based on destination IP addresses, while routing determines the best paths for packet delivery using routing algorithms. Key components of routers and the structure of IP packets, including header fields and subnetting, are also outlined.

Uploaded by

Chaitali More
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
24 views11 pages

Network Layer

The document discusses the concepts of forwarding and routing within network service models, comparing them to postal services. Forwarding involves directing packets to their appropriate output ports based on destination IP addresses, while routing determines the best paths for packet delivery using routing algorithms. Key components of routers and the structure of IP packets, including header fields and subnetting, are also outlined.

Uploaded by

Chaitali More
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
4-1 Introdudion forwarding and Routing , Nerwork service Models . s the network layer W Like the (ntemet's postak Aewice, AekveELIng packed from a Bend to co MESPENSibIE for Ir hat +00 main funckons - MEWIVET OCUWAD MUWIPIE NEehwWorkKS . Forwarding - when o packed omtives at a outer , tre Jouko nicks uta At naTien 1P coldaes anck Urbs Apsawordling tale +0_olecidle _uthida output powk to Aen te. Think ef a maik fAomter at a post _ofgice checKing a later ad cdters ounck putting it in she tuignt cleliveny £rack. Routing - Kas process a er packer talees —fuun _pourion 2 cLestineuen.. Reaking,oAeyo Mithron (ike GPs) caladakes ee ba a tabies. Routing sso Asch Virlwok Cironit and Datagram Nehwor hs Hhe nwwow Lay can ALL Packer ty Hip svirluak = Grusit (VC) Nodworks - A pat vw see up bene Aending olata, ice Arasn moure Cog Nevyou ? Nicaye + tereyg ) AU packds fotlew Aue Same patr maourcr Ce.g- bancwidth ) fon ty gous Ve hos & VC number canar notes _ pako.>- ere u phasis: sckup Cestabtish pat) chaka_branspen, teardown (emch connfenS De s usec on _ololes Arden Like ATM wary , berKRing a wnterner -_ . ~ Onalogy- Like oo phone HMA We formanding table, to Parcs Mag OVive Ur eh order. © Runcogn- fine HXtHing —Lacn Me wag. ee a ee 43 Router, A mouten oo Like a Amout port ebbice thak proceses Packers . 14 hay four main components « tp ak Processing - * Receives o pockek on an ineut port. " ONEORS The packek'S clestination IP maddie and Loo, up Ane forwarding dable 4 Finck the outpur port, eunalogy - A_mail Somten_ MLading 0 Letter's adders Ry £witching - Tmeves THe _PacKeL From the inpak port 40 ang Dro eop surpuk pork inside tne rourer, eee + 4ypeS + memory Aw), bur Aho cd, Gwrmban (dost) ee cance ayy. Musing 0 Aetston. fas Aine AbMing anon Mignt lebverug buck . . Output Puocessing-— See 1 Sends ths packet eut the eulpur po o_deytnation AAs oe ee + dlrdles_cwevin gif Who — port tA tog ia ounalloay.-_yuting tha latter cathe Buch oH fol diliveuy ; Aveving - - "IF 490 many. pace annive pul queves - . : — “input i chet 10, lookup tanie Rouking Control piane “Rens routing algorithms fo builol the Foren arcting table. “Per- Router Contyol ~ eaur Touker computes CErackitionar xg: OSPF) "SON wnwel - A contrat wontrOUer vomput es table. % table example © A packer orrives ata router \ Input? Destination If [Link] Aptuvar chins, FAK tomy 492. 108.1.0]2u —> Port 2 2. Switdning = Packet moves to Port. 2 Via Crossbar Swit. “3 Oukpur : Sent owt Port 2. 4 busy, woahts tn output queue. ~ input Port 4 —* Susitthing Fabric —> ovtpwPort 1 _— input Port 2 —* Forwarding table ——? ev'pat Port 2 _™ SwitOring? mewt fo evtpyr Ontpud 3: Cutie: 5 Stag ube aii iis ai) cade w en 4.4 the Internet Protocol (IP) tp AH Me Internet's vome pHEtOUM , cUyiNIN how paces, adlanesseot anol otelivered. The IPV4 hea olen uy Wie BRLWEP OH a packek , NtUiNiNg metadata abou eon packet& . NS Fypically 20 bytes Cwithout options, Unkerr sa, and thos feds mat uoukOrr UL te forwarct Pack, “Frey, ek, 1Ov4 Heooler Fields - sversion (4 bit) + indicates 1P vourion (4 for Pu trdtenty Aeukon pon Th headire whore Hy. + Healer Lengts (4 bith): Lingth of He hiakre ee wooros ( wvally 5, for 20 byrty)- Support ep, bia = + Type of Service (Tos ,% pitt) : Hinks at priority on quality om th i ea + Total lengkr (16 bith) + Htak pockek sire (rec a dota) i, - byt (mar 65835 byes? — * Ident fcalion (le bits): Identifies fragments of a pa et wid wht padur a SpuUty + + Flags anck Fragen enk of fsed Obit FBbits | a pat sate (pg. bent pungent = Time fe leave (TTL bit * Max - pegs Coleomeam enitA by eat router). Z _ + Protocol (-bib) — —* Source 4? adda (82 bitd : * Deskin 1P (32 it) ———. Sptien C- 4e bgty) ° Marly ues. Padding Cueriadl) srminen hea don v h a ba ila : version | tety | Ir lectau Henge Tt. ‘ Venti Fi cabion, io oe of ser = —— . Time 0 Ave Meh coll eater nek E eC | SPEER _1P: cmoleh f — So Pertinabion 1p add TP a q # pom Cit ey) - a th 2 q $192. eg 4 au tao. Lo 014 © “tortor, 0.0. 4 Foauworslang ant aolebrersin g, TIP mtoldlresses + B2- bit Numbers Ceg [Link] for ‘subnetting + Divicles Nekworks into smote Sun Vices, Ceg 192.168-1.0 (24 wmto hs, 126 Subness ) *cC\DR : Uses /n notion for Mexivle addressing SINAT 3 Shores on€ pubic. IPamong omwices Ce 4. Heme x ten \cme ae WEA AD Ly * "ARMAS Urror memager Ce-g. “olestination ee er On, Hagnoskhar Ce.g. ping, z ICMP 2Ch® Hears * Zxample + ping qoogit- em user qua, lice, IPVG ° 128 —bit adlebtemes e.g. 2004 + Simpler_heactty ( 40 bytes, no checksum), nebwors 192. (68.10/24 into — 4s ubneb | Aes) pen Subnok 2 ABign — cra LAper For. 124 mean 24 bit network: £2: Subnok the Hee T the _foust | FEBS 22-24 =. 2Ab = 256 Wosts oddly, 4x 4 subnets, bewsto 2 pit C92 ~ 4A Aabrat har © host bih (242 - G4 nehwoork 4 AwrnL — aoldenser 194.168 .1.0 126 Co-ea) "92.169. 1. 64/26 (eu=l07 Jas aN '[Link].) 128 | gy (12r-igg) | 4 192-168-1192 la, '92-265) I+ 4-8 Routing Algorithm Aouling, ye Wit, frol Mu p est path for packers Line GPS fee Mleenet . Tw. main hypes “s _ bak “state CLs) Routing Piigowithm (Dijkstra’s) SAG OE Houten) Knows the pd network FO po gs _ (ned 2 upd, gdge 2 HMInks Dan Link ws (69 clitay) oda RStre ego rithm comp utes Sheritst path fue one KEW Tb ahora ee : _enaleyy= panning thi thontert oat Deyn Ming 4 6m pr 7 ———wepr ___ ~ - — 8 % Gas ums o yet ee ee ee ae et \ Oisdonce - Ve dor ov) japurow only known ot Mang chon “ete: 1 pawn Deratutly , + com hawt but Like Count aw wv Janka) Uredan RIP. POTiny wlyohiHe CBeUman fore) Thun AULghbours’ cLitanurs to dlentindlion Hanus vedas "(Cort Hs Jena upstate nity (ALow To otetect (toleey O's tance Velor rout, 13 usa fo colatate Ahonter4 tose peut Seda menage it fren Rui ghbour IW hanrelizect Stands lange update Unk Stabe Pov tng Ih Ustek 4 Cea te Gr Ate Cost. I Andy Miran te the rework, Ren, Crt zp A Shy wl] Amdo 4 al MSA GO un im. Wp daley Pe la ser tee ee ee ae Sofware Vetineg Networking (Sop) - 50M iS O% modo wy, My +0 Lonkro| NEWOTKS, UKE a contrat PWT Managing or Antone ions crevtors ) TRADITIONAL nehoor hing

You might also like