581333-1 Tietoliikenne I


Erilliskuulustelu 15.4.2003

Kirjoita jokaisen vastauspaperisi yläreunaan kurssin nimi ja kokeen päivämäärä sekä nimesi, syntymäaikasi ja allekirjoituksesi. Jos et ole ilmoittautunut tähän loppukokeeseen, niin liitä vastauspaperiisi myös henkilötunnuksesi tai opiskelijanumerosi.

1. TCP-protokolla (20 p)
Postipalvelin siirtää TCP-protokollaa käyttäen suuren, kuvia sisältävän sähköpostisanoman vastaanottajan postipalvelimelle.
a) Mitä palveluja kuljetuskerros tällöin tarjoaa postisovellukselle? (6 p)
b) Esitä, esim. kaaviokuvana, mitä TCP-segmenttejä, missä järjestyksessä ja milloin siirretään näiden postipalvelimien välillä. (14 p)

2. Osoitteista (20 p)
a) Millaisia osoitteita on käytössä TCP/IP-pinon eri kerroksilla? (8 p)
b) Millä tavoin eri kerrokset saavat selville niille palvelua tarjoavalla alemmalla kerroksella käytetyn osoitteen? (12 p)

3. Vastaa seuraaviin kysymyksiin. (20 p)
a) Reititin vastaanottaa eteenpäin toimitettavaksi 4000 tavun datasähkeen, jonka numero on 123, mutta verkko, jonne paketti pitäisi lähettää hyväksyy korkeintaan 1500 tavun kokoisia datasähkeitä. Miten IPv4-protokolla toimii tässä tilanteessa? (7p)
b) Käytetään CRC-virhetarkistusta, jossa virittäjänä (generator) on bittijono 1001. Onko vastaanotettu bittijono 101110101 virheetön? Perustele vastauksesi. (6 p)
c) Miten Ethernet-verkon asema toimii halutessaan lähettää kehyksensä verkkoon? (7 p)

581333-1 Data Communications I

Separate exam 15.4.2003

1. TCP protocol (20 p)
A post server transfers, using TCP protocol, a large e-mail message including pictures, to the post server of the receiver.
a)What services does the transport layer provide to the mail application? (6 p)
b) Explain, e.g. using diagrams, what TCP segments, in which order and when are exchanged between the sending and the receiving systems. (14 p)

2. About addresses (20 p)
b) What kind of addresses are used in the different layers of the TCP/IP stack? (8 p)
c) How do the different layers resolve the address used in the layer below that is providing service to them? (12 p)

3. Answer the following questions. (20 p)
a) A router receives a datagram of 4000 bytes with identication number 123, to be forwarded to a network that accepts only datagrams of 1500 bytes or less. How does IPv4 protocol behave in this situation? (7 p)
b) CRC error checking is used with the bit string 1001 as the generator. Is the received string 101110101 correct? Give reasons for your answer. (6 p)
c) How does a station in a Ethernet act when it wants to send a frame to the network? (7 p)