Chapter 4: Advanced Internetworking

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 26 IPv6 Addressing.
Advertisements

Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
Computer Networks Chapter 4: Advanced Internetworking.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 22 Omar Meqdadi Department of Computer Science and Software Engineering University.
1 CCNA 3 v3.1 Module 1. 2 CCNA 3 Module 1 Introduction to Classless Routing.
CCNA 2 v3.1 Module 6.
Routing and Routing Protocols
MULTICASTING Network Security.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
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 22 Network Layer: Delivery, Forwarding, and Routing
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Routing and Routing Protocols Routing Protocols Overview.
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Routing in the Internet The Global Internet consists of Autonomous Systems (AS) interconnected with eachother: Stub AS: small corporation Multihomed AS:
CCNP Network Route IPV-6 Part-I IPV6 Addressing: IPV-4 is 32-BIT, IPV-6 is 128-BIT IPV-6 are divided into 8 groups. Each is 4 Hex characters. Each group.
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
IP. Classless Inter-Domain Routing Classful addressing scheme wasteful – IP address space exhaustion – A class B net allocated enough for 65K hosts Even.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
Inter-domain Routing Outline Border Gateway Protocol.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
+ Dynamic Routing Protocols 2 nd semester
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.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing & Switching.
TRANSPORT LAYER BY, Parthasarathy.g.
Chapter 4: Network Layer
NAT – Network Address Translation
Chapter 4: Advanced Internetworking
Routing BY, P.B.SHANMATHI.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
ICMP ICMP – Internet Control Message Protocol
Chapter 4: Network Layer
COMP 3270 Computer Networks
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Introduction to Internet Routing
Routing: Distance Vector Algorithm
Net 323 D: Networks Protocols
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Routing.
Net 323 D: Networks Protocols
Chapter 5: Dynamic Routing
Chapter 26 IPv6 Addressing
(How the routers’ tables are filled in)
Chapter 9: Multiarea OSPF
Dynamic Routing Protocols
Department of Computer and IT Engineering University of Kurdistan
Chapter 26 IPv6 Addressing
Dynamic Routing and OSPF
Chapter 8: Single-Area OSPF
Chapter 4: Network Layer
Networking CS 3470 Sarah Diesburg
Overview The Internet (IP) Protocol Datagram format IP fragmentation
Chapter 9: Multiarea OSPF
Chapter 4: Network Layer
Dynamic Routing Protocols
Chapter 4: Network Layer
Internet Protocol, Version 6 (IPv6)
Chapter 9: Multiarea OSPF
Networking CS 3470 Sarah Diesburg
Computer Networks Protocols
Routing.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

Chapter 4: Advanced Internetworking CS 3470, Section 1

Intra-AS and Inter-AS Routing C.b Gateways: perform inter-AS routing amongst themselves perform intra-AS routers with other routers in their AS B.a A.a b A.c c a a C b a B d c A b

Intra-AS and Inter-AS Routing C.b Gateways: perform inter-AS routing amongst themselves perform intra-AS routers with other routers in their AS B.a A.a b A.c c a a C b a B d c A b network layer inter-AS, intra-AS routing in gateway A.c link layer physical layer

Intra-AS Routing Algorithms We have already talked about two intra-AS routing algorithms: Link state routing Distance vector routing

Link State vs Distance Vector Tells everyone about neighbors Controlled flooding to exchange link state Dijkstra’s algorithm Each router computes its own table May have oscillations Tells neighbors about everyone Exchanges distance vectors with neighbors Bellman-Ford algorithm Each router’s table is used by others May have routing loops Now lets compare these two routing protocols. Under link state, a router tells everyone about its neighbors using controlled flooding. Distance vector case a router communicates with neighbors only to inform about everyone. Link state each router gathers global information and computes its own table using Dijkstra’s algorithm. Distance vector performs distributed computation using other routers tables. We saw that distance vector can cause routing loops. There may be frequent changes in routes in the case of link state. This results in out of order delivery of packets which is undesirable. Both these approaches have advantages and disadvantages. Both are used in the Internet. OSPF is the most popularly used intra-domain routing protocol that is based on link state. RIP is based on distance vector which is being taken over by OSPF. BGP is an inter-domain protocol that uses path vectors.

RIP RIP == Routing Information Protocol RIP is a distance vector implementation Instead of advertising costs to the next router, RIP advertises the cost to the next network. (network_address, distance) pairs

Large Routing OSPF BGP

OSPF One of the most widely-used link-state routing protocols is Open Shortest Path First Open, nonproprietary standard created by the Internet Engineering Task Force Shortest Path First is an alternative name for link- state routing Hierarchical – can divide the system into “areas.”

OSPF Roles Internal router :: a level 1 router. Backbone router :: a level 2 router. Area border router (ABR) :: a backbone router that attaches to more than one area. AS border router :: (an interdomain router), namely, a router that attaches to routers from other ASs across AS boundaries.

OSPF advertisement Indicates LSA type Indicates link cost

