ZNetLab › Published › Lab

Lab: a provider core — OSPF underneath, iBGP on top

LabRouting@admin1 min read

Lab: a provider core — OSPF underneath, iBGP on top

The two-layer design every service provider uses, small enough to hold in your head.

A provider core runs two routing protocols and they do different jobs. This lab is the smallest honest version of that.

The design

R1(config)# router bgp 65000
R1(config-router)# neighbor 10.255.0.2 remote-as 65000
R1(config-router)# neighbor 10.255.0.2 update-source Loopback0

Do this

The point

update-source Loopback0 is the line that makes this design work. A BGP session sourced from a physical interface dies when that interface does; one sourced from a loopback survives as long as any path exists, because OSPF will find another. That is the entire reason for the two layers.

Try breaking it

ospfbgpibgpccnplab

Join the discussion

Replies, likes and bookmarks live in the community half, which needs a free account. This lab opens in the browser — no install, no plugin.

Open this in the communityEverything publishedHow this works