Differences between revisions 2 and 3
Revision 2 as of 2015-07-04 07:52:54
Size: 1325
Editor: PieterSmit
Comment: Add redistribution note into bgp
Revision 3 as of 2015-07-05 09:30:49
Size: 1452
Editor: PieterSmit
Comment: Add sham-link example
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
   * Links to sham-link bgp examples [[http://blog.ine.com/2010/04/08/a-sham-link-really-yes-and-its-not-used-for-phishing/]]

OSPF routing links and notes

  • This is not a explanation of ospf, just interesting notes.
  • sham-links -> ospf + mpls-mp-bgp

    • The problem
      • When using a providers mpls network to connect site, ospf is redistributed into bgp and back out to ospf at the other sites.
      • The problem is that the routes are redistributed back to ospf as inter-area(From another area)
      • this causes ospf to ignore the route, if there is any other intra-area(Same area) links available.
    • Links to sham-link bgp examples http://blog.ine.com/2010/04/08/a-sham-link-really-yes-and-its-not-used-for-phishing/

    • Solution
      • Cisco

      • sham-links changes the behavior on PE routers
    • Config of sham links
      • Each PE needs loopback in same vrf as sham endpoints, e.g. 99.99.99.1, should be able to ping loopbacks in vrf from PE to PE
      • Under PE ospf add sham link
        • SPEDGE1(config)#router ospf 2 vrf CUSTOMER
          SPEDGE1(config-router)#area 0 sham-link 99.99.99.1 99.99.99.2
          !
      • Redistribution OSPF -> MP-BGP with sham link ?

        • We dont need any redistribution from BGP into OSPF
        • but from OSPF into BGP, because MP-BGP needs to have the prefixes in its routing table to use LDP for the VPN-label-assignment.

...

Ospf (last edited 2015-07-05 09:30:49 by PieterSmit)