Hello, everyone.
I am studying SD-WAN for ENCOR and I have a question regarding OMP and TLOCs.
I understand that TLOCs consists of 3-tuple of information, which are:
- Encapsulation type
- Color
- System IP
This is where it gets a little confusing. When OMP routing is performed, both OMP and TLOC routes are used, correct?
In other words, like with normal (say BGP) routing, if we received a route for 10.1.1.0/24, there will be some sort of next hop. This next hop is resolved in the routing table so the device knows which interface to use.
It’s somewhat same with OMP, or not? OMP route points to system IP as a next hop (i.e., this route 10.1.0.0/24 is reachable via WAN edge with system IP 12.12.12.12)
show omp
omp route entries for vpn 10 route 10.1.0.0/24
RECEIVED FROM:
peer 12.12.12.12
When the device sees this, it will check the corresponding TLOC route that has a system IP of 12.12.12.12
tloc entries for 10.1.0.0
RECEIVED FROM:
peer 12.12.12.12
status C,I,R
loss-reason not set
lost-to-peer not set
lost-to-path-id not set
Attributes:
attribute-type installed
encap-key not set
encap-proto 0
encap-spi 256
encap-auth sha1-hmac,ah-sha1-hmac
encap-encrypt aes256
public-ip 172.16.10.2
public-port 12366
private-ip 172.16.10.2
private-port 12366
public-ip ::
public-port 0
private-ip ::
private-port 0
bfd-status up
domain-id not set
site-id 100
overlay-id not set
preference 0
tag not set
stale not set
weight 1
version 3
This TLOC route also contains the public (or private) IP addresses that the local device can use when sending traffic towards this network.
It gets a little complex, so I have to verify a few things.
- A TLOC route and a TLOC is not exactly the same, is it? The route contains more information such as what IP to use while a normal TLOC contains just the 3-tuple
- The system IP isn’t an actual routable IP address, right? It’s more of an identifier for the relevant TLOC route
- Is the TLOC route used to also build the overlay tunnel? If so, when exactly is it advertised? Considering that OMP has OMP routes, TLOC routes, etc. Are they advertised together, or?
So if I get this right, if there is a route that has 5.5.5.5 as the next hop, the router will check the corresponding TLOC route that has a system IP of 5.5.5.5? Which should contain everything the device needs to establish an overlay tunnel, so things like the public (or private) IPs, etc.
Do the colors need to match on the routers? Say that I decide to color an MPLS circuit as “RED” on the advertising router. The receiving router will eventually receive the TLOC and see “RED” there. If the colors match, would it know that it needs to route the traffic via MPLS? Or how exactly do the colors and exit interfaces work?
Thank you
David