Tietoliikenne I /Liisa Marttinen


Kurssikoe 7.3.2002


1. Internetin protokollapinosta ja protokollista.

a) Esitä kaaviokuvana Internetin protokollapino ja kerro lyhyesti eri kerrosten päätehtävät. (5 p)

b) Mihin seuraavia protokollia käytetään? Mille Internetin protokollapinon kerrokselle kukin

niistä kuuluu? (8 p)

i) ARP-protokolla ii) DNS-protokolla iii) UDP-protokolla iv) PPP-protokolla


2. Sovellus A (esim. postipalvelin tai webbipalvelin) siirtää suurehkon, kuvia sisältävän tiedos-ton toisessa tietokokeessa olevalle sovellukselle B (esim. postipalvelimelle tai selaimelle) TCP-protokollaa käyttäen.

a) Oletetaan, että siirrossa ei esiinny mitään virheitä tai muita ongelmia. Selvitä kaaviokuvan avulla tai muuten selkeästi, mitä kaikkea tällöin TCP-tasolla tapahtuu eli mitä TCP-segmenttejä, missä järjestyksessä ja milloin lähettäjän ja vastaanottajan järjestelmien välillä vaihdetaan. (8 p)

b) Entä jos dataa siirrettäessä yksi TCP-segmentti katoaa kokonaan? Mitä silloin tapahtuu? Esitä kaaviokuvan avulla, kuinka virheestä toivutaan ja kuinka tiedonsiirto tämän jälkeen jatkuu. (6 p)


3. Runkoverkon reitittimet yhdistävät oheisen kuvan mukaisesti kahden yliopiston lähiverkko-ratkaisut. Toisen lähiverkon kone X lähettää IP-datasähkeen (datagram) toisen lähiverkon koneelle Y. Selvitä, miten lähetetty datasähke ohjautuu koneelta X koneelle Y. (15 p)

a) Mitä tekee keskitin (hub)?

b) Mitä tekee silta (bridge)?

c) Mitä tekevät runkoverkon reitittimet (router)?

d) Mitä tekee kytkin (switch)?

Kerro myös, mitä tietoja eri laitteet tarvitsevat ja miten tai mistä se saavat tarvitsemansa tiedot.






(tässä oli kuva kyseisestä verkosta)






4. Tarkistussumma ja virhetarkistukset

a) Käytössä on CRC-tarkistus ja virittäjä 1011. Vastaanotettu kehys on 11011001. Onko kehys

virheellinen? Perustele vastauksesi. (5 p)

b) Millaista virhetarkistusta käytetään IP-protokollassa? (3 p)












Data Communications I /Liisa Marttinen


Course examination 7.3.2002

1 .The Internet protocol stack and some Internet protocols

a ) Draw the Internet protocol stack and explain shortly the main tasks of each layer. (5 p)

b) Where and for what are the following protocols used? To which layer of the Internet protocol stac k does each protocol belong? (8 p)

i ) ARP ii) DNS iii) UDP iv) PPP

2. An application A (eg. a mail server or a web server) is sending a rather large file containing pictures to another application B (eg. a mail server or a browser) in another computer using TCP protocol.

a) Assume that there are no errors or other problems in the transmission. Explain using diagrams or otherwise clearly what happens in the TCP layer, ie. what TCP segments are sent, in which order and when between the sender and receiver systems. (8 p)

b) Suppose that one TCP segment is lost in the data transmission. What happens then? Draw another diagram showing how the systems recover from the error and continue data transmission after that. (6 p)


3. Routers connect the LANs of two universities according to the picture below. The host X in one LAN sends an IP datagram to the host Y in the other LAN. Explain how the datagram will be directed from host X to host Y.

a) What does the hub do?

b) What does the bridge do?

c) What do the routers do?

d) What does the switch do?

What information do these devices need and how or from where they get the necessary information? (15 p)




(Here was a picture of the network)




4. Checksums and error checking

a) The CRC checking is used and the generator is 1011. A frame 110101011 is received. Is it corrupted? Give reasons for your answer. (5 p)

b) What kind of error checking is used in the IP protocol? (3 p)