Presentation is loading. Please wait.

Presentation is loading. Please wait.

Marwan Al-Namari Week 5. Responsible for delivering packets between endpoints over multiple links Physical Link Network Transport Application.

Similar presentations


Presentation on theme: "Marwan Al-Namari Week 5. Responsible for delivering packets between endpoints over multiple links Physical Link Network Transport Application."— Presentation transcript:

1 Marwan Al-Namari Week 5

2 Responsible for delivering packets between endpoints over multiple links Physical Link Network Transport Application

3 Store-and-forward packet switching » Connectionless service – datagrams » Connection-oriented service – virtual circuits » Comparison of virtual-circuits and datagrams »

4 Hosts send packets into the network; packets are forwarded by routers ISP’s equipment

5 UDP : User Datagram Protocol. Packet is forwarded using destination address inside it Different packets may take different paths ISP’s equipment A’s table (initially) A’s table (later) C’s Table E’s Table

6 TCP: Transmission Control Protocol. Packet is forwarded along a virtual circuit using tag inside it Virtual circuit (VC) is set up ahead of time ISP’s equipment A’s table C’s Table E’s Table

7

8 Almost everything on the Internet involves two programmes talking to each one another. e.g. browsing a web site Connecting a programme on one computer to another programme on another computer is like making a telephone call. The server must know the phone number of the receiver and the receiver must be around to pick up the phone. In the TCP/IP world a phone number is called a SOCKET composed of three parts: IP address of the receiver, receiving programmes port number and protocol being used

9 socket = protocol ip address : port number e.g. TCP 195.44.0.112 : 80 UDP 143.52.28.10 :53

10 UDP provides a connectionless datagram service that offers unreliable, best- effort delivery of data transmitted in messages. This means that neither the arrival of datagrams nor the correct sequencing of delivered packets is guaranteed. UDP does not recover from lost data through retransmission. UDP is used by applications that do not require an acknowledgement of receipt of data and that typically transmit small amounts of data at one time. NetBIOS name service, NetBIOS datagram service, and SNMP are services and applications that use UDP. UDP is defined in RFC 768. E.g. When Net Send * is used; messages go out on UDP port 138. The following table describes the key fields in the UDP header.

11 FieldFunction Source PortUDP port of sending host. Destination Port UDP port of destination host. UDP Checksum Verifies the integrity of the UDP header and the UDP data.

12 UDP Port NumberDescription 53Domain Name System (DNS) Name Queries 69Trivial File Transfer Protocol (TFTP) 137NetBIOS name service 138NetBIOS datagram service 161SNMP


Download ppt "Marwan Al-Namari Week 5. Responsible for delivering packets between endpoints over multiple links Physical Link Network Transport Application."

Similar presentations


Ads by Google