Presentation is loading. Please wait.

Presentation is loading. Please wait.

TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,

Similar presentations


Presentation on theme: "TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,"— Presentation transcript:

1 TCP/IP PROTOCOL UNIT 6

2 Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP, ICMP, IGMP Data Link Network Access Ethernet, Token-Ring... Physical

3 TCP/IP Layers LayerPurpose of the Layer Application LayerDefines the application used to process request & what ports and sockets are used Transport LayerDefines the type of connection established between hosts and how acknowledgements are sent. Internet LayerDefines the protocols used for addressing and routing the data packets. Network LayerDefines how the host connect to the network

4 TCP UDP IP 802.3 Process Layer Transport Layer Network Layer Data-Link Layer Process ICMP, ARP & RARP

5 What is an IP Address?(pg.no. 550 F) An IP address is a unique global address for a network interface. An IP address: - is a 32 bit long identifier - encodes a network number (network prefix) and a host number

6 Dotted Decimal Notation IP addresses are written in a so-called dotted decimal notation Each byte is identified by a decimal number in the range [0..255]: Example: 10001111100000001000100110010000 1 st Byte = 128 2 nd Byte = 143 3 rd Byte = 137 4 th Byte = 144 128.143.137.144

7 The network prefix identifies a network and the host number identifies a specific host Network prefix and Host number network prefixhost number

8 Find IP address E.g. 1) 10000001 00001011 00001011 11101111 2) 11000001 10000011 00011011 11111111 3) 111.56.45.78 4) 221.34.7.82

9 Classful Addressing(pg.no.552) Classes of IP addresses are identified by the decimal number of the 1st octet – Class A address begin with a 0 bit Range of class A addresses = 0.0.0.0 to 127.255.255.255 – Class B address begin with a 1 bit and a 0 bit Range of class B addresses = 128.0.0.0 to 191.255.255.255 – Class C addresses begin with two 1 bits & a 0 bit Range of class C addresses = 192.0.0.0 to 223.255.255.255 - Class D is used for multicasting-used when single message is to be sent to a group of computers.

10 The four formats of IP Addresses 0 0 Net ID 10 110 NetID 1110 Multicast Group ID HostID Net ID HostID 8 bits 11110 Reserved for future use

11 Classes

12 Find the class of each address: A) 00000001 00001011 00001011 11101111 B) 11000001 10000011 00011011 11111111 C) 14.23.120.8 D) 252.5.15.111

13 Subnet Addresses An organization can subdivide it’s host address space into groups called subnets. The subnet ID is generally used to group hosts based on the physical network topology. 10 NetID SubnetID HostID

14 Subnetting router Subnet 1 128.213.1.x Subnet 2 128.213.2.x Subnet 3 128.213.3.x

15 Subnetting Subnets can simplify routing. IP subnet broadcasts have a host ID of all 1s. It is possible to have a single wire network with multiple subnets.

16 IP Datagram(pg.no.583) 048121619242831 Version (4bits) Hlen (4 bits) Service( 8 bits)Total Length (16 bits) Identifier (16 bits) Flag ( 3 bits) Fragmentation Offset (13 bits) Time To Live (8 bits)Protocol( 8 bits)Checksum (16 bits) Source Address Destination Address Options (if any)(Routing,Timing management and allignment) Data

17 IPv4 & IPv6

18 ARP The Address Resolution Protocol is used by a sending host when it knows the IP address of the destination but needs the Ethernet address. ARP is a broadcast protocol - every host on the network receives the request. Each host checks the request against it’s IP address - the right one responds.

19 ARP conversation HEY - Everyone please listen! Will 128.213.1.5 please send me his/her Ethernet address? not me Hi Green! I’m 128.213.1.5, and my Ethernet address is 87:A2:15:35:02:C3

20 Reverse Address Resolution The process of finding out the IP address of a host given a hardware address is called Reverse Address Resolution Reverse address resolution is needed by diskless workstations when booting.

21 RARP conversation HEY - Everyone please listen! My Ethernet address is 22:BC:66:17:01:75. Does anyone know my IP address ? not me Hi Green! Your IP address is 128.213.1.17.

22 ICMP Internet Control Message Protocol ICMP is a protocol used for exchanging control messages. ICMP uses IP to deliver messages. ICMP messages are usually generated and processed by the IP software, not the user process.

23 UDP User Datagram Protocol UDP is a transport-layer protocol  communication between processes UDP uses IP to deliver datagrams to the right host.

24 Ports UDP/IP uses an abstract destination point called a protocol port. Ports are identified by a positive integer. Operating systems provide some mechanism that processes use to specify a port.

25 Ports Host A Host B Process

26 UDP Datagram Delivery Connectionless Unreliable Minimal Source PortDestination Port LengthChecksum Data UDP Datagram Format

27 TCP Transmission Control Protocol TCP is an alternative transport layer protocol supported by TCP/IP. TCP provides:  Connection-oriented  Reliable  Full-duplex  Byte-Stream

28 TCP frame structure


Download ppt "TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,"

Similar presentations


Ads by Google