+ All Categories
Home > Documents > 10-Basic BGP v0.1

10-Basic BGP v0.1

Date post: 06-Apr-2018
Category:
Upload: aiman-atta
View: 223 times
Download: 0 times
Share this document with a friend

of 15

Transcript
  • 8/3/2019 10-Basic BGP v0.1

    1/15

    Make It Easiest.com

    ... Would you?

    The Implementing Cisco IP Routing - ROUTEExam: 642-902

    [email protected]

    BGP: Border Gateway Protocol

    Introduction

  • 8/3/2019 10-Basic BGP v0.1

    2/15

    Make It Easiest.com

    ... Would you? [email protected]

    Intro

    Introduction to BGP Real Internet BGP Tables

    Internet Connection Options: when to implement BGP?

    Amount of Updates: how to implement BGP?

    BGP in Action

    BGP Messages

    Neighborship States

    Configuration

    Neighbor Configuration

    Injecting Routes into BGP

    Verification and Troubleshooting

  • 8/3/2019 10-Basic BGP v0.1

    3/15

    Make It Easiest.com

    ... Would you?

    Introduction to BGP

    Exterior Gateway Protocol EGP

    Uses TCP port 179

    Explicitly configured neighbors

    NLRI: Network Layer Reachability Information

    Wealth of path attributes (PA)

    Path vector logic

    Public and Private ASNs

    Public: 1-64,495

    Private: 64,512 - 65,534

    Internal and External BGP

    iBGP vs. eBGP

    [email protected]

    AS 100AS 200

    AS 400AS 300

    140.40.1.0/24140.40.2.0/24

    140.40.3.0/24

    130.200.14.0/24130.200.15.0/24

    130.200.16.0/24

  • 8/3/2019 10-Basic BGP v0.1

    4/15

    Make It Easiest.com

    ... Would you?

    The Real Deal

    IP Lookup

    Domain Lookup

    AS Lookup

    BGP Peering Worldwide

    [email protected]

    AS 100AS 200

    AS 400AS 300

    140.40.1.0/24140.40.2.0/24

    140.40.3.0/24

    130.200.14.0/24130.200.15.0/24

    130.200.16.0/24

  • 8/3/2019 10-Basic BGP v0.1

    5/15

    Make It Easiest.com

    ... Would you?

    Internet Connection Options

    Single homed

    Dual homed

    Single multihomed

    [email protected]

    ISP 1Customer

    ISP 1Customer

    ISP 1

    Customer

    ISP 2

    When to implement BGP?

  • 8/3/2019 10-Basic BGP v0.1

    6/15

    Make It Easiest.com

    ... Would you?

    Internet Connection Options (Contd.)

    Dual multihomed

    [email protected]

    ISP 1

    Customer

    ISP 2

  • 8/3/2019 10-Basic BGP v0.1

    7/15

    Make It Easiest.com

    ... Would you?

    Amount of Updates

    Default route

    Full updates

    [email protected]

    ISP 1

    Customer

    ISP 2

    ISP 1

    Customer

    ISP 2

    How to implement BGP?

  • 8/3/2019 10-Basic BGP v0.1

    8/15

    Make It Easiest.com

    ... Would you?

    Amount of Updates Contd.

    Partial updates with default route

    [email protected]

    ISP 1

    Customer

    ISP 2

    130.200.14.0/24130.200.15.0/24

    130.200.16.0/24

    140.40.1.0/24140.40.2.0/24

    140.40.3.0/24

  • 8/3/2019 10-Basic BGP v0.1

    9/15

    Make It Easiest.com

    ... Would you?

    BGP Messages

    Open establish relationship and exchange ASN and MD5 authentication values.

    Keepalive maintain the neighbor relationship.

    Update exchange prefix/length and the associated PAs

    Notification signal BGP error and results in a reset

    [email protected]

  • 8/3/2019 10-Basic BGP v0.1

    10/15

    Make It Easiest.com

    ... Would you?

    Neighborship States

    Idle either process administratively down or awaiting the next retry attempt.

    Connect waiting for the TCP connection to be completed.

    Active TCP connection completed, but no messages sent.

    Opensent TCP connection exists, BGP Open message not received

    Openconfirm Open message has been both sent to and received

    Established parameters match, relationship works, and the peers can now exchange Updatemessages.

    [email protected]

  • 8/3/2019 10-Basic BGP v0.1

    11/15

    Make It Easiest.com

    ... Would you?

    Configuration

    Neighborship Specification: using neighbor command

    router bgp 2

    neighbor 192.168.21.1 remote-as 13

    network 192.168.2.0 mask 255.255.255.0

    AS 13

    AS 2

  • 8/3/2019 10-Basic BGP v0.1

    12/15

    Make It Easiest.com

    ... Would you?

    Injecting Routes into BGP

    BGP network command: the network has to be in the routing table

    network 192.168.2.0 or network 192.168.2.0 mask 255.255.255.0

    auto-summary effect on network command

    network 172.16.0.0

    Redistribution from IGP table

    [email protected]

  • 8/3/2019 10-Basic BGP v0.1

    13/15

    Make It Easiest.com

    ... Would you?

    Verification & Troubleshooting

    show ip bgp

    show ip bgp summary

    show ip bgp neighbors

    show ip bgp neighbors 192.168.21.1

    show ip route bgp

    show ip route 192.168.1.1

    show ip route 192.168.1.0 255.255.255.0

    show ip route 128.107.0.0 255.255.224.0 longer-prefixes

    clear ip bgp *

    clear ip bgp [13 | 1.1.1.1]

    debug ip bgp events

    debug ip bgp keepalives

    [email protected]

  • 8/3/2019 10-Basic BGP v0.1

    14/15

    Make It Easiest.com

    ... Would you? [email protected]

    Summary

    Introduction to BGP Real Internet BGP Tables

    Internet Connection Options

    Amount of Updates

    BGP in Action BGP Messages

    Neighborship States

    Configuration

    Neighbor Configuration

    Injecting Routes into BGP

    Verification and Troubleshooting

  • 8/3/2019 10-Basic BGP v0.1

    15/15

    Make It Easiest.com

    ... Would you? [email protected]

    COULD you make THE WORLD easiest?

    Please do @ Make It Easiest.com

    Was it easy?


Recommended