CMPE 150: Introduction to Computer Networks

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

Routing Protocols. Interconnected ASes. Hierarchical Routing. Hierarchical Routing

Advanced Networking Routing: RIP, OSPF, Hierarchical routing, BGP

Chapter 10 Link-State Routing Protocols

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

Route Discovery Protocols

Internet inter-as routing: BGP

GregSowell.com. Mikrotik Routing

Layer 3 Routing User s Manual

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

Link-State Routing Protocols

Lecture 2.1 : The Distributed Bellman-Ford Algorithm. Lecture 2.2 : The Destination Sequenced Distance Vector (DSDV) protocol

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

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

Inter-domain Routing Basics. Border Gateway Protocol. Inter-domain Routing Basics. Inter-domain Routing Basics. Exterior routing protocols created to:

CS335 Sample Questions for Exam #2

Introduction to TCP/IP

Border Gateway Protocol (BGP)

Chapter 4 Network Layer

Border Gateway Protocol (BGP-4)

OSPF Version 2 (RFC 2328) Describes Autonomous Systems (AS) topology. Propagated by flooding: Link State Advertisements (LSAs).

Inter-domain Routing. Outline. Border Gateway Protocol

Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms

Exterior Gateway Protocols (BGP)

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

Question 1. [7 points] Consider the following scenario and assume host H s routing table is the one given below:

OSPF Routing Protocol

Introduction to LAN/WAN. Network Layer

Routing with OSPF. Introduction

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

Ad hoc On Demand Distance Vector (AODV) Routing Protocol

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

ICS 351: Today's plan

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

Routing Protocols OSPF CHAPTER. The following topics describe supported routing protocols. Topics include OSPF, page 9-1 IS-IS Protocol, page 9-3

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

CCT vs. CCENT Skill Set Comparison

CS Computer Networks 1: Routing Algorithms

Internet Control Message Protocol (ICMP)

10CS64: COMPUTER NETWORKS - II

COURSE AGENDA. Lessons - CCNA. CCNA & CCNP - Online Course Agenda. Lesson 1: Internetworking. Lesson 2: Fundamentals of Networking

Interconnecting Cisco Networking Devices Part 2

A Comparison Study of Qos Using Different Routing Algorithms In Mobile Ad Hoc Networks

IP Routing Configuring RIP, OSPF, BGP, and PBR

Internet inter-as routing: BGP

Lesson 5-3: Border Gateway Protocol

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Computer Networks. Main Functions

Behavior Analysis of TCP Traffic in Mobile Ad Hoc Network using Reactive Routing Protocols

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

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

IP Multicasting. Applications with multiple receivers

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

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

IP Subnetting and Addressing

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.

CCNA 2 v5.0 Routing Protocols Final Exam Answers

6LoWPAN Technical Overview

Configuring a Gateway of Last Resort Using IP Commands

Configuring Network Address Translation (NAT)

Using OSPF in an MPLS VPN Environment

Routing Protocols (RIP, OSPF, BGP)

Comparison of RIP, EIGRP, OSPF, IGRP Routing Protocols in Wireless Local Area Network (WLAN) By Using OPNET Simulator Tool - A Practical Approach

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

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

Internet Protocol version 4 Part I

How To Understand Bg

Lecture 12: Link-state Routing"

Router and Routing Basics

IP - The Internet Protocol

Using the Border Gateway Protocol for Interdomain Routing

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

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

IP addressing and forwarding Network layer

Transport and Network Layer

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

6.263 Data Communication Networks

Interconnecting Cisco Network Devices 1 Course, Class Outline

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

Security in Ad Hoc Network

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

Load Balancing. Final Network Exam LSNAT. Sommaire. How works a "traditional" NAT? Un article de Le wiki des TPs RSM.

Objectives. The Role of Redundancy in a Switched Network. Layer 2 Loops. Broadcast Storms. More problems with Layer 2 loops

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

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

Administrative Distance

Internet Protocols. Addressing & Services. Updated:

Ethernet. Ethernet. Network Devices

ISOM3380 Advanced Network Management. Spring Course Description

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

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

IP and Mobility. Requirements to a Mobile IP. Terminology in Mobile IP

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

Transcription:

CMPE 150: Introduction to Computer Networks Dr. Chane L. Fullmer chane@cse.ucsc.edu Spring 2003 UCSC cmpe150 1

Homework Assignments Homework assignment #3 Chapter Four Due by May 22 Spring 2003 UCSC cmpe150 2

Thursday s Lecture Guest lecturer Dr. Soumya oy On Demand Link State outing in Ad Hoc Networks Will speak on IP multicasting and related issues (Yes, his lecture will be on the exam) Spring 2003 UCSC cmpe150 3

CMPE 150: Introduction to Computer Networks Set 12: Internet outing Spring 2003 UCSC cmpe150 4

Internet outing Protocols Intra-domain routing: IP, OSPF, EIGP Single-path routing protocols, static link costs Performance (shortest path) Inter-domain routing: Border Gateway Protocol (BGP) Single path Policy based Spring 2003 UCSC cmpe150 5

IP (v1) Based on DBF Used in small internets Problems: Counting to infinity and looping, single-path routing, link cost should be 1 or infinity Update specifies only a destination network and a distance to it; hence, no variable subnet masks are allowed in local internet and a static subnetting convention must be used for all routers outer sends its routing table to its neighbors every 30 sec. or when it must update its routing table. uns on top of UDP. Spring 2003 UCSC cmpe150 6

IPv2 Adds the next hop to a destination and subnet mask in each update. Variable subnets are allowed. Performance does not improve much. Spring 2003 UCSC cmpe150 7

OSPF: Open Shortest Path First Dijkstra s SPF used to compute shortest paths locally based on topology map. Flooding is used to disseminate topology maps. Sequence numbers and age fields are used to validate link-state updates. uns on top of IP and implements its own reliable transmission of link-state updates. Designated routers are used to reduce overhead within a LAN, and areas connected by a backbone are used to reduce overhead across LANs. HELLOs used to identify neighbors. Spring 2003 UCSC cmpe150 8

OSPF A1 A2 backbone not allowed A3 A4 Areas must be connected by a connected backbone (area 0) Spring 2003 UCSC cmpe150 9

OSPF internal router A1 A2 To other domains EA1 EA2 EAn boundary router, backbone router A3 area border router A4 Spring 2003 UCSC cmpe150 10

OSPF Areas need unique IDS, an IP address. Zero or more address ranges can be reached in an area. Different types of routers have different views of topology. End result is a hybrid of link-state and distance information. Spring 2003 UCSC cmpe150 11

Topology Information at Backbone outer A2 A1 EA1 EA2 EAn A3 A4 Spring 2003 UCSC cmpe150 12

Topology Information at Area Border outer A1 A2 EA1 EA2 EAn A3 A4 Spring 2003 UCSC cmpe150 13

Topology Information at Internal outer A2 A1 EA1 EA2 EAn A3 A4 Spring 2003 UCSC cmpe150 14

OSPF In a broadcast LAN, designated router eliminates too many link state updates. LSUs, HELLOs and topology updates sent unicast to designated router, which keeps all routers in LAN updated. Spring 2003 UCSC cmpe150 15

Inter-AS routing in the Internet: BGP 5 AS1 (IP intra-as routing) 1 BGP 2 3 BGP AS2 (OSPF intra-as routing) 4 AS3 (OSPF intra-as routing) Figure 4.5.2-new2: BGP use for inter-domain routing Spring 2003 UCSC cmpe150 16

BGP BGP (Border Gateway Protocol): the de facto standard for Internet inter-as routing. Path Vector protocol: Similar to Distance Vector protocol Each Border Gateway broadcast to neighbors (peers) entire path (i.e., sequence of AS s) to destination BGP routes to networks (ASs), not individual hosts e.g., Gateway X may send its path to dest. Z: Path (X,Z) = X,Y1,Y2,Y3,,Z Spring 2003 UCSC cmpe150 17

BGP Gateway X send its path to peer gateway W W may or may not select path offered by X cost, policy (don t route via competitors AS), loop prevention reasons. If W selects path advertised by X, then: Path (W,Z) = w, Path (X,Z) Note: X can control incoming traffic by controlling its route advertisements to peers: e.g., do not want to route traffic to Z -> do not advertise any routes to Z Spring 2003 UCSC cmpe150 18

Controlling Who outes to You B legend: provider network W A C X Do not allow customer network: Y Figure 4.5-BGPnew: a simple BGP scenario A,B,C are provider networks X,W,Y are customer (of provider networks) X is dual-homed: attached to two networks X does not want to route from B via X to C.. so X will not advertise to B a route to C Spring 2003 UCSC cmpe150 19

Controlling Who outes to You B legend: provider network W A C X customer network: Y Figure 4.5-BGPnew: a simple BGP scenario A advertises to B the path AW B advertises to X the path BAW Should B advertise to C the path BAW? No... B gets no revenue for routing CBAW since neither W nor C are B s customers B wants to force C to route to W via A B wants to route only to/from its customers! Spring 2003 UCSC cmpe150 20

BGP Operation eceiving and filtering route advertisements from directly attached neighbor(s). oute selection. To route to destination X, which path (of several advertised) will be taken? Sending route advertisements to neighbors. Spring 2003 UCSC cmpe150 21

BGP Messages BGP messages exchanged using TCP. BGP messages: OPEN: opens TCP connection to peer and authenticates sender UPDATE: advertises new path (or withdraws old) KEEPALIVE keeps connection alive in absence of UPDATES; also ACKs OPEN request NOTIFICATION: reports errors in previous msg; also used to close connection Spring 2003 UCSC cmpe150 22

Differences between Intra- and Inter-AS routing Policy: Inter-AS: admin wants control over how its traffic routed, who routes through its net. Intra-AS: single administration, so no policy decisions needed (usually; changing with traffic engineering) Scale: Hierarchical routing saves table size, reduced update traffic Performance: Intra-AS: can focus on performance Inter-AS: policy dominates over performance Spring 2003 UCSC cmpe150 23

Supporting Mobility in outing Host moves and new connections are established Use DHCP to obtain a temporary new IP address Host moves and same IP address must be used Use mobile IP Hosts and routers move within the same domain (I.e., ad hoc wireless nets) Use ad-hoc routing protocol Spring 2003 UCSC cmpe150 24

outing in Ad Hoc Networks The problem addressed is host and router mobility. IETF MANET Working Group is defining which approach to evolve into a standard. Proposals: On-demand routing approaches: DS, AODV, TOA, and many others. Table-driven and hybrid approaches: STA and approaches based on topology broadcast. Spring 2003 UCSC cmpe150 25

On-Demand outing outers maintain routing-table entries for only those destinations that they need to reach. To reach a destination with an unknown route, source sends a flood search packet, just like in source routing bridges. Flood search packet reaches the destination one or multiple times. Destination sends a reply one or multiple times with the desired routing information. DS uses source routes in flood searches and replies; AODV uses destination sequence numbers. Spring 2003 UCSC cmpe150 26

Spring 2003 UCSC cmpe150 27