1 Topic 6: Network Layer - Chapter 5 : The Internet: Addressing & Services Business Data Communications, 4e.

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
CCNA – Network Fundamentals
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
Network Certification Preparation. Module - 1 Communication methods OSI reference model and layered communication TCP/IP model TCP and UDP IP addressing.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers Part 2.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Chapter 8 Administering TCP/IP.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Introduction to TCP/IP
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
Inside the Internet. INTERNET ARCHITECTURE The Internet system consists of a number of interconnected packet networks supporting communication among host.
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
Chapter Overview TCP/IP Protocols IP Addressing.
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
Process-to-Process Delivery:
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
Presentation Title Subtitle Author Copyright © 2002 OPNET Technologies, Inc. TM Introduction to IP and Routing.
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
CSC 336 Data Communications and Networking Lecture 8d: Congestion Control : RSVP Dr. Cheer-Sun Yang Spring 2001.
TCP/IP Addressing & Subnetting Unit objectives Discuss TCP/IP addressing and determine the IP address class and default subnet mask Discuss subnetting.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
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.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
Network Protocols Chapter 5 (TCP/IP Suite Book): IPv4 Addresses
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
Chapter 5 : The Internet: Addressing & Services Business Data Communications, 4e.
6-1 Business Data Communications and Networking, 6 th ed. FitzGerald and Dennis.
Network Layer (OSI and TCP/IP) Lecture 9, May 2, 2003 Data Communications and Networks Mr. Greg Vogl Uganda Martyrs University.
1 DETAILS OF PROTOCOLS The Zoo Protocol - TCP - IP.
NETWORKING (2) Dr. Andy Wu BCIS 4630 Fundamentals of IT Security.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
1 Kyung Hee University Chapter 11 User Datagram Protocol.
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Routing and the IP v4 Address Space BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Network Layer IP Address.
Windows Vista Configuration MCTS : Advanced Networking.
Some Network Commands n Some useful network commands –ping –finger –nslookup –tracert –ipconfig.
Understand IPv6 Part 2 LESSON 3.3_B Networking Fundamentals.
LESSON Networking Fundamentals Understand IPv4.
Introduction The network layer sits between the application layer and the data link layer. It accepts messages from the application layer and formats.
IP: Addressing, ARP, Routing
The Transport Layer Implementation Services Functions Protocols
Computer Communication and Networking
Chapter 5: Network and Transport Layers
Chapter 5 Network and Transport Layers
Chapter 16. Internetwork Operation
Presentation transcript:

1 Topic 6: Network Layer - Chapter 5 : The Internet: Addressing & Services Business Data Communications, 4e

2 Internet Addressing  32-bit global internet address  Includes network and host identifiers  Dotted decimal notation (binary) (decimal)

3 Types of addresses Address Example SoftwareExample Address Application LayerWeb browserike.ba.ttu.edu Network LayerTCP/IP Data Link LayerEthernet00-A0-C9-96-1D-90

4 Addressing The network layer determines the best route through the network to the final destination. Based on this routing, the network layer identifies the data link layer address of the next computer to which the message should be sent.

5 Assigning Addresses In general, the data link layer address is permanently encoded in each network card, and as part of the hardware that cannot be changed. Network layer addresses are generally assigned by software. Every network layer software package usually has a configuration file that specifies the network layer address for that computer.

6 Assigning Addresses Application layer addresses (or server addresses) are also assigned by a software configuration file. Virtually all servers have an application layer address, but most client computers do not. Network layer addresses and application layer addresses go hand in hand. (ruby.bus.utexas.edu - means at the network layer.)

7 *How IP Addresses Distributed  Internet Corporation for Assigned Names and Numbers (ICANN) oversees the Internet Assigned Numbers Authority (IANA) and controls how the Net's 4.29 billion IP addresses are used.  IANA distributes address space to three geographically diverse Regional Internet Registries (RIRs) and encourage three RIRs to operate so that addresses remain unique, are mapped efficiently, and are treated as a precious resource.  Three RIRs dole out available pools of IP based on a shared criteria. All deploy numerical address space to ISPs, local registries, and in some cases small users.

8 IP Address Allocation IANA InterNICAmericaRIPEEuropeAPNICAsia National Regional Consumer

9  American Registry for Internet Numbers (ARIN)  Reseaux IP Europeen (RIPE)  Asia Pacific Network Information Centre (APNIC) Three RIRs

10 Internet Addresses InterNIC is responsible for network layer addresses (IP addresses) and application layer addresses or domain names ( There are five classes of Internet addresses. Classes A, B, and C are available to organizations Class D and E are reserved for special purposes and are not assigned to organizations.

11 Internet Address Classes  Class A (/8 address) The first digit is fixed, ranging (01-7E), 16 million addresses 127.x.x.x is reserved for loopback  Class B (/16 address) First two bytes are fixed with the first digit ranging (80- BF), 65,000 addresses.  Class C (/24 address) First 3 bytes are fixed, with the first digit ranging (C0-DF), 254 addresses.  Class D & E The first digit is (E0-EF) and (F0-FF) respectively. Reserved for special purposes and not available to organizations.

12 Internet Address Classes 1/ / / / Class C Class D Class E Class BClass A Ranges of the first byte for different classes: Class A: 0xxxxxxx Class B: 10xxxxxx.xxxxxxxx Class C: 110xxxxx.xxxxxxxx.xxxxxxxx Class D: 1110xxxx.xxxxxxxx.xxxxxxxx Class E: 1111xxxx.xxxxxxxx.xxxxxxxx Note: The IP addresses with the first byte as 0 and 127 are reserved

13 Internet Address Classes # of Addresses Class Available Addr-Structure Example Available # Class A 16 millionFirst byte fixed50.x.x.x126 Organization assigns last three bytes Class B 65kFirst two bytes fixed x.x16k Organization assigns last two bytes Class C 254First three bytes fixed x2 millions Organization assigns last byte

14 Internet Addresses The Internet is quickly running out of addresses. Although there are more than 1 billion possible addresses, the fact that they are assigned in sets (or groups) significantly restricts the number of usable addresses. The IP address shortage was one of the reasons behind the IPv6, providing in theory, 3.2 x possible addresses. How to apply for IP address?

15 Subnets Assign IP addresses to specific computers so that all computers on the same local area network have a similar address. Each LAN that is logically grouped together by IP number is called a TCP/IP subnet. Benefit: allows it to be connected to the Internet with a single shared network address an necessary use of the limited number of network numbers Overload Internet routing tables on gateways outside the organizationgateways

16 Gateway

17 Subnet Mask Subnet mask enables a computer to determine which computers are on the same subnet. This is very important for message routing. E.g. IP address: Subnet mask: IP address: x is for the computers in the same subnet

18 Subnet Subnet with partial bytes addresses. E.g to Subnet mask: Subnet address: Subnet broadcast address:

19 Subnet IP address: Subnet mask: The IP prefix Destination IP: Destination IP:

20 Subnet Mask Template Network ID–Class B Host Address Possible Subnet Address Broadcast Address Mask Numbers

21 Dynamic Addressing An address assignment problem: Each time the computer is moved, or its network is assigned a new address, the software on each individual computer must be updated. Solution: dynamic addressing With this approach, a server is designated to supply a network layer address to a computer each time the computer connects to the network.

22 Dynamic Addressing Two standards for dynamic addressing are commonly used in TCP/IP networks: Bootstrap Protocol (bootp) for dial-up networks (1985) Dynamic Host Control Protocol (DHCP) for non-dial-up networks (1993)

23 Dynamic Addressing The Bootp or DHCP server can be configured to assign the same network layer address to the computer each time it requests an address or it can lease the address to the computer by picking the “next available” network layer address from a list of authorized addresses. Dynamic addressing greatly simplifies network management in non-dial-up networks too.

24 Address Resolution Address resolution: The sender translates the application layer address (or server name) of the destination into a network layer address; and in turn translates that into a data link layer address. Two approaches used in TCP/IP: Server address resolution Data link layer address resolution.

25 Domain  A domain refers to a group of networks that are under the administrative control of a single entity, such as a company.

26 Server Name Resolution Domain Name Service (DNS) Used for translating application layer addresses into network layer addresses. InterNIC Keeps the name and IP addresses of the name server that will provide DNS information for your address classes.

27 Domain Name System  32-bit IP addresses have two drawbacks Routers can’t keep track of every network path Users can’t remember dotted decimals easily  Domain names address these problems by providing a name for each network domain (hosts under the control of a given entity)  See Figure 5.6 for example of a domain name tree

28 DNS Database  Hierarchical database containing name, IP address, and related information for hosts  Provides name-to-address directory services  Key features: Variable-depth hierarchy. Unlimited levels Distributed database. Scattered throughout the Internet and private intranet. Distribution controlled by the database. Thousands of separately managed zones managed by separate administrators

29 Server Name Resolution Server address resolution process: TCP/IP sends a special TCP-level packet to the nearest DNS server asking for the requesting computer the IP address that matches the Internet address provided. If the DNS does not have the answer for the request, it will forward the request to another DNS. This is why it sometimes takes a long time to access certain sites. IP addresses are then temporarily stored in a server address table.

30 Data Link Layer Address Resolution In order to actually send a message, the network layer software must know the data link layer of the destination computer. In the case of a distant computer, the network layer would route the message by selecting a path through the network that would ultimately lead to the destination.

31 Data Link Layer Address Resolution The process: TCP/IP software sends a broadcast message (using Address-Resolution-Protocol or ARP) to all computers in its subnet requesting the data link layer address. The computer with the right IP address responds with its data link layer address The message is sent to the destination computer

32 Routing There are many possible routes or paths a message can take to get from one computer to another. Routing The process of determining the route or path through the network that a message will travel from the sender to the receiver. Routing table The routing information on each router, which specifies how message will travel through the network.

33 Dynamic Routing There are three commonly used dynamic routing protocols Routing Information Protocol (RIP) - used by the network manager to develop the routing table. Used by both TCP/IP and IPX/SPX. Internet Control Message Protocol (ICMP) - used on the internet with TCP/IP. Open Shortest Path First (OSPF) uses the number of computers in a route as well as network traffic and error rates to select the best route.

34 Connectionless vs. Connection-Oriented Routing Two ways a group of packets can be routed: Connectionless routing  Each packet is treated separately and makes its own way through the network. Connection-Oriented routing  Sets up a virtual circuit between the sender and receiver. Appears to use point-to-point circuit-switching, but actually uses store-and-forward.  Has greater overhead than connectionless, due to the routing information.

35 Connectionless vs. Connection-Oriented Virtual Circuit  Appears to the application software to use a point-to-point circuit  The network layer makes one routing decision and all packets follow the same route

36 Connectionless vs. Connection-Oriented TCP vs. UPD  TCP is used for connection-oriented routing TCP establishes the virtual circuit and IP routes the messages.  UDP is used for connectionless routing

37 Multicast Unicasting The usual transmission between two computers. Broadcasting Sending messages to all computers on a LAN or subnet. Multicasting Sending the same message to a group of computers temporarily in a class D IP address. IGMP is used for multicast. Anycasting An IPv6 transmission method allowing messages to be sent to any one of the host in a sub-network.

38 Quality of Service Quality of Service (QoS):  The idea that transmission quality (rates, error rates, bandwidth and jitter) can be measured, improved, and, to some extent, guaranteed in advance. QoS routing:  A special type of connection-oriented dynamic routing in which different messages or packets are assigned different priorities.

39 Categories of Traffic  Elastic traffic, such as FTP, , etc Allow fluctuating bandwidth, the total transmission time is important The data must correctly transmitted  Real-time traffic, such as videoconferencing. Demands certain bandwidth with isochronous features Tolerates some level of errors. Service quality includes: Throughput, Delay, Delay variation, and Packet loss.

40 Routing at Routers  Bandwidth schedule First in first out Round robin Prioritization  Queue management Packet discard policy Congestion control Packet Drop Packet arrivalPacket forward

41 Network Congestion  What is traffic congestion? The buffer in a forwarding device overflows. This results packet losses and incur retransmission. The transmission will worsen the situation.  Network congestion control is very important in flow management

42 Internet Flow Control  Internet flow control algorithm Slow start, congestion avoidance  Router queue management Random early detection (RED) for packet dropping  Data flow scheduling FIFO, round robin, priority queueing, weighted fair queueing

43 Internet Flow Control  Slow Start algorithm (RFC2001). T o avoid router running out of space Two windows: advertised window by receiver and congestion window by sender. The congestion window is flow control imposed by the sender, while the advertised window is flow control imposed by the receiver. The congestion window is initialized to one segment. Each time an ACK is received, the congestion window is increased by one segment. The sender can transmit up to the minimum of the congestion window and the advertised window. The sender starts by transmitting one segment and waiting for its ACK. When that ACK is received, the congestion window is incremented from one to two, and two segments can be sent. When each of those two segments is acknowledged, the congestion window is increased to four. This provides an exponential growth. At some point the capacity of the internet can be reached, and an intermediate router will start discarding packets. This tells the sender that its congestion window has gotten too large.

44 Internet Flow Control  Congestion Avoidance (RFC2001) Sets congestion window to one segment. When congestion occurs (indicated by a timeout or the reception of duplicate ACKs), one-half of the current window size (the minimum of congestion window and the receiver's advertised window, but at least two segments) is saved as X. When new data is acknowledged by the other end, increase congestion window, but the way it increases depends on whether TCP is performing slow start or congestion avoidance. If congestion window is less than or equal to X, TCP is in slow start; otherwise TCP is performing congestion avoidance. Slow start continues until TCP is halfway to where it was when congestion occurred (since it recorded half of the window size that caused the problem in step 2), and then congestion avoidance takes over. Congestion avoidance dictates that congestion window be incremented a linear growth of congestion window, compared to slow start's exponential growth.

45 Internet transmission services  Best-effort services The Internet treats all packet equally.  Integrated services (IntServ) IntServ refers to mechanisms that enable users to request a particular QoS for a flow of data.  Differentiated Services (DiffServ) DiffServ Use type-of-service in IPv4 header to indicate the required service quality.

46 Integrated Services  Routers require additional functionality to handle QoS-based service  IETF is developing suite of standards to support this  Two standards have received widespread support Integrated Services Architecture (ISA): To enable the provision of QoS support over IP-based Internet. Resource ReSerVation Protocol (RSVP)

47 Integrated Services Architecture  Enables provision of QoS over IP-networks  Features include Admission Control: A new flow needs a reservation for QoS Routing Algorithm: more parameters are considered other than just delay Queuing Discipline: Queuing policy takes into account of different requirements Discard Policy: Particularly for congestion management

48 Resource Reservation Protocol (RSVP)  A tool for prevention of congestion through reservation of network resources  Can be used in unicast or multicast transmissions  Receivers (not senders) initiate resource reservations  Operation: Complexity is in multicast transmission RSVP uses two basic messages: Resv and Path. In multicast, Resv messages generated by one of the multicast group receivers propagate upstream through distribution tree and create soft state in routers. Once it reaches the sender, hosts are enabled to set parameters for the first hop. Path is used to provide upstream routing information and sent from senders via the down stream tree to all receivers

49 Differentiated Services (DiffServ)  Provides QoS based on user group needs rather than traffic flows  Can use current IPv4 octets  Service-Level Agreements (SLA) govern DiffServ, eliminating need for application-based assignment

50 IPv4 Type of Service Field  Allows user to provide guidance on individual datagrams  3-bit precedence subfield Indicates degree of urgency or priority Queue Service & Congestion Control  4-bit TOS subfield Provides guidance on selecting next hop Route selection, Network Service, & Queuing Discipline PrecedenceTOS

51 DiffServ Domains Host Interior component Border component

52 DiffServ Operation  Routers are either boundary nodes or interior nodes  Interior nodes use per-hop behavior (PHB) rules  Boundary nodes have PHB & traffic conditioning

53 Token Bucket Scheme Max Burstiness: RT + B R: Token replenishment rate B: Bucket size

54 TCP/IP Configuration Information At least four pieces of information needed for a client computer TCP/IP configuration IP address Subnet mask Gateway IP address Domain name Server IP address

55 *Some Network Commands  Some useful network commands ping finger nslookup tracert ipconfig

56 Port Addresses What is a port address?  A unique number assigned to a network application as an address to receive or send data. Why need port addresses?  A single host may run several servers, such as Web, FTP, Telnet, , etc. When the network layer receives a message, it needs to know which application layer software package should receive the message.

57 Application Layer Port Addresses  Port numbers are divided in three ranges: Well-known ports: , controlled by IANA Registered ports: Dynamic or private ports: We also call them ephemeral ports.

58 Application Layer Port Addresses  Default port number assignmentsport number assignments Web: 80 (or 8080) FTP: 21 News group: 119 (or 8119) Telnet: 23 SMTP: 25  IANA (Internet Assigned Numbers Authority) is taking care this issue.

59 *WINS  WINS (Windows Internet Naming Service) manages the association of workstation names and locations with IP addresses without the user or an administrator having to be involved in each configuration change.  WINS automatically creates a computer name-IP address mapping entry in a table. When a computer is moved to another geographic location, the new subnet information will be updated automatically in the WINS table.  WINS complements the NT Server's DHCP.  WINS have been submitted to IETF as proposed open standards. New features are included in the follow-on to Windows NT, Windows 2000.

60 *News about IPv6  "IPv6 Internet Protocol Comes of Age“, AsiaBizTech (07/16/01) "IPv6 Internet Protocol Comes of Age“ IP version 6 (IPv6) will be unrolled in three waves extending from mid-2001 through 2003: The arrival of home gateways and IPv6-compliant PCs will comprise the first phase; the second wave will be marked by the advent of networked household appliances; the third wave will be the release of IPv6-enabled mobile phones. ISPs and manufacturers of equipment such as routers and switches expect to benefit by accelerating their own IPv6 development initiatives. The first wave is expected to hit at the same time Microsoft introduces Windows XP in October of this year, thus changing over its PC line to IPv6. The first manifestations of the second wave will be home gateways and IPv6-enabled game consoles, followed by AV gear such as DVD players and camera-equipped VCRs. NTT DoCoMo and the J-Phone Group are among the cellular carriers readying IPv6- capable products in preparation for the third wave in early 2003.