routeprotocol.com

routeprotocol

  • BGP Path Attributes: Multi-Exit Discriminator (MED)

    Following on from checking the origin type, the next path attribute that is checked is the MED, or Multi-Exit Discriminator. Multi-Exit Discriminator utilises a 32-bit value (0 – 4,294,967,295) known as a metric. The lower the metric the more preferred a route is. The MED is set automatically to the IGP path metric during network…

  • BGP Path Attributes: Origin Type

    Following AS Path, origin type is evaluated next in the order of preference. The BGP attribute is well-known and is known simply as ‘origin’. Origin defines where networks originated from, how they were advertised into BGP. Networks that were advertised into BGP via a network statement in the BGP configuration are given an ‘i’ indicator,…

  • BGP Path Attributes: Shortest AS Path

    After AIGP Path Attributes, the next deciding factor is evaluating the AS Path of a route. The AS Path attribute typically corresponds to the number of AS hops are needed to reach a destination. The shorter the AS path, the more preferred it is. There can be times when AS paths are not relative to…

  • BGP Path Attributes: Accumulated Interior Gateway Protocol

    AIGP, Accumulated Interior Gateway Protocol, is an optional nontransitive path attribute that is included with advertisements throughout an AS. It is the fourth decider in a BGP best path after ‘Locally Originated via Network or Aggregate Advertisement’ Interior Gateway Protocols, OSPF or EIGRP, use the lowest path metric to identify the shortest path to a…

  • BGP Path Attributes: Locally Originated via Network or Aggregate Advertisement

    After Weight and Local Preference, the third decision is to determine if the route originated locally. Preference is given in this order: Was the route advertised locally Was this part of a network that has been aggregated locally Was this route learned by a BGP peer

  • BGP Path Attributes: Local Preference

    Local Preference is a well-known discretional path attribute. It is included with advertisements throughout an AS. It is the second preferred path attribute when deciding a best path, after weight. It’s default value is 100, and a higher value is a preferred value. Local preference is a 32-bit value, between 0 to 4,294,967,295 Local preference…

  • BGP Path Attributes: Weight

    BGP Weight is a Cisco defined path attribute and the first step on selecting the best path in BGP. The path with the higher weight is preferred. Weight is a 16-bit value, between 0 to 65,535. A path that originates on the router has a default weight of 32,768. A path that originates from elsewhere…

  • BGP Routing Best Path Selection

    BGP consists of two parts, Network Layer Reachability Information and Path Attributes. The path attributes are a huge factor in deciding the preferred path for traffic to take. On top of this only the best path is advertised to neighbours in BGP. BGP automatically installs the first route it receives for a new destination as…

  • Palo Alto VPN Troubleshooting: Testing

    In some policy based site to site VPNs, for the VPN to begin initialising, ‘interesting’ traffic needs to reach the router. Interesting traffic can be defined in the ‘Proxy IDs’ section of the IPSec tunnel in Palo Alto. When interesting traffic reaches the Palo Alto, if the VPN has not yet established, it will try…

  • Azure: Creating a Web App

    Creating the Application We’re going to create a basic web application in Azure, blind, with no tutorials and as a complete amateur with a newly created Azure account. Start a new project, Create a web app, the intention is that this web app will act as a ‘Hello World’ to know that we successfully connected…