Övning 5 ETS052 Datorkommuniktion Routing och Networking

Relevanta dokument
Övning 5 EITF25 & EITF Routing och Networking. December 5, 2017

Övning 5 ETS052 Datorkommuniktion Routing och Networking

Övning 5 EITF25 & EITF Routing och Networking. October 29, 2016

ETS052 Internet Routing. Jens A Andersson

ETS052 Internet Routing. Jens A Andersson

ETS052 Internet Routing WILLIAM TÄRNEBERG

DIG IN TO Administration av nätverk- och serverutrustning

LTH, Institutionen för Elektro- och Informationsteknik (EIT)

DIG IN TO Administration av nätverk- och serverutrustning

Datasäkerhet och integritet

LTH, Institutionen för Elektro- och Informationsteknik (EIT) ETS052 Datorkommunikation Sluttentamen: , 08-13

EITF45 Internet Routing JENS ANDERSSON (BILDBIDRAG WILLIAM TÄRNEBERG)

Nätverkslagret - Intro

EITF45 Internet Routing JENS ANDERSSON (WILLIAM TÄRNEBERG)

EITF45 Internet Routing JENS ANDERSSON (WILLIAM TÄRNEBERG)

Lösningar till tentan i ETS052 Datorkommunikation

Tentamen CDT102 Datakommunikation i nätverk I 7,5hp

DIG IN TO Administration av nätverk- och serverutrustning

Lösningar till tentan i ETS052 Datorkommunikation

3) Routern kontrollerar nu om destinationen återfinns i Routingtabellen av för att se om det finns en väg (route) till denna remote ost.

Totalt antal poäng på tentamen: 50 För att få respektive betyg krävs: U<20, 3>=20, 4>=30, 5>=40

Kapitel 6, 7, o 8: ARP Vägval Från användare till användare. Jens A Andersson (Maria Kihl)

Isolda Purchase - EDI

Tentamen CDT102 Datakommunikation i nätverk I 7,5hp

LTH, Institutionen för Elektro- och Informationsteknik (EIT)

Instuderingsfrågor ETS052 Datorkommuniktion

Övning 3 ETS052 Datorkommuniktion IP, TCP och

Grundläggande rou-ngteknik. F2: Kapitel 2 och 3

Föreläsning 5. Vägval. Vägval: önskvärda egenskaper. Mål:

Beijer Electronics AB 2000, MA00336A,

Övning 4 EITF25 & EITF Protokoll. October 29, 2016

Får endast utföras av behörig personal. May only be carried out by authorized electrician

Schenker Privpak AB Telefon VAT Nr. SE Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr Säte: Borås

Writing with context. Att skriva med sammanhang

ETSF05 Internetprotokoll. Jens Andersson

ETSF05: Användarmodeller/Paradigmer ARQ Routingalgoritmer

DIG IN TO Administration av nätverk- och serverutrustning

IP routinghierarkier. Robert Löfman Institutionen för informationsbehandling Åbo Akademi, FIN Åbo, Finland e post: robert.lofman@abo.nospam.

ETSF05: Användarmodeller/Paradigmer ARQ Routingalgoritmer

LTH, Institutionen för Elektro- och Informationsteknik (EIT) ETS052 Datorkommunikation Sluttentamen: , 14-19

Från användare till användare. (Maria Kihl)

Consumer attitudes regarding durability and labelling

ETSF05: Network models Användarmodeller/Paradigmer Länkprotokoll: Flödeskontroll vs felhantering Routingalgoritmer.

Nätverksteknik A - Introduktion till Routing

Routingprotokollet Open Shortest Path First Projektrapport i kursen EDA 390 Datakommunikation och Distribuerade System våren 2005

Övningar - Datorkommunikation

Preschool Kindergarten

Karlstads universitet Institutionen för Informationsteknologi Datavetenskap

Lösenordsportalen Hosted by UNIT4 For instructions in English, see further down in this document

12.6 Heat equation, Wave equation

Pre-Test 1: M0030M - Linear Algebra.

Isometries of the plane

Uttagning för D21E och H21E

Kopplingslöst nätverkslager. Förra föreläsningen. Internet Protocol - IP. Terminologi. Transportprotokoll i Internet. IPs service modell

DIG IN TO Administration av nätverk- och serverutrustning

5 Internet, TCP/IP och Applikationer

Förändrade förväntningar

Rättningstiden är i normalfall 15 arbetsdagar och resultat anslås sedan i Ladok inom en vecka (under förutsättning att inget oförutsett inträffar).

DIG IN TO Administration av nätverk- och serverutrustning

3. Steg för steg. Kör IPv6 på riktigt med FortiGate! Principen är enkel:

2.1 Installation of driver using Internet Installation of driver from disk... 3

