BGP and ICMP. Exterior Gateway Protocol (EGP) Like RIP, but no metrics. Just if reachable. Rtr inside a domain collects reachability information and informs.

Slides:



Advertisements
Similar presentations
CCNP Network Route BGP Part -I BGP : Border Gateway Protocol. It is a distance vector protocol It is an External Gateway Protocol and basically used for.
Advertisements

1 Copyright  1999, Cisco Systems, Inc. Module10.ppt10/7/1999 8:27 AM BGP — Border Gateway Protocol Routing Protocol used between AS’s Currently Version.
BGP.
CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Path Vector Routing NETE0514 Presented by Dr.Apichan Kanjanavapastit.
Routing: Exterior Gateway Protocols and Autonomous Systems Chapter 15.
The Border Gateway Protocol and Classless Inter-Domain Routing
© J. Liebeherr, All rights reserved 1 Border Gateway Protocol This lecture is largely based on a BGP tutorial by T. Griffin from AT&T Research.
CSC 600 Internetworking with TCP/IP Unit 6a: IP Routing and Exterior Routing Protocols (Ch. 14, 15) Dr. Cheer-Sun Yang Spring 2001.
Border Gateway Protocol Autonomous Systems and Interdomain Routing (Exterior Gateway Protocol EGP)
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
1 Network Architecture and Design Routing: Exterior Gateway Protocols and Autonomous Systems Border Gateway Protocol (BGP) Reference D. E. Comer, Internetworking.
CS Summer 2003 Lecture 3. CS Summer 2003 What is a BGP Path Attribute? BGP uses a set of parameters known as path attributes to characterize.
1 ELEN 602 Lecture 20 More on Routing RIP, OSPF, BGP.
CS Summer 2003 Lecture 4. CS Summer 2003 Route Aggregation The process of representing a group of prefixes with a single prefix is known as.
The Border Gateway Protocol (BGP) Sharad Jaiswal.
Computer Networking Lecture 10: Inter-Domain Routing
CSE5803 Advanced Internet Protocols and Applications (8) Introduction Some basic concepts of routing inside an autonomous system was introduced in.
15-744: Computer Networking L-5 Inter-Domain Routing.
Border Gateway Protocol (BGP). 2 CORE, PEERs Autonomous Systems BGP Basic Operations The BGP Routing Process.
Feb 12, 2008CS573: Network Protocols and Standards1 Border Gateway Protocol (BGP) Network Protocols and Standards Winter
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
Inter-domain Routing Don Fussell CS 395T Measuring Internet Performance.
14 – Inter/Intra-AS Routing Network Layer Hierarchical Routing scale: with > 200 million destinations: can’t store all dest’s in routing tables!
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
1 Routing Protocols. 2 Distributed Routing Protocols Rtrs exchange control info Use it to calculate forwarding table Two basic types –distance vector.
1 Routing. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error reports.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
Border Gateway Protocol
BGP V1.1. When is BGP Applicable Basic BGP Peer Configuration Troubleshooting BGP Connections BGP Operation and Path Attributes Route Import/Export Selected.
Xuan Zheng (modified by M. Veeraraghavan) 1 BGP overview BGP operations BGP messages BGP decision algorithm BGP states.
Copyright 2012 Kenneth M. Chipps Ph.D. Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts BGP Last Update
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
Internet Protocols. ICMP ICMP – Internet Control Message Protocol Each ICMP message is encapsulated in an IP packet – Treated like any other datagram,
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
INTER-DOMAIN ROUTING AND BORDER GATEWAY PROTOCOL Dr. Rocky K. C. Chang 22 November
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Understanding BGP Path Attributes.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
1 INTRA- AND INTERDOMAIN ROUTING Routing inside an autonomous system is referred to as intradomain routing. Routing between autonomous systems is referred.
BGP Basics BGP uses TCP (port 179) BGP Established unicast-based connection to each of its BGP- speaking peers. BGP allowing the TCP layer to handle such.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
Inter-domain Routing Outline Border Gateway Protocol.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
Border Gateway Protocol BGP-4 BGP environment How BGP works BGP information BGP administration.
Inter-Domain Routing. Routing Hierarchies Flat routing doesn’t scale –Each node cannot be expected to have routes to every destination (or destination.
Border Gateway Protocol DPNM Lab. Seongho Cho
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Boarder Gateway Protocol (BGP)
Border Gateway Protocol
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
Border Gateway Protocol
BGP (cont) 1. BGP Peering 2. BGP Attributes
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
BGP supplement Abhigyan Sharma.
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.
Lixin Gao ECE Dept. UMASS, Amherst
Net 323 D: Networks Protocols
Cours BGP-MPLS-IPV6-QOS
Department of Computer and IT Engineering University of Kurdistan
Computer Networks Protocols
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

BGP and ICMP

Exterior Gateway Protocol (EGP) Like RIP, but no metrics. Just if reachable. Rtr inside a domain collects reachability information and informs the rtr on the boarder of the domain. Boarder rtr informs the internal rtr about reachability outside the domain. Rtrs establish com with pkts: nbr acquisition request, nbr acquisition reply or refusal, nbr cease request, nbr cease ack. Theoretically only legal topology (but tree would work): backbone

Exterior Gateway Protocol (EGP) R4R5 R6 R1 R3 R2 Domain1 2 Core Topologija u kojoj EGP ne funkcioniše 5*

Border Gateway Protocol (BGP) Different autonomous systems exchange routing information using BGP. BGP messages are exchanged between AS border routers. The protocol for exchanging messages between border routers of the same AS is Internal BGP (IBGP), and the protocol for exchanging messages between border routers of different AS is external BGP (EBGP).

Border Gateway Protocol (BGP) BGP neighbors are configured. They exchange the control information through TCP connections. BGP is a distance vector protocol that is path based, i.e. for each network a sequence of AS to that network is advertised (path) to avoid loops.

BGP ASBR ASBEASBE EBGP IBGP

BGP Packets Between any two BGP routers a reliable TCP connection is established. Open establish com between rtrs of different AS; Update carries routing info; Notification last message before a connection is closed. It reports an error; Keepalive to inform about presence of nbr.

BGP Packet Header Keepalive packet equals the BGP packet header TypeAuthenticationLengthData 16B 2B1B Variable Packet type

BGP Packet Open 2B4B1B4B1B2B VersASHold-TimeBGP ID Optional Parameters Length Optional Parameters Max time during which rtr does not receive packet before concluding a problem. IP address of a rtr sender

BGP Packet Update Variable2BVariable 2B Unfeasible Routes Lngth Withdrawn Routes Total Path Attribute Lngth Path Attributes Network Layer Reachability Charasteristics of a path being advertised List of prefixes being advertised

Kinds of Path Attributes Well known vs. optional. Well known must be recognized and understood. Mandatory vs. discretionary. A mandatory must appear in the description of a route. Partial has been passed along if a router does not recognize it. Transitive vs. nontransitive. A transitive attribute is passed along by the router that does not recognize it and marked as partial. Non-transitive is not passed.

Path Attributes Origin. Values: IGP, EGP, Incomplete. It is well-known mandatory attribute. AS Path. Sequence of AS numbers which are along the path to the destination. Well-known and mandatory. Next Hop. The rtr to which a packet should be next forwarded toward the destination. Well- known and mandatory. Unreachable. Well known and discretionary.

Path Attributes Multi Exit Disc. Degree of preference that is received from AS nbr. Optional nontransitive. Local Preference. Degree of preference given to different routes within AS. Well-known discretionary. Atomic Aggregate. Denotes if some address is a result of the aggregation.Well-known discretionary. Aggregator. AS number and the router IP address that did the aggregation. Well-known discretionary.

BGP Packet Notification 1BVariable1B Error Code Error SubcodeError Data

Error Codes Message Header Error: Indicates a problem with a message header, such as unacceptable message length, unacceptable marker field value, or unacceptable message type. Open Message Error: Indicates a problem with an open message, such as unsupported version number, unacceptable autonomous system number or IP address, or unsupported authentication code. Update Message Error: Indicates a problem with an update message, such as a malformed attribute list, attribute list error, or invalid next- hop attribute. Hold Time Expired: Indicates that the hold-time has expired, after which time a BGP node will be considered nonfunctional. Finite State Machine Error: Indicates an unexpected event. Cease: Closes a BGP connection at the request of a BGP device in the absence of any fatal errors.

IBGP In order to avoid loop in AS, ASBR are connected in a full mesh. Alternatively, in each region there is a designated router which is a Route Reflector (RR). RRs are connected in a full mesh, and they receive updates from each rtr of the region and forward those to other routers. Or, AS is divided into confederations in which ASBRs are connected into full meshes. Each confederation has its own ID, and the path of confederations are added into the BGP packets.

Policy Based Routing in BGP Filters for receiving or advertising or forwarding info for certain prefixes can be implemented. Examples: Only prefixes that originate in certain AS can be accepted, or ads through certain AS cannot be accepted, or would not be forwarded etc. Policy based routing may cause instabilities in the network.

Internet Control Message Protocol

Commands Ping and Traceroute are based on ICMP messages. Ping determines if certain IP address is reachable, and what is RTT to it. Traceroute determines all routers on the way between two IP addresses.