CS 453 Computer Networks Lecture 21 Layer 3 Network Layer Network Layer of the Internet.

Slides:



Advertisements
Similar presentations
CS 453 Computer Networks Lecture 20 Layer 3Network Layer Network Layer of the Internet.
Advertisements

Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
 As defined in RFC 826 ARP consists of the following messages ■ ARP Request ■ ARP Reply.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Chapter 5 The Network Layer.
Chapter 14 TCP/IP and Routing Part #1 Unix System Administration.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Subnetting.
IP Routing: an Introduction. Quiz
EEC-484/584 Computer Networks Lecture 11 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Overview of simple LANs. Networking basics: LAN TCP/IP is the protocol used in the Internet and dominates the internet and transport layers The subnet.
Lecture 8 Modeling & Simulation of Communication Networks.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
Support Protocols and Technologies. Topics Filling in the gaps we need to make for IP forwarding work in practice – Getting IP addresses (DHCP) – Mapping.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
DHCP: Dynamic Host Configuration Protocol
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
ARP Scenarios CIS 81 and CST 311 Rick Graziani Fall 2005.
23-Support Protocols and Technologies Dr. John P. Abraham Professor UTPA.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
9/11/2015Home Networking1 Bob.test Have Road Runner Unhappy about reports of constant probes of machines Policy decision –I want to prevent unauthorized.
DNS (Domain Name System) Protocol On the Internet, the DNS associates various sorts of information with domain names. A domain name is a meaningful and.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
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.
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
Network Addresses, Switches and Routing Bob Bradley IS361 Fall 2005 Chapter 1 Part 2.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Private Network Addresses IP addresses in a private network can be assigned arbitrarily. – Not registered and not guaranteed to be globally unique Generally,
1 Addressing, Internetworking. 2 Collection of Subnetworks The Internet is an interconnected collection of many networks.
1 Connectivity with ARP and RARP. 2 There needs to be a mapping between the layer 2 and layer 3 addresses (i.e. IP to Ethernet). Mapping should be dynamic.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
ARP ‘n RARP. The Address Resolution Protocol (ARP) is a request sent out by a computer to find another computer’s MAC address. It already knows the IP.
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Address Resolution Protocol Yasir Jan 20 th March 2008 Future Internet.
Network Layer IP Address.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
IP - Internet Protocol No. 1  Seattle Pacific University IP: The Internet Protocol Kevin Bolding Electrical Engineering Seattle Pacific University.
Chapter 5e.  Upon completion of this chapter, you should be able to:  Find IP configuration settings on Windows & Linux  Troubleshoot IP configuration.
Chapter 05 Exam Review CCNA Discovery 01 – Computer and Network Fundamentals Presented by: Phillip Place Cisco Academy Instructor Lake Michigan College.
© 2003, Cisco Systems, Inc. All rights reserved.
Chapter 9 Introduction To Data-Link Layer 9.# 1
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Chapter 5 Network and Transport Layers
IP: Addressing, ARP, Routing
Scaling the Network: The Internet Protocol
6 Network Layer Part III Computer Networks Tutun Juhana
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
Introduction to Networking
NET323 D: Network Protocols
Net 323: NETWORK Protocols
NAT/ARP/RARP (Ch 5 & 8) Dr. Clincy Lecture.
EEC-484/584 Computer Networks
8PM – Quickly Overview Final Project
NET323 D: Network Protocols
EEC-484/584 Computer Networks
Troubleshooting ip Chapter 5e.
Scaling the Network: The Internet Protocol
INFORMATION FLOW ACROSS THE INTERNET
Computer Networks Protocols
Presentation transcript:

CS 453 Computer Networks Lecture 21 Layer 3 Network Layer Network Layer of the Internet

IP Network Address Translation NAT NAT Remember that IP addresses should be unique – Globally, Universally There are not really enough IP addresses to go around Many situations where you have a single “legitimate” IP address So, how do you expand your local area network with that single address Network Address Translation - NAT

IP Network Address Translation NAT NAT Common scenario— You buy a cheap ethernet switch/router from Nerd-R- Us to install at home Your connect it to your Cable modem Your router acts like a single DHCP client – gets a single IP address from the ISP So, you hook up your mother-in-law’s computer, Uncle Fred’s computer, and you throw a Cat5 cable out the window to your neighbor and connect his computer to your router Ok, but…

IP Network Address Translation NAT NAT Common scenario— … you can’t all use the same ISP assigned IP address… How would packets know which host they are going to, coming from Network Address Translation

IP Network Address Translation NAT NAT There are three special IP address ranges Non-routable Non-unique These are 10.x.x.x x.x ??? So the “backside” of the router issues DHCP addresses too,… …but these addresses are from the non-routable families

IP Network Address Translation NAT NAT Recall that the IP packet header contains the IP address of the host,. … but also the socket that the transport layer is using From the outside all hosts in our little LAN look like they have the same IP address

IP Network Address Translation NAT NAT The router creates a table… The router assigns each internal host a port number, along with the The table maps the external IP+port to the internal IP in the local LAN External IP/PortInternal IP / / ….

IP Network Address Translation NAT NAT From: Tanenbaum, 2003, 446

IP Network Address Translation NAT NAT NAT really irks a lot in the IP community Violates the IP unique address rule IP is connectionless, NAT creates a connection Must track state Violates protocol layer convention Dips into IP header (port address) Breaks on some protocols (payload imbedded addresses Might not be able to scale to large subnet

ICMP Internet Control Message Protocol In addition to all the user, host to host message traffic using IP protocol in the network… Routers, switches and other devices need to talk to each other …to keep the network running They have their own protocol for doing this ICMP

MessageMeaning Destination UnreachablePacket could not be delivered Time ExceededTimer/counter hit 0 Parameter ProblemInvalid header info Source quenchSource swamping network RedirectSuggests new routing EchoAsks a destination to reply Echo replyReply from echo request Timestamp requestAsks for a reply with a timestamp Timestamp replyReply from a timestamp request

Finding Etherland At Layer 3 we are dealing with, routing by, etc. IP and IP addresses But within a LAN we are using the local Layer 2/1 technology …for example, ethernet Within an Ethernet LAN, it sends, receives, routes ethernet frames, not IP packets So, when a packet containing an IP address hits an ethernet LAN,… How does it know where to go?

ARP-Address Resolution Protocol Once on the LAN the frames address destination address must be set to the MAC address of the destination host interface To do this---

ARP-Address Resolution Protocol The sending machine Reads the IP address from the message Transmits an ARP request – “Who does this belong to” The IP address owner replies “Me” by returning its MAC address The sender assigns the received MAC to the destination field in the frame header… …and send the frame on its way

RARP Reverse Address Resolution Protocol What happens when you know the MAC address but you need to know the IP address?