Protokoll i flera skikt Fragmentering Vägval DNS. Jens A Andersson

Hjälpprotokoll till IP

ETSF05: Network models Användarmodeller/Paradigmer Länkprotokoll: Flödeskontroll vs felhantering Routingalgoritmer.

Vässa kraven och förbättra samarbetet med hjälp av Behaviour Driven Development Anna Fallqvist Eriksson

Adding active and blended learning to an introductory mechanics course

STORSEMINARIET 3. Amplitud. frekvens. frekvens uppgift 9.4 (cylindriskt rör)

PORTSECURITY IN SÖLVESBORG

Routing Information Protocol


This exam consists of four problems. The maximum sum of points is 20. The marks 3, 4 and 5 require a minimum

Manhour analys EASA STI #17214

Kvalitetsarbete I Landstinget i Kalmar län. 24 oktober 2007 Eva Arvidsson

Viktigt! Glöm inte att skriva Tentamenskod på alla blad du lämnar in.

CUSTOMER READERSHIP HARRODS MAGAZINE CUSTOMER OVERVIEW. 63% of Harrods Magazine readers are mostly interested in reading about beauty

Ett hållbart boende A sustainable living. Mikael Hassel. Handledare/ Supervisor. Examiner. Katarina Lundeberg/Fredric Benesch

Dokumentnamn Order and safety regulations for Hässleholms Kretsloppscenter. Godkänd/ansvarig Gunilla Holmberg. Kretsloppscenter

Kapitel 6, 7, o 8: IP DNS Vägval Från användare till användare Jens A Andersson (Maria Kihl) Att skicka data över flera länkar.

Föreläsning 5: ARP (hur hitta MAC-adress) IPv4, IPv6 Transportprotokoll (TCP) Jens A Andersson

Information technology Open Document Format for Office Applications (OpenDocument) v1.0 (ISO/IEC 26300:2006, IDT) SWEDISH STANDARDS INSTITUTE

DIG IN TO Administration av nätverk- och serverutrustning

Datakommunikation. Nätskiktet. Routers & routing

Styrteknik: Binära tal, talsystem och koder D3:1

Chapter 2: Random Variables

Planering och RA/DHCPv6 i detalj

Module 6: Integrals and applications

Resultat av den utökade första planeringsövningen inför RRC september 2005

Webbregistrering pa kurs och termin

InstalationGuide. English. MODEL:150NHighGain/30NMiniUSBAdapter

Översättning av galleriet. Hjälp till den som vill...

Support Manual HoistLocatel Electronic Locks

Denna genomgång behandlar följande: IP (v4) Nätmasken ARP Adresstilldelning och DHCP

8 < x 1 + x 2 x 3 = 1, x 1 +2x 2 + x 4 = 0, x 1 +2x 3 + x 4 = 2. x 1 2x 12 1A är inverterbar, och bestäm i så fall dess invers.

samhälle Susanna Öhman

Schenker Privpak AB Telefon VAT Nr. SE Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr Säte: Borås

DIG IN TO Administration av nätverk- och serverutrustning

1. Internets Applikationer 8 poäng

5 Internet, TCP/IP och Tillämpningar

Module 1: Functions, Limits, Continuity

Second handbook of research on mathematics teaching and learning (NCTM)

Transkript:

Övning 5 TS5 Datorkommuniktion - 4 Routing och Networking October 7, 4 Uppgift. Rita hur ett paket som skickas ut i nätet nedan från nod, med flooding, sprider sig genom nätet om hop count = 3. Solution. When flooding is deployed, a packet is sent to all router ports and is only terminated once the packet TTL (Time To Live) has expired. As the packet leaves a router, the TTL count is reduces by one, including the origin router (). As a packet arrives at a router it is relayed to all other ports than the one it arrived on. Note that all packets retain the colour from their original source branch, and that the number represents the TTL value.

3 6 Hop 4 5 3 6 Hop 4 5 3 6 Hop 3 4 5 Uppgift. I figuren nedan visas ett enkelt nätverk. Antag att flooding används för att skicka meddelanden från A till. n övre gräns för antalet hopp används för att minska antalet paket. Vilket är det minsta värdet på antalet hopp for att minst ett paket ska nå? eräkna också totala antalet paket som kommer att skickas i nätet med denna hoppbegränsning.

Solution. The shortest path from A to is evidently though either or C and then onwards to D. Consequently, the packet will to need to leave at least 3 routers on its way to. As such, at minimum, the TTL should be set to 3. Hop A D C Hop A D C Hop 3 A D C The figure above illustrates how the initial two packages propagate through the system, and the subsequent packages it spawns. The figure also reveals that a total of 4 packets will be generated before they are discarded. Note that all packets retain the colour from their original source branch, and that the number represents the TTL value. 3 hops, 4 packets Uppgift 3. n router använder Distance Vector routing och har följande routingtabell: Nät-ID Antal hopp Router Net 6 A Net 3 4 C Net 4 3 A Net 6 C Net 7 3 3

Routern tar emot följande uppdateringsmeddelande från router C. Visa routingtabellen efter uppdateringen. Nät-ID Antal hopp Net 6 Net 3 4 Net 4 Net 6 Net 7 3 Solution 3. In Distance Vector Routing, each router keeps a record of the network around it. It is made aware of its neighbours by periodic updates with their routing tables. Likewise, it purveys its table to its neighbours in the same fashion. In this instance, router A has received the routing table form router C. As C is its neighbour, the distances presented in Cs table will have to be increased by one. A then proceeds with comparing Cs table with it own. Net-ID Hops Router Description Net 6 A To Net via C requires 7 hops. Keep old value. Net3 5 C Number of hops increased. Update value. Net4 C To Net4 via C requires hops. Update value. Net6 3 C Number of hops increased. Update value. Net7 3 To Net7 via C requires 4 hops. Keep old value. Uppgift 4. tt nätverk har 6 länkar, numrerade från till 6, och 4 routrar, numrerade från A till D. Varje länk utgör ett unikt subnät. Routrarna använder ett distance-vector-baserat routingprotokoll. Varje länk/subnät är anslutet till max två routrar. Ursprungligen är subnät, och 3 är s.k. stub net, det vill säga de ansluter till endast en router. Nedan finns routingtabellerna för routrarna A och D. 4

Router A Router D Router Nät-ID Kostnad Nästa nod Kostnad Nästa nod Kostnad Nästa nod - A - 4 D 3 C - 3 D - 4 3 D C 4 5 D - 3 A 6 - - A 7 4. 4. 4.3 Rita en skiss av det kompletta nätverket och markera subnäten och routrarna. Nätverket konfigureras om och router A tar emot ett routingmeddelande från en ny router. Visa router A:s routingtabell efter uppdatering. Rita en skiss over det nya nätverket. Solution 4. 4. The routing table reveals which routers that are its neighbours and how far a certain network is, in terms of hops. It is clear that A is only aware of its neighbour D. Additionally, it is also evident that A is connected to network and 6, as they have no next node. A 6 D 5 C 3 4 5

4. Comparing the routing tables in routers A and D it is apparent that they are already harmonized. What remains is to take into account the information provided by its new neighbour, router, in the same fashion as in problem 3. Net-ID Hops Router Net - Net Net3 D Net4 3 D Net5 D Net6 - Net7 3 4.3 With the updated routing table we can now proceed with drawing the resulting network as in problem 4 a). A 6 D 5 C 3 4 7 Uppgift 5. I nätverket nedan används ett link-state-baserat routingprotokoll. eräkna shortest-path trädet, utgående från nod A. 6

Solution 5. The router is given information about the entire network, it now has to calculate the shortest path to each node in the network, originating from itself. D F A C Uppgift 6. Antag nedanstående thernet-baserade nätverk. A,, C och D är värddatorer (hosts). R och R är routrar. DNS är en DNS-server och Switch är en thernet-switch. A,, och C har R som default gateway, och D har R som default gateway. R och R är statiskt konfigurerade så de behöver inte utbyta någon routinginformation. Vilka IP-paket kommer att skickas vid pilen i följande två fall? eskriv ramarnas syfte, MAC-adresser (både sändare och destination) samt IP-adresser (sändare och destination). Antag att alla caches/routingtabeller är tomma i båda fallen. 6. 6. A skickar en ping till D. A känner bara till D via dess symboliska adress www.d.se skickar en ping till D. känner bara till D via dess symboliska adress www.d.se" 7

Solution 6. 6. In this situation the host A is completely unaware of the MAC addresses of its neighbours in the network, nor is it aware of the IP address of www.d.se. Note that, R reroutes the Ping from A to D via R. Historically, this could might have triggered a ICMP redirect message from R to A, that would have instructed A to go through R to D next time. Destination Source Type MAC IP MAC IP ARP Request : MAC address of DNS roadcast - A - ARP Reply : MAC address of DNS A - DNS - DNS Request : IP address of www.d.se DNS DNS A A DNS Reply : IP address of www.d.se A A DNS DNS ARP Request : MAC address of R roadcast - A - ARP Reply : MAC address of R A - R - ICMP cho R D A A ARP Request : MAC address of R roadcast - R - ICMP cho Reply A A R D 8

6. In this scenario we are only observing the ARP broadcast messages from other nodes. Destination Source Type MAC IP MAC IP ARP Request : MAC address of DNS roadcast - - ARP Request : MAC address of R roadcast - - ARP Request : MAC address of R roadcast - R - 9