Introduction to LAN/WAN. Network Layer (part II)



Similar documents
Internetworking and Internet-1. Global Addresses

Transport and Network Layer

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

Internet Protocol Address

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

IP address format: Dotted decimal notation:

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Chapter 6. The Network Layer

Router and Routing Basics

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

Inter-domain Routing. Outline. Border Gateway Protocol

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

Introduction to TCP/IP

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

Internetworking and IP Address

CSET 4750 Computer Networks and Data Communications (4 semester credit hours) CSET Required IT Required

Route Discovery Protocols

The Internet. Internet Technologies and Applications

8.2 The Internet Protocol

IP Addressing A Simplified Tutorial

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Chapter 4 Network Layer

AS/400e. TCP/IP routing and workload balancing

Computer Networks. Main Functions

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

Networking Test 4 Study Guide

ICS 351: Today's plan

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

10CS64: COMPUTER NETWORKS - II

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Networking Technology Online Course Outline

IP - The Internet Protocol

IP addressing and forwarding Network layer

Table of Contents. Cisco How Does Load Balancing Work?

ccna question and answers

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Chapter 12 Supporting Network Address Translation (NAT)

The Network Layer Functions: Congestion Control

Network Layer: Network Layer and IP Protocol

Internet Protocols Fall Lectures 7-8 Andreas Terzis

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

IP Routing Configuring RIP, OSPF, BGP, and PBR

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01

Lecture Computer Networks

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Interconnecting Cisco Network Devices 1 Course, Class Outline

UPPER LAYER SWITCHING

Introduction to LAN/WAN. Network Layer

IP Addressing Introductory material.

EECS 489 Winter 2010 Midterm Exam

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

TCP/IP Networking Terms you ll need to understand: Techniques you ll need to master:

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall How to Deal With Heterogeneity & Scale?

SSVP SIP School VoIP Professional Certification

Table of Contents. Index. Search the text of TCP/IP Network Administration. Symbols A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

03 Internet Addressing

Computer Networks CS321

Raritan Valley Community College Academic Course Outline. CISY Advanced Computer Networking

IP Routing Configuring Static Routes

LAN TCP/IP and DHCP Setup

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

Chapter 19 Network Layer: Logical Addressing 19.1

Lecture 8. IP Fundamentals

Network Security TCP/IP Refresher

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Network Protocol Configuration

Communication Systems Internetworking (Bridges & Co)

IT-AD08: ADD ON DIPLOMA IN COMPUTER NETWORK DESIGN AND INSTALLATION

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Post-Class Quiz: Telecommunication & Network Security Domain

SSVVP SIP School VVoIP Professional Certification

How To Use A Network Over The Internet (Networking) With A Network (Netware) And A Network On A Computer (Network)

Cisco Configuring Commonly Used IP ACLs

Networking TCP/IP routing and workload balancing

How To Learn Cisco Cisco Ios And Cisco Vlan

Based on Computer Networking, 4 th Edition by Kurose and Ross

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Chapter 5. Data Communication And Internet Technology

"Charting the Course...

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Unix System Administration

CHAPTER 3 STATIC ROUTING

RARP: Reverse Address Resolution Protocol

IP Addressing. IP Addresses. Introductory material.

PART IV. Network Layer

Multi-Homing Security Gateway

Module 7. Routing and Congestion Control. Version 2 CSE IIT, Kharagpur

Final for ECE374 05/06/13 Solution!!

Transcription:

Introduction to LAN/WAN Network Layer (part II)

Topics The Network Layer Introduction Routing (5.2) The Internet (5.5) IP, IP addresses ARP (5.5.4) OSPF (5.5.5) BGP (5.5.6) Congestion Control (5.3)

Internetworking Internet: different small networks connected Different Protocols (TCP/IP, SNA, Appletalk, NCP/IPX, etc)

Internet Structure Backbones: high bandwidth lines, fast routers Regional networks attached to backbones LANs (universities, companies, ISP, etc) connected to regional network

Internet Protocol (IP) IP concerned with routing (best effort) Interesting options: security, strict source routing, loose source routing, record route, timestamp

Internet Protocol (IP) Summary of options

IP Addresses IPv4: 32 bit addresses: 2 32 addresses (e.g. ccc4.wpi.edu has IP address 130.215.36.158) Addresses controlled by ICANN Previously classfull addressing (A, B, C, etc) Class A: fix first bit at 0, 2 7 networks, 2 24 hosts Class B: start with 10, 2 14 networks, 2 16 hosts, etc Class C: start with 110, 2 29 networks, 2 8 hosts

IP Addresses Disproportional demands for address classes: Few organizations have up to 2 24 hosts (class A) Most want class B (2 16 hosts) Quick depletion of some classes (class B) while others remained un-used (class A) Now Classless InterDomain Routing (CIDR) pronounced cydar Basically allow variable network address (subnet mask) and host address part Indicate length by adding subnet mask Example: 223.1.1.0/24 means first 24 bits should be treated as network address (subnet mask) CIDR was temporary solution => IPv6 (128 bits)

IP Addresses Another problem: ISP may have one class B address (/16) address This equals 65,534 host numbers Dial-up customers: assign IP addresses temporarily Permanent: can assign maybe 1 or 2 per customer However, small businesses may have many machines Also, now many homes have multiple machines with DSL or cable (always on!!) Solution: Network Address Translation Basic idea: each machine within small business or home gets new unique IP address within its network NAT box translates all addresses to one actual address when going out

Network to Data Link Address Internet hosts use IP Translation Data link layer does not understand IP Ethernet uses 48-bit address ex: ifconfig gives 00:10:4B:9E:B3:E6 Q: How do IP addresses get mapped onto data link layer addresses, such as Ethernet? A: The Address Resolution Protocol (ARP)

Example 1 Host 1 wants to sends message to Host 2, say mary@eagle.cs.uni.edu

Address Resolution Lookup IP of eagle.cs.uni.edu DNS (chapter 7) returns 192.31.65.5 Host 1 builds packet to 192.31.65.5 now, how does data link layer know where to send it? need Ethernet address of Host 2 Could have config file to map IP to Ethernet hard to maintain for thousands of machines

Address Resolutioning Host 1 broadcasts packet on LAN with IP address 192.31.65.0 asking Who owns IP address 192.31.65.5? Each machine checks its IP address. Host 2 responds w/ethernet address (E2) Address Resolution Protocol (ARP) Host 1 data-link can then encapsulate IP packet in frame addressed to E2 and dump Ethernet board on Host 2 recognizes, strips frame header and sends up to IP layer

ARP Optimizations Send to H2 again? cache requests (time out in case of new card) Many times, H1 requires ack from H2 send H1 IP + Ethernet (192.31.65.7, E1) H2 caches and uses if needed Hosts broadcast mapping when boot host looks for its own IP address should get no answer, else don t boot other Ethernet hosts all cache answer

Example 2 Host 1 sends message to Host 4 Problem: Router does not forward data-link layer broadcasts

Solutions Solution 1 CS router configured to respond to ARP requests for 192.31.63.0 Host 1 makes an ARP cache entry of (192.31.63.8, E3) sends all traffic to Host 4 to CS router Called Proxy ARP Solution 2 Host 1 knows Host 4 is on different subnet sends to CS router CS router doesn t need to know about remote networks

Either way... Host 1 packs IP into Enet frame to E3 CS router receives frame, removes packet sees 192.31.63.0 to 192.31.60.7 Sends ARP packet onto FDDI learns 192.31.60.7 is at F3 Puts packet into payload of FDDI frame and put on ring EE router receives frame, removes packet...

Inside Out and Upside Down Can a host learn its IP address at boot? Unreasonable? No!! diskless workstation Reverse Address Resolution Protocol (RARP) Broadcast: my enet adress 13.05.05.18.01.25 does anyone know my IP? RARP server sees request, sends IP RARP broadcasts not across router BOOTP uses UDP BOOTP requires sys admin to manually enter (IP address, Ethernet Address) in server Dynamic Host Configuration Protocol (DHCP) allows automatic, timeouts, recovery if host leaves, etc

Routing on the Internet Internet made up of Autonomous Systems (AS) Standard for routing inside AS Interior Gateway Protocol OSPF Standard for routing outside AS Exterior Gateway Protocol BGP

ASes, Backbones and Areas

Open Shortest Path First (OSPF) 1979, RIP (distance vector), replaced by link-state (djikstra) In 1990, OSPF standardized O is for Open, not proprietary ASes can be large, need to scale Areas, that are self-contained (not visible from outside)

OSPF, continued Every AS has a backbone, area 0 all areas connect to backbone, possibly by a tunnel Routers are nodes and links are arcs with weights Computes shortest path for each: delay throughput reliability Floods link-state packets

Border Gateway Protocol (BGP) Inside AS, only efficiency Between AS, have to worry about politics No transit traffic through some ASes Never put Iraq on a route starting at the Pentagon Do not use the US to get from British Columbia to Ontario Traffic starting or ending at IBM should not transit Microsoft BGP router pairs communicate via TCP hides details in between Uses distance vector protocol but cost can be any metric

Congestion When too much traffic is offered, congestion sets in and performance degrades sharply.

Causes of Congestion Queue build up until full Many input lines to one output line Slow processors Low-bandwidth lines system components mismatch (bottleneck) Insufficient memory to buffer If condition continues, infinite memory makes worse! timeouts cause even more transmission congestion feeds upon itself until collapse

Flow Control vs. Congestion Control Congestion control (network layer) make sure subnet can carry offered traffic global issues, including hosts and routers Flow control (data link layer) point-to-point between sender and receiver fast sender does not overpower receiver involves direct feedback to sender by receiver Some congestion solutions: Choke packets Traffic Shaping (leaky bucket)