DG Forwarding Algorithm



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

Internetworking and Internet-1. Global Addresses

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

ICS 351: Today's plan

Teldat Router. ARP Proxy

RARP: Reverse Address Resolution Protocol

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

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

1. How many unique network IDs are there in class A addresses? # of unique hosts?

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

The IP Transmission Process. V1.4: Geoff Bennett

IP address format: Dotted decimal notation:

Transport and Network Layer

IP Subnetting and Addressing

Network layer: Overview. Network layer functions IP Routing and forwarding

8.2 The Internet Protocol

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

CS335 Sample Questions for Exam #2

Routing with OSPF. Introduction

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

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

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

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

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

How Subnets Work in Practice. Fred Marshall Coastal Computers & Networks

Dynamic Routing Protocols II OSPF. Distance Vector vs. Link State Routing

The Internet. Internet Technologies and Applications

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

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

Computer Networks I Laboratory Exercise 1

Expert Reference Series of White Papers. Basics of IP Address Subnetting

Chapter 10 Link-State Routing Protocols

IP Addressing Introductory material.

Quality of Service (QoS) Setup Guide (NB604n)

IP Addressing. IP Addresses. Introductory material.

UPPER LAYER SWITCHING

Router and Routing Basics

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

IP - The Internet Protocol

Final Exam. Route Computation: One reason why link state routing is preferable to distance vector style routing.

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

Internet Protocol version 4 Part I

04 Internet Protocol (IP)

PART IV. Network Layer

Written examination in Computer Networks

FINAL ASSESSMENT/EXAMINATION JULY 2015 PLEASE READ ALL INSTRUCTIONS CAREFULLY BEFORE YOU BEGIN THIS EXAMINATION

Networking Basics for Automation Engineers

O /27 [110/129] via , 00:00:05, Serial0/0/1

Ethernet Local Area Networks (LANS) Two basic ways to cable an 10 Mb/s Ethernet LAN: Bus-style (large Ethernet cable, or thin Ethernet cable)

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

What is VLAN Routing?

5.6.1 The IP Protocol. Figure The IPv4 (Internet Protocol) header.

Configuration of Cisco Routers. Mario Baldi

NB6 Series Quality of Service (QoS) Setup (NB6Plus4, NB6Plus4W Rev1)

Appendix A: Configuring Firewalls for a VPN Server Running Windows Server 2003

Layer 3 Routing User s Manual

Neighbour Discovery in IPv6

Module 10 Subnetting Class A, B and C addresses. Solutions to the Lab Exercises a, b, c and d

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

Packet Tracer 3 Lab VLSM 2 Solution

Instructor Notes for Lab 3

IP Filter/Firewall Setup

Computer Networks. Main Functions

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

Technical Support Information Belkin internal use only

Configuring Network Address Translation (NAT)

Workstation ARP. Objective. Background / Preparation

Ethernet (LAN switching)

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

ECE 358: Computer Networks. Solutions to Homework #4. Chapter 4 - The Network Layer

Lecture 8. IP Fundamentals

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

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

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

Chapter 4 Network Layer

Part2. Chapter 8. Advanced TCP/IP Network Design - CLASSLESS ADDRESSING AND VARIABLE- LENGTH SUBNET MASKS

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

Routing Protocols and Concepts Chapter 2 Conceitos de protocolos de Encaminhamento Cap 2

Route Discovery Protocols

Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

Introduction. Internet Address Depletion and CIDR. Introduction. Introduction

Cisco Configuring Basic MPLS Using OSPF

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

How To Make A Network Address Prefix Smaller

Lecture Computer Networks

Communications and Networking

Exam 1 Review Questions

Network Layer: Network Layer and IP Protocol

OSBRiDGE 5XLi. Configuration Manual. Firmware 3.10R

NetFlow Aggregation. Feature Overview. Aggregation Cache Schemes

Classful IP Addressing (cont.)

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

CCNA2 Chapter 11 Practice

Subnet + CIDR. Internet Networking recitation #1. 11: , Internet Networking,

Cisco Configuring Commonly Used IP ACLs

IP addressing and forwarding Network layer

Transcription:

DG Forwarding Algorithm Host or Router first check if destination on same Network Router multiple interfaces Match found deliver to that Network If not found default router for every router a default router MUST be defined

Routing Packets Routing table: <inlink, in id, outlink, out id> - for every VC through router Upper layer CL DG UDP over IP VC UDP over IP over ATM CO TCP over IP ATM AAL over ATM

Host Forwarding Algorithm If (NetworkNumber of Destination = NetworkNumber of given Destination) then deliver packet directly Else deliver packet to default router endif

Router Forwarding Algorithm If (NetworkNumber of Destination = NetworkNumber of given routing interfaces) then deliver packet over that interface else deliver packet to default router endif

h 1 h 2 h 3 NW2 NW4 R 1 R 2 R 3 NW1 h 6 h 7 h 8 NW3 h 4 h 5 Forwarding table at Router R 2 Network 1 2 Next hop R 3 R 1

Router Forwarding Algorithm h 1 h 2 data same Network number therefore deliver data directly! over Ethernet h 1 has to find h 2 s correct Ethernet address - ARP h 1 h 8 different Physical Network R 1 s default router R 2 R 1 sends DG to R 2 over token Ring R 2 table Network 1 2 2 2 Next hop R 3 R 1 Interface 1 Interface 0

Information in Routing Table Directly connected Networks Reachable via some hop router Forwarding table can be manually configured Usually done by running a routing protocol Routers only have address of Networks rather than complete hosts scalability - hierarchical aggregation

The Internet Collection of subnetworks of Autonomous System (ASes) connected together No real structure High bandwidth backbones Attached to Backbone several middle level Networks Attached to which are various LANs Glue all this using IP Best effort way to transmit DGs from source to destination

Routing (Network, 0), (thisnetwork, host) Distant LANs Host on this LAN

Routing When packet arrives: Lookup table For distance LAN forward to next router on the interface given in the table If local host on router s LAN send to host If network not found forward to a default router with more extensive tables

Subnetting All host in a network must have the same network number Problem: Class C 254 addresses Needs new Class C network address Multiple LANs its own router?

Subnetting Alternatively: Class B network address Split 16 bit host into 6 bits for subnet 10 bits for host 2 10 2 Hosts 2 6 2 LANs

Subnetting Router must know subnet mask To determine route for 144.16.251.25 AND with 255.255.0.0 (subnet mask) Gets rid of host in class B AND with 255.255.255.0 Gets rid of host in Class C

Subnetting Router Needs Subnet mask table To ensure proper delivery Destination Address: 130.50.15.6 arrives at a router on Subnet 5 130.50.000101.0 subnet address AND with 255.255.252.0 255.255.11111100.0 Gets rid of host Two results 130.50.12.0 130.50.00001100.0 which is subnet 3

Subnetting Outside world: Appear a single LAN To the corporate LAN Multiple subnetted LANs Modify routing Tables to include: (this-network, subnet, 0) (this-network, this-subnet, host) Router on subnet needs information about hosts on subnet needs information about how to get to other subnet