1 Internet Protocol. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error.

Slides:



Advertisements
Similar presentations
Discussion Monday ( ). ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier header checksum time to live.
Advertisements

Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
4 IP Address (IPv4)  A unique 32-bit number  Identifies an interface (on a host, on a router, …)  Represented in dotted-quad notation
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
Business Data Communications & Networking
TCP/IP TCP/IP architecture
4: Network Layer4a-1 IP Addressing: introduction r IP address: 32-bit identifier for host, router interface r interface: connection between host, router.
8-1 Last time □ Network layer ♦ Introduction forwarding vs. routing ♦ Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding.
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
IP Addressing: introduction
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
12 – IP, NAT, ICMP, IPv6 Network Layer.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
1 Routing Protocols. 2 Distributed Routing Protocols Rtrs exchange control info Use it to calculate forwarding table Two basic types –distance vector.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Cisco – S1C10 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Network Layer and Routing. NL responsibility Main responsibilities –Host to Host delivery. –Finding path to destination. Services provided to TL, receive.
Transport Layer 3-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012  CPSC.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Internetworking and Network Layer in Internet Lecture Tunneling, Internetwork Routing 2.Fragmentation 3.IP-Protocol 4.IP-Address Classes(A,B,C,D,E),
Connecting The Network Layer to Data Link Layer. ARP in the IP Layer The Address Resolution Protocol (ARP) The Address Resolution Protocol (ARP) Part.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
CS4550 Computer Networks II IP : internet protocol, part 2 : packet formats, routing, routing tables, ICMP read feit chapter 6.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 Network Layer Lecture 15 Imran Ahmed University of Management & Technology.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
Networks and Protocols CE Week 7b. Routing an Overview.
Transport Layer3-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
1 Addressing, Internetworking. 2 Collection of Subnetworks The Internet is an interconnected collection of many networks.
Ethernet switch Hosts Can talk using Ethernet addresses only.
The Internet Network layer
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
1 Chapter 4: Internetworking (Internet Protocol) Dr. Rocky K. C. Chang 16 March 2004.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Packet Switch Network Server client IP Ether IPTCPData.
IP - Internet Protocol No. 1  Seattle Pacific University IP: The Internet Protocol Kevin Bolding Electrical Engineering Seattle Pacific University.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Introduction to Networks
12 – IP, NAT, ICMP, IPv6 Network Layer.
Scaling the Network: Subnetting and Other Protocols
© 2003, Cisco Systems, Inc. All rights reserved.
Computer Communication Networks
IP: Addressing, ARP, Routing
Networking CS 3470, Section 1 Sarah Diesburg
Routing BY, P.B.SHANMATHI.
CS 457 – Lecture 10 Internetworking and IP
Advanced Computer Networks
Internetworking Outline Best Effort Service Model
Wide Area Networks and Internet CT1403
Scaling the Network: Subnetting and Other Protocols
ECSE-4670: Computer Communication Networks (CCN)
Review of Internet Protocols Network Layer
Presentation transcript:

1 Internet Protocol

2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error reports –special service requests (priority, custom routes) –congestion indication Real diff: size of addresses

3 IPv4 Packet Header Version (4 b)hdr lnth (4 b) TOS total length pkt id offset df mf (3 b) offset (cont’d) TTL (time to live) protocol hdr checksum source destination options padding Variable (<40B) variable Don’t Fragment More Fragments TCP, UDP 1 1 1

4 Collection of Subnetworks The Internet is an interconnected collection of many networks.

5 IP Addresses IP addresses are given to –Computers –Router interfaces Each address comprises network address and host address Mask comprises ones in the positions of a network address and zeros in the positions of a host address. It is “anded” with the packet IP destination address, and routed based on the network address.

6 Classful IP Addresses IP address formats. Class A: 126 networks with 16 million users Class B: networks with 64K users Class C: 2 million networks with 256(-2) users

7 Special IP Addresses Network 0 0 … 0 0 Network address

8 Subnets A campus network consisting of LANs for various departments. Switch, repeater

9 Subnets A part of the host address is used as the subnet address Each router interface is given an IP address and a mask that corresponds to the subnet address. Packets are routed based on subnet addresses. The number of addresses in the router memory is significantly decreased. Routing decision simplified.

10 Subnets A class B network subnetted into 64 subnets with 1022 hosts. Example starts at /22 to /22

11 CIDR – Classless Inter Domain Routing Subnets can be arbitrary sizes, masks arbitrary lengths. Packets of one subnet are most often routed toward different subnet. Routers match the IP destination address with subnet addresses. Packet is routed toward the subnet whose address is the longest prefix of the IP destination address, and which is stored in the observed router.

12 CIDR 5-59 ISP Provider /20

13 ARP– The Address Resolution Protocol User knows only IP address of the destination (which is learnt from a DNS server), but it needs the destination MAC address. It broadcasts ARP request with the destination IP address, and the destination responds with its address. Alternatively if the destination is not on the same LAN, router sends ARP response (proxy ARP) with its MAC address, or user knows from the IP address that its destination is not on LAN, it sends a frame to the router MAC address.

14 ARP– The Address Resolution Protocol Three interconnected /24 networks: two Ethernets and an FDDI ring.

15 User Learns its Own Address User should learn its own IP address. RARP (Reverse ARP): user broadcasts request for the IP address providing its MAC address. BOOTP: user sends the request for its IP address to the designated router, which forwards the request to the network. Administrator has to assign IP for each MAC address manually.

16 DHCP- Dynamic Host Configuration Protocol User broadcasts request for IP address. DHCP relay agent learns about the request, and sends it to the remote DHCP server which leases to the user first available address.

17 DHCP- Dynamic Host Configuration Protocol Operation of DHCP.

18 IPv6 (4 bits) TOS flow label (20 bits) vers (8 bits) payload length (2 B)Next (1 B)Hops (1 B) Source (128 bits) Destination (128 bits) hop by hop hdr, or dest info, or authentication hdr, or fragmentation hdr...

19 Distance Vector Routing Rtr knows –own ID –how many cables hanging off box –cost, for each cable, of getting to nbr j k m n cost 3 cost 2 cost 7 I am “4”

20 Distance Vector (DV) Routing Initialize distances to all rtrs in the network to be 0, except to its nbrs. Rtr learns from nbrs their distances to all nodes in the network, calculate own distances, and forward the distance vector to nbrs. This repeats until the distance vector converges. Rtr updates the distance vector whenever it receives different distance vector from some nbr, or whenever some link breaks. Distance vector is either sent periodically or when the network configuration changes.

21 Example of DV Routing

22 Link State Routing Construct Link State Packet (LSP) –who you are –list of (nbr, cost) pairs Broadcast LSPs to all rtrs Store latest LSP from each rtr received from nbrs Compute Routes Forward LSPs from each nbr to other nbrs