Extending Networks. Three Levels of Extension Physical Layer –Repeaters Link Layer –Bridges –Switches Network –Routers: “Connecting networks”

Slides:



Advertisements
Similar presentations
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
Advertisements

Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination Network layer must.
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Routing So how does the network layer do its business?
Network Layer Functions Key Layer in Internet Architecture End-to-end Packets Adapt to lower layers
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-1 Internetworking: addressing, forwarding, resolution, fragmentation Shivkumar Kalyanaraman Rensselaer.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
1 Dynamic Routing Protocols I RIP Relates to Lab 4. The first module on dynamic routing protocols. This module provides an overview of routing, introduces.
Networks: Routing1 Network Layer Routing. Networks: Routing2 Network Layer Concerned with getting packets from source to destination. The network layer.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
1 Kyung Hee University Part 4 : Network Layer. 2 Kyung Hee University Role and Position of Network Layer o Network layer in the Internet model is responsible.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
Chapter 8 Routing. Introduction Look at: –Routing Basics (8.1) –Address Resolution (8.2) –Routing Protocols (8.3) –Administrative Classification (8.4)
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
Exam 2 Review Networking CS 3470, Section 1 Sarah Diesburg.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Routing and Routing Protocols Routing Protocols Overview.
November 29, 2004 Prof. Paul Lin 1 CPET Internetworking, Addressing, and Routing Paul I-Hai Lin, Professor Electrical and Computer Engineering.
Copyright 2003 CCNA 1 Chapter 8 Routing Fundamentals and Subnets By Joe Parisien.
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Cisco – S1C10 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.
1 Internet Protocol. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error.
The Saigon CTT Semester 1 CHAPTER 11 Le Chi Trung.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
CCNA 1 Module 10 Routing Fundamentals and Subnets.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
1 TCP/IP Internetting ä Subnet layer ä Links stations on same subnet ä Often IEEE LAN standards ä PPP for telephone connections ä TCP/IP specifies.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 7 Internet Protocol (IP) Routing.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
Chapter-8 Network Layer in the Internet. IP Protocol: IP V4 At network layer, internet can be viewed as a collection of sub-networks or Autonomous Systems.
CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Routing Fundamentals and Subnets Introduction to IT and Communications Technology CE
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 10 Routing Fundamentals and Subnets.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing Algorithms and IP Addressing Routing Algorithms must be ▪ Correctness ▪ Simplicity ▪ Robustness ▪ Stability ▪ Fairness ▪ Optimality.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
1 Dynamic Routing Protocols I RIP Relates to Lab 4. The first module on dynamic routing protocols. This module provides an overview of routing, introduces.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
Click to edit Master subtitle style Chapter 10: Routing Protocols.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
1 Layer 3: Protocols Honolulu Community College Cisco Academy Training Center Semester 1 Version
VCC Semester 1 CHAPTER 11. VCC  Content Layer 3 Devices ARP concept Network layer services Routed and routing protocols Protocol analyzer.
Assignment 1  Chapter 1:  Question 11  Question 13  Question 14  Question 33  Question 34  Chapter 2:  Question 6  Question 39  Chapter 3: 
UNIT 4 NETWORK LAYER. Position of network layer 7/8/2016 UNIT-3 : NETWORK LAYER 2.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
Network Layer Routing Networks: Routing.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Networking CS 3470, Section 1 Sarah Diesburg
ECE4605: Advanced Internetworking
PART IV Network Layer.
COMP 3270 Computer Networks
Chapter 6 Delivery & Forwarding of IP Packets
Chapter 5 The Network Layer.
CS 457 – Lecture 10 Internetworking and IP
Network Layer Routing Networks: Routing.
Routing Fundamentals and Subnets
CS 381: Introduction to Computer Networks
Network Layer Routing.
Presentation transcript:

Extending Networks

Three Levels of Extension Physical Layer –Repeaters Link Layer –Bridges –Switches Network –Routers: “Connecting networks”

(Physical Layer) Rule For IEEE LANs, there is a limit on the length of a segment, how to extend the limit? –Adding repeaters (Hubs) while respecting the rule: Any path should traverse at most 5 segments Any path should traverse at most 4 repeaters (hubs) Any path should traverse at most 3 populated segments

(Link Layer) Bridges Filter network component –Back learning Internetworking component (between LANs of different standards)

DIX and Frames PreambleDest.Source.Type CRC DIX PreambleDest.Source.LengthTypeCRC IEEE Up to How to make the difference?

Connecting Networks LANs are connected with point-to-point links Packets are “routed” using another level of addresses other than MAC addresses Paths may be multihop

Network Layer Read Tanenbaum (Chapter 5)

Where in the OSI Reference Model ? Transport Layer Network Layer Link Layer Physical Layer Session Layer

Fundamental Functions of a Network Layer Addressing Routing Congestion control –Note that not all network protocols provide congestion control

Network Layer Protocols : two families Connectionless –Each piece of information is sent as an independent entity. No state information is kept in hosts or routers Connection oriented –There exists a virtual circuit over which all pieces of information will transit.

Connectionless vs Connection-oriented Tanenbaum Figure 5.4 Circuit setup Addressing State information Routing Effect of routing failures Congestion control

Routing Routing policy: –updates the routing table Routing mechanism: – decides how to route a packet depending on some policy (i.e, chooses the output line) Routing structure modifies reads Quite elementary

Routing Policy: Updating the Routing Tables Manual Using routing Daemons such as: –RIP –OSPF –EGP –BGP

Routing Mechanism Takes the decision how to route For example, IP protocol implements in each Internet host a mechanism to route

Desirable Properties of Routing Correct Simple Fair Robust STABLE Optimal

Routing Mechanisms Flooding Hot-potatoe Shortest path Fixed routing Dynamic routing

Overview Three big classes of routing policies –Distance vector routing (DVR) –Link state routing (LSR) –Hierarchical Routing (HR) Application to Internet –RIP is a DVR –OSPF is an LSR –EGP, BGP (DVR)

Distance Vector A node –tells its neighbors only –its distance to EVERY NODE in the network Example: –Initial A(0,1,4,inf), – B(1,0,1,1) – C(4,1,0,2) – D(inf,1,2,0) A B D C A receives update from B ….

Distance Vector (Problems!!!) When ? –Links go down What kind of problem ? –Count-to-infinity –Example Solution –path vector ABC 1 1

Link-State Routing A node –tells its EVERY node –its distance to its NEIGHBORS How ? –Send link-state packets (LSP) – using controlled flooding –Use Dijkstra’s algorithm A B D C A receives update from B ….

LANs Internal and External Protocols Internet Backbone Autonomous Systems Autonomous Systems Autonomous Systems Autonomous Systems Exterior Gateway Protocol Interior Gateway Protocol

RIP (RFC 1058) (Routing Information Protocol) Interior gateway protocol Distance vector protocol Uses split horizon to avoid count-to-infinity (Does not advertise a cost to a neighbor if it is a next hop for that destination) Exchange each 30s Time-out after 180 s.

OSPF (RFC 1247) (Open Shortest Path First) Interior gateway protocol Link state protocol Uses directly IP (while RIP uses UDP)

BGP (RFC 1267) (Exterior Gateway Protocol) Exterior gateway protocol (Exception: BGP uses TCP !!!!) Path Vector protocol (+ policy attributes) Topology may be loop-free (BGP guarantees loop-freeness)

The Internet Protocol (IP) RFC 791 Read 5.5

A Connectionless Network Layer: the Internet Protocol (IP) The Internet Protocol is found on every: –host that is connected to Internet –router on a LAN connected to the Internet –router on the backbone Application Transport Network IP Link Layer

Fundamental Idea of IP Routes between Networks, not between hosts This allows shorter routing tables

IP Header (Figure 3.1, p. 34) VHLTOSTotal Length 16-bit identificationFlgs13-bit frag. offset TTLProtocol16-bit Hdr Checksum 32-bit source IP address 32-bit destination IP address Options (Variable 0 ---> ??) Data (TCP segment, or UDP Dtg, or ICMP ….)

Internet Addresses Class A Class B Class C Class D Class E 0 netidhostid 7bits24 bits 1 netid hostid 14 bits16 bits 0 1 netid hostid 21 bits8 bits Multicast group ID 28 bits Future use 27 bits

Special Internet Addresses This host Local host Local broadcast Remote Loopback 127.X.X.X … bits 00000… hostid … … NetID

Internet Addresses (Cont’d) Unicast addresses (Classes A,B, and C) Multicast addresses (Class D) Dotted notation : the 32-address is divided in 4 groups of 8 bits (byte, octet). Each byte is expressed in base 10 separated by dots

Subnetting Why to do subnetting ? How is it done ? Notion of subnet mask

Subnetting (RFC 950) 1 netid hostid 14 bits16 bits 0 Class B netid hostid n bits m bits Example : netid hostid 5 bits 11 bits

Subnetmask Idea : IP1 IP2 & (Bitwise AND) & Subnetmask = R1 = R2 R1 = R2 if IP1 and IP2 are on the same subnet R1 # R2 if IP1 and IP2 are on different subnets

IP Routing Based on a routing table with entries having –Destination IP addr (host ID or net ID) –Next hop router IP address –flags (hostid or netid, next hop or connected interface…) –network interface

IP Routing Cont’d 1) Try to find a complete IP address match in the routing table 2) If 1) fails, then try to find a match with network id if 1) and 2) fail search for default router

Some IP Helpers ARP (Address Resolution Protocol) : RFC 826 RARP : Reverse Address Protocol (RFC 903) BOOTP (RFC 951, 1048, 1084) replaced by DHCP (RFC 1541) ICMP (RFC 792)

Extensions to IP IPv6 Mobile IP

Conclusion You must know: –The functions of the network layer –the difference between connectionless and connection oriented network protocols (what they can do and cannot do) –IP protocol and helpers (ICMP, DHCP, ARP) –the general features introduced by IPv6 –globally what is Mobile IP.