OSPF LSA types Router link advertisement [Hello message] Network link advertisement Network summary link advertisement AS border router’s summary link advertisement AS external link advertisement

Border Gateway Protocol and Autonomous Systems Assumes the Internet is an arbitrarily interconnected set of AS's. Define local traffic as traffic that originates at or terminates on nodes within an AS, and transit traffic as traffic that passes through an AS.

Border Gateway Protocol and Autonomous Systems We can classify AS's into three types: Stub AS: an AS that has only a single connection to one other AS; such an AS will only carry local traffic

Border Gateway Protocol and Autonomous Systems We can classify AS's into three types: Multihomed AS: an AS that has connections to more than one other AS, but refuses to carry transit traffic

Border Gateway Protocol and Autonomous Systems We can classify AS's into three types: Transit AS: an AS that has connections to more than one other AS, and is designed to carry both transit and local traffic (backbone provider)

BGP The goal of Inter-domain routing is to find any path to the intended destination that is loop free We are concerned with reachability than optimality Finding path anywhere close to optimal is considered to be a great achievement

BGP Scalability: An Internet backbone router must be able to forward any packet destined anywhere in the Internet Autonomous nature of the domains Issues of trust

BGP Each AS has: One BGP speaker that advertises: local networks other reachable networks (transit AS only) gives path information In addition to the BGP speakers, the AS has one or more border “gateways” which need not be the same as the speakers The border gateways are the routers through which packets enter and leave the AS

BGP BGP does not belong to either of the two main classes of routing protocols (distance vectors and link-state protocols) BGP advertises complete paths as an enumerated lists of ASs to reach a particular network

IPv6 Moving on to IPv6! For more information, refer to Section 4.1.3 in your textbooks

Why not IPv4? IPv4 addresses have become relatively scarce NATs help by promoting reuse of address space, but they don’t do enough

Why not IPv4? The public IPv4 address space will eventually be depleted. It would be nice to not have to rely on protocols like DHCP to configure addresses

Why not IPv4? Private communication over a public medium like the Internet requires encryption services that protect the data being sent from being viewed or modified in transit.

Why IPv6? IPv6 is required to include IPsec. IPsec allows authentication, encryption, and compression of IP traffic.

Why IPv6? IPv6 uses a 128-bit address instead of the 32-bit address of IPv4. This doesn't give 4 times the addresses of IPv4 but rather the number of IPv4 addresses squared twice. A couple of articles out there have stated that this works out to billions of billions of addresses for every square meter on the planet.

IPv6 Addressing An IPv6 address is written as hexadecimal values (0-F) in groups of four separated by colons, like: A223:BB34:0000:0000:0000:0099:DA78:5679 Strings of zeros can be dropped and leading zeros in a number group can be dropped, so the example above would shorten to A223:BB34::99:DA78:5679.

IPv6 Addressing IPv4 isn't left out completely IPv4 addresses can be expressed in IPv6 form as follows: 0000:0000:0000:0000:0000:0000:192.168.10.10 –which can be shortened to ::192.168.10.10 This makes transitioning a bit easier.

IPv6 IPv6 adds significant extra features that were not possible with IPv4. Automatic configuration of hosts (similar and DHCP) Extensive multicasting capabilities Built-in security using authentication headers and encryption Built-in support for QOS and path control

IPv4 and IPv6 Headers

IPV4 and IPV6 Addressing Ipv4: IPV6 32 bits ~ 4,200,000,000 addresses 340,282,366,920,938,463,463,374,607,431,768,211,456 nodes Addresses have “scope” Link Local Unique Local Global Addresses have lifetime Valid and preferred lifetime facets Unicast, Multicast, and Anycast...but no broadcast

IPv6 Addressing Same “longest-prefix match” routing as IPv4 CIDR e.g: 2001:db8:12::/40 Two Different Classes Link-State (i.e., OSPF, ISIS, etc.) Distance-Vector (i.e., RIP, IGRP, etc.) Autonomous System / Routing Domain Interior Gateway Protocols (IGPs) i.e., OSPFv3, ISIS for IPv6, RIPng, EIGRP for IPv6 Exterior Gateway Protocols (EGPs) Multi-Protocol Extensions for BGP4

IPv6 Addressing The idea behind having fixed-width, 64-bit wide host identifiers is that they aren't assigned manually as in IPv4. Instead, v6 host addresses are recommended to be built from so-called EUI64 addresses. EUI64 addresses are 64-bits wide, and derived from MAC addresses of the underlying network interface. For example, with Ethernet, the 6-byte (48-bit) MAC address is usually filled with the hex bits "fffe" in the middle

What's your address, MAC? For example, with Ethernet, the 6-byte (48-bit) MAC address is usually filled with the hex bits "fffe" in the middle -- the MAC address 01:23:45:67:89:ab results in the EUI64 address 01:23:45:ff:fe:67:89:ab which again gives the host bits for the IPv6 address. ::0123:45ff:fe67:89ab

End of Chapters 3-4