Course contents

Unit 6: OMP and service routingLesson 6.5 (5 of 6 in this unit)40 of 62 in the Cisco SD-WAN course

Connected, static, OSPF/BGP and redistribution

How LAN prefixes enter and leave OMP using connected, static, OSPF and BGP routes, and how to avoid a redistribution loop.

Intermediate · 10 min read

You'll learn to list the ways a WAN Edge learns service-side prefixes, explain how they enter and leave OMP, and avoid a redistribution loop at a dual-router site.

Technical definition

Service-side routing is the routing inside a site’s service VPNs, between the WAN Edge and the LAN. It uses ordinary protocols such as static routes, OSPF and BGP. OMP carries the resulting prefixes across the fabric and hands learned prefixes back to the LAN protocol.

Two worlds, joined at the WAN Edge

The LAN speaks a normal routing protocol. The fabric speaks OMP. The WAN Edge translates between them by advertising LAN prefixes into OMP and redistributing OMP routes into the LAN protocol where the LAN needs them.

Diagram
Sources of service-side prefixes
Sources of service-side prefixes
SourceFitsNotes
ConnectedSimple sites with a few subnetsThe interface subnet itself
StaticA few routes behind a LAN routerNo dynamic failover
OSPFA LAN with many internal routersRedistribute OSPF into OMP, and OMP into OSPF if needed
BGPData-centre or provider-edge handoffsOften used at hubs; keep filters tight
Choose the simplest option that meets the site.
Diagram
Both directions
Both directions

Prefixes pass in and out of OMP.

  1. LANOSPF or BGP
  2. WAN Edgeadvertises to OMP
  3. Fabricother sites learn it
  4. ReturnOMP routes into LAN
Redistribute only what is needed.

The loop risk

Diagram
Redistribution loop
Redistribution loop

Two edges at one site.

Without controlOMP to OSPF to OMPcan loop
With tagsTagged routes are notadvertised back
Tag routes on the first pass and filter on the second.
omp advertise connected advertise ospf external vpn 10 router ospf redistribute omp

Fragment of an example vEdge-style configuration, shortened. Which advertise options exist depends on the release, and IOS XE uses different syntax. Treat it as an illustration of direction, not a ready configuration.

  • Advertise only the prefixes the fabric needs, not every route.
  • At sites with two WAN Edges, use route tags or filters to stop prefixes coming back.
  • Check each direction separately: LAN to OMP, then OMP to LAN.

Learn more: Service VPN ArchitectureOMP Purpose, Peers and Exchanges

Test yourself

Predict · scenario 1

A site has two WAN Edges and OSPF on the LAN. What helps prevent a redistribution loop?

Predict · scenario 2

Which direction needs 'redistribute omp' in the LAN protocol?

FAQ

Do I have to run a routing protocol on the LAN side?
No. A single connected subnet or a few static routes may be enough. A protocol is useful when the LAN has many prefixes or more than one exit.
What can go wrong with redistribution?
At a site with two WAN Edges, a prefix can pass from OMP into the LAN protocol on one router, then back into OMP on the other. Tags or route filters prevent that loop.
Is anything advertised automatically?
Connected networks are commonly advertised by default in many designs, while static, OSPF and BGP routes need an explicit advertise setting. Verify the defaults for your release.