1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.

Slides:



Advertisements
Similar presentations
CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
Advertisements

TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
1  Changes in IPv6 – Expanded addressing capabilities (32 to 128 bits), anycast address – A streamlined 40-byte header – Flow labeling and priority –
8-1 Last time □ Network layer ♦ Introduction forwarding vs. routing ♦ Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 22 Omar Meqdadi Department of Computer Science and Software Engineering University.
Announcement r Recitation tomorrow on Project 2 r Midterm Survey at the end of this class.
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Network Layer4-1 IP: Internet Protocol r Datagram format r IPv4 addressing r DHCP: Dynamic Host Configuration Protocol r NAT: Network Address Translation.
Routing - II Important concepts: Hierarchical Routing, Intra-domain routing, inter- domain routing, RIP, OSPF, BGP, Router Architecture.
Network Layer4-1 Router Architecture Overview Two key router functions: r run routing algorithms/protocol (RIP, OSPF, BGP) r switching datagrams from incoming.
Announcement r Project 2 Extension ? m Previous grade allocation: Projects 40% –Web client/server7% –TCP stack21% –IP routing12% Midterm 20% Final 20%
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,
Chapter 4 Queuing, Datagrams, and Addressing
Network Layer Moving datagrams. How do it know? Tom-Tom.
Network Layer4-1 NAT: Network Address Translation local network (e.g., home network) /24 rest of.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Network Layer – part 31 Customer-Provider Routing Relationships  The Global Internet consists of Autonomous Systems (AS) interconnected with each other:
Network Layer Lecture # 2 MAHS. 4: Network Layer 4b-2 Hierarchical Routing scale: with 200 million destinations: r can’t store all dest’s in routing tables!
Multicasting  A message can be unicast, multicast, or broadcast.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Network Layer (part 2) CPSC 363 Computer Networks Ellen Walker Hiram College (Includes figures from Computer Networking by Kurose & Ross, © Addison Wesley.
12 – IP, NAT, ICMP, IPv6 Network Layer.
Lecture 14 ICMP: Internet Control Message Protocol r used by hosts, routers, gateways to communication network-level information m error reporting: unreachable.
Ch 4. The Network Layer Myungchul Kim
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
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.
1 Chapter 4: Network Layer r 4.4 IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP m IPv6 r 4.5 Routing algorithms m Hierarchical routing.
Network Layer 4-1 Chapter 4 Network Layer. Network Layer 4-2 Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3.
Router Architecture Overview
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.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
1 Network Layer Lecture 13 Imran Ahmed University of Management & Technology.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
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.
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r Understand principles behind network layer services: m Routing (path selection) m dealing with.
IP. Classless Inter-Domain Routing Classful addressing scheme wasteful – IP address space exhaustion – A class B net allocated enough for 65K hosts Even.
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.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
CSE 421 Computer Networks. Network Layer 4-2 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
4: Network Layer4-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.
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Introduction to Networks
12 – IP, NAT, ICMP, IPv6 Network Layer.
Chapter 4: Network Layer
Homework 4 Out: Fri 2/24/2017 In: Fri 3/10/2017.
Computer Communication Networks
TRANSPORT LAYER BY, Parthasarathy.g.
Chapter 4: Network Layer
Chapter 4: Network Layer
Routing BY, P.B.SHANMATHI.
What’s “Inside” a Router?
UNIT III ROUTING.
Wide Area Networks and Internet CT1403
Internet Protocol, Version 6 (IPv6)
Chapter 4 Network Layer Computer Networking: A Top Down Approach 5th edition. Jim Kurose, Keith Ross Addison-Wesley, April Network Layer.
Presentation transcript:

1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers o Inter-autonoumous system routing protocol Hierarchical routing

2 o Fig 4.11

3 o Fig 4.13 o IPv4, IP version 6 o Internet Control Message Protocol (ICMP) The Internet Protocol (IP)

4 o IPv4 addressing – An IP address is associated with an interface rather than with the host or router containing the interface. – 32 bits long – Dotted-decimal notation (pp. 322) – Fig 4.14 – /24 where /24 -> a network mask, network prefix, an IP network, a network

5 o Fig 4.15

6 o Classful addressing: A, B, C, D o Fig 4.17 o Classless Interdomain Routing (CIDR): e.g., a.b.c.d/21 for 2000 hosts o Corporation for Assigned Names and Numbers (ICANN) – Allocate IP address – Manage the DNS root servers – Assign domain names – Resolve domain name disputes

7 o Obtaining a host address – Manual configuration – Dynamic Host Configuration Protocol (DHCP)

8

9 o Fig 4.21 Addressing, Routing, and Forwarding

10 o Fig 4.22

11 o Fig 4.23 o Type of service: differentiated service (e.g., Cisco) o IPv6: no fragmentation at routers o Why does TCP/IP perform error checking at the both layers? o IP options were dropped in the IPv6 header. IPv4 datagram format

12 o MTU(max transfer unit): max amount of data that a link-layer packet can carry, e.g., 1,500 bytes for Ethernet, 576 bytes for wide-area links o Fragment o The designers of IPv4 decided to put the job of datagram reassembly in the end systems rather than in network routers. IP datagram fragmentation

13 o Fig 4.24

14 o Table 4.3

15 o Error reporting o Above IP o Fig 4.25 ICMP

16 o For a newly arriving host, the DHCP does – DHCP server discovery: broadcasting – DHCP server offer(s): the proposed IP address for the client, the network mask, and an IP address lease time – DHCP request – DHCP ACK o From a mobility aspect, how about DHCP? DHCP

17 o Fig 4.27

18 o The NAT-enabled router does not run an Inter-AS routing protocol. o The NAT-enabled router behaves to the outside world as a single device with a single IP address. (port numbers) o Fig 4.28 Network Address Translators (NATs)

19 o Intra-AS routing: RIP and OSPF o Routing Information Protocol – Distance vector protocol – Hop count as a cost metric – Max cost of a path: 15 – Every 30 seconds for RIP advertisements o Open Shortest Path First – Link state protocol – Once every 30 minutes – Adv.: security, multiple same-cost paths, integrated support for unicast and multicast routing, and support for hierarchy within a single routing domain. Routing in the Internet

20 o Fig 4.35

21 o Inter-AS routing: BGP – Path vector protocol – Exchange path information than cost information – Routing policy – On TCP

22 o Fig 4.38 (router arch) o Fig 4.39 (input port) Router

23 o Given the need to operate at today’s high link speeds, a number of ways to find out an appropriate forwarding table entry. – A linear search – Store the forwarding table entries in a tree data structure – Content addressable memories – Forwarding table entries in a cache

24 o Fig 4.40 (switching fabric)

25 o Fig 4.41 (output ports) o Packet queues at both the input ports and the output ports -> packet loss depending on the traffic load, the relative speed of the switching fabric, and the line speed.

26 o Fig 4.42 o Packet scheduler: choose one packet among queued for transmission – First-come-first-served (FCFS) scheduling – Weighted fair queueing (WFQ) – Important for quality-of-service guarantees.

27 o Drop a packet before the buffer is full in order to provide a congestion signal to the sender -> active queue management (Random Early Detection (RED)) o Head-of-the-line (HOL) blocking in an input-queued switch o Fig 4.43

28 o Changes in IPv6 – Expanded addressing capabilities (32 to 128 bits), anycast address – A streamlined 40-bute header – Flow labeling and priority – Fig 4.44 IPv6

29 o IPv6 vs IPv4 – Fragmentation/reassembly: IPv6 does not allow for fragmentation and reassembly at intermediate routers. – Header checksum: IPv4 header checksum needed to be recomputed at every router. – Options: next headers pointer in IPv6 o ICMP for IPv6 – Packet too big, unrecognized IPv6 options error codes – IGMP o Transitioning from IPv4 to IPv6 – Flag day – Dual-stack: DNS to determine whether another node is IPv6 or IPv4 – Tunneling

30 o Fig 4.45 o Fig 4.46

31 o Unicast vs multicast o The sending of a packet from one sender to multiple receivers with a single send operation. o Network-layer aspects of multicast o Handle multicast groups – One-to-all unicast – Application-level multicast – Explicit multicast at the network layer o How to identify the receivers of a multicast datagram? – Address indirection: a single identifier is used for the group of receivers -> class D o and how to address a datagram sent to these receivers? Multicast routing

32 o Fig 4.47

33 o Fig 4.48

34 o IGMP – Group membership protocol – Locally between a host and an attached router – Means for a host to inform its attached router that an application running one the host wants to join a specific multicast group – Joining a multicast group is receiver-driven o Network-layer multicast algorithms (PIM, DVMRP, MOSPF) – Coordinate the multicast routers so that multicast datagrams are routed to their final destinations o Table 4.4

35 o Fig 4.50