CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.

Slides:



Advertisements
Similar presentations
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Advertisements

IP Forwarding Relates to Lab 3.
Future Directions For IP Architectures Ipv6 Cs686 Sadik Gokhan Caglar.
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.
8-1 Last time □ Network layer ♦ Introduction forwarding vs. routing ♦ Virtual circuit vs. datagram details connection setup, teardown VC# switching forwarding.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
CSE331: Introduction to Networks and Security Lecture 9 Fall 2002.
Spring 2003CS 4611 Internetworking COS 461 Spring 2003.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CSE331: Introduction to Networks and Security Lecture 7 Fall 2002.
Introduction to TCP/IP
CS Internetworking Slide Set 8. In this set... Addressing Datagram forwarding.
Spring 2002CS 4611 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
IP Address 0 network host 10 network host 110 networkhost 1110 multicast address A B C D class to to
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
CCNA Introduction to Networking 5.0 Rick Graziani Cabrillo College
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
Network Layer – Subnetting and Control Protocols Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing,
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
IP : Internet Protocol Addresses Rsc.Asst.Kamil Serhan Bilman
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
CSE 331: Introduction to Networks and Security Fall 2001 Instructor: Carl A. Gunter Slide Set 3.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
Lecture 15 Internetworking: Address Structure Fragmentation and Reassembly.
CS470 Computer Networking Protocols
ARKnet Technical Training1 February 20, 1997 ARKnet Technical Training TCP/IP Fundamentals February 20, 1997.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
1 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
NETWORKING (2) Dr. Andy Wu BCIS 4630 Fundamentals of IT Security.
1 Internetworking Outline Best Effort Service Model Global Addressing Scheme.
4: DataLink Layer1 LAN technologies Data link layer so far: m services, error detection/correction, multiple access Next: LAN technologies m addressing.
Scaling the Network: Subnetting and Protocols
Scaling the Network: Subnetting and Other Protocols
Scaling the Network Chapters 3-4 Part 2
IP: Addressing, ARP, Routing
Link Layer 5.1 Introduction and services
Scaling the Network: The Internet Protocol
MAC Addresses and ARP 32-bit IP address:
IP Forwarding Covers the principles of end-to-end datagram delivery in IP networks.
CS4470 Computer Networking Protocols
ARP: Address Resolution Protocol
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
CS 457 – Lecture 10 Internetworking and IP
IP Forwarding Relates to Lab 3.
Advanced Computer Networks
Internetworking Outline Best Effort Service Model
IP Forwarding Relates to Lab 3.
CS 457 – Lecture 11 More IP Networking
Scaling the Network: Subnetting and Other Protocols
Scaling the Network: The Internet Protocol
Introduction to Networks
IP Forwarding Relates to Lab 3.
Networking and Network Protocols (Part2)
IP Forwarding Relates to Lab 3.
Review of Internet Protocols Network Layer
Chapter 5: Link Layer 5.1 Introduction and services
Presentation transcript:

CSE331: Introduction to Networks and Security Lecture 8 Fall 2002

CSE331 Fall Announcements HW1 is graded –Pick up after class –Mean = 81

CSE331 Fall Recap Spanning tree algorithms –Finds routing information for bridges –Doesn’t scale to Internet size networks Internet Protocol (IPv4) –Packet format –Packet fragmentation

CSE331 Fall Today IP Addressing Subnetting DNS (Domain Name System)

CSE331 Fall IP addresses Hierarchical, not flat as in Ethernet Written as four decimal numbers separated by dots: A B C Network Host

CSE331 Fall Network Classes

CSE331 Fall IP Datagram Delivery Every IP packet (datagram) contains the destination IP address The network part of the address uniquely identifies a single network that is part of the larger Internet. All hosts and routers that share the same network part of their address are connected to the same physical network. Routers can exchange packets on any network they’re attached to.

CSE331 Fall IP Forwarding algorithm If (Network # dest == Network # interface) then deliver to destination over interface else if (Network # dest in forwarding table) deliver packet to NextHop router else deliver packet to default router Forwarding tables –Contain (Network #, NextHop) pairs –Additional information –Built by routing protocol

CSE331 Fall Question: How does the hierarchical address scheme improve scalability?

CSE331 Fall ARP - Address Resolution Protocol Problem: –Need mapping between IP and link layer addresses. Solution: ARP –Every host maintains IP–Link layer mapping table (cache) –Timeout associated with cached info (15 min.) Sender –Broadcasts “Who is IP addr X?” –Broadcast message includes sender’s IP & Link Layer address Receivers –Any host with sender in cache “refreshes” time-out –Host with IP address X replies “IP X is Link Layer Y” –Target host adds sender (if not already in cache)

CSE331 Fall ICMP: Internet Control Message Protocol Collection of error & control messages Sent back to the source when Router or Host cannot process packet correctly Error Examples: –Destination host unreachable –Reassembly process failed –TTL reached 0 –IP Header Checksum failed Control Example: –Redirect – tells source about a better route

CSE331 Fall Scaling Problems Not enough network numbers. –Class C network with 2 nodes wastes 253 IP addresses –Class B network with ~300 nodes wastes 64,000 IP addresses –Only 2 14 ~ 16,500 class B networks Routing information too cumbersome. –More networks means larger routing tables

CSE331 Fall Subnetting Idea: One IP network number allocated to several physical networks. –The multiple physical networks are called subnets –Should be close together (why?) –Useful when a large company (or university!) has many physical networks.

CSE331 Fall Subnet Numbers Solution: Subnetting –All nodes are configured with subnet mask –Allows definition of a subnet number All hosts on a physical subnetwork share the same subnet number Network number Subnet ID Host ID Subnet Mask ( ) Subnetted Address:

CSE331 Fall Example of Subnetting H1 R1 H2 H3 R Subnet mask: Subnet #: Subnet mask: Subnet #: Subnet mask: Subnet #:

CSE331 Fall Subnets, continued Mask is bitwise-ANDed with address This is done at routers Router tables in this model: – Subnetting allows a set of physical networks to look like a single logical network from elsewhere

CSE331 Fall Forwarding Algorithm D = destination IP address for each forwarding table entry (SubnetNumber, SubnetMask, NextHop) D1 = SubnetMask & D if D1 = SubnetNumber if NextHop is an interface deliver datagram directly to destination else deliver datagram to NextHop (router)

CSE331 Fall Domain Name System System for mapping mnemonic names for computers into IP addresses. Domain Hierarchy Name Servers Name Resolution zeta.cis.upenn.edu

CSE331 Fall Domain Name Hierarchy edu com gov mil org net cornell … upenn cisco…yahoo nasa … nsf arpa … navy … cis seas wharton …

CSE331 Fall Hierarchy of Name Servers Root Name Server Cornell Name Server Upenn Name Server CIS Name Server SEAS Name Server Wharton Name Server …

CSE331 Fall Records on Name Servers Types –A Host to address mappings –NS Name server address mappings –CNAME Aliases –MX Mail server mappings Class IN for IP addresses

CSE331 Fall Name resolution client Local Name server Root Name server Upenn Name server CIS Name server zeta.cis.upenn.edu zeta.cis.upenn.edu