Sub topic 3
Leased lines: dedicated point-to-point circuits
This chapter assumes you know IPv4 subnetting, basic static and dynamic routing, and how to read a router interface configuration. It also assumes you know what a CE router and a demarcation point are from the previous chapter.
What a leased line is
A leased line is a dedicated circuit that a provider reserves between two sites. Only your traffic uses it. The bandwidth is fixed and symmetric, so a 10 Mbps line carries 10 Mbps in each direction at all times, whether or not you are sending anything.
Typical access types are T1/E1, T3/E3, and Ethernet-based circuits such as a metro Ethernet private line. The provider often carries the circuit over shared infrastructure, but it presents it to you as a private wire with guaranteed capacity.
How it looks to the routers
Each end of the line terminates on a CE router at the demarcation point. The two routers form a point-to-point link, so a /30 subnet is enough: two usable addresses and nothing wasted.
interface Serial0/0/0
description Leased line to branch
ip address 192.0.2.1 255.255.255.252
encapsulation ppp
no shutdownThe mask 255.255.255.252 is a /30. Here 192.0.2.1 is the local end, and the branch router would use 192.0.2.2. The encapsulation ppp line sets the Layer 2 framing, which the next chapter covers.
The two routers see each other as directly connected neighbors. You can run OSPF, EIGRP, or static routes across the link just as you would on any other point-to-point connection.
Strengths
- Predictable performance. Latency and jitter stay low and stable, because no other customer competes for the capacity.
- Privacy. No other customer's traffic shares the circuit.
- Simplicity. There is no provider routing to coordinate. You control the routing between your own routers.
- Fast failure detection. The router sees the link go down at Layer 1 or Layer 2.
Limits
- Cost. You pay for the full capacity whether you use it or not, and price grows with bandwidth and distance.
- Scaling. Connecting every site to every other site takes n(n-1)/2 circuits. Ten sites in a full mesh need 45 lines. Most designs use hub-and-spoke instead, which sends spoke-to-spoke traffic through the hub and adds latency.
- Slow provisioning. Ordering a new circuit can take weeks.
- No built-in resilience. One circuit is one failure domain. A backup line or a second path costs extra, and the two circuits may share the same physical conduit unless you specify diverse routes.
- Poor fit for cloud. Traffic bound for internet or SaaS services must travel to a central site first.
Common errors
- Mismatched subnet or mask. If the two ends are not in the same /30, the routers cannot reach each other, and the interface can still show up/up.
- Mismatched encapsulation. If one end uses HDLC and the other uses PPP, the line protocol stays down or the link will not negotiate.
- Forgetting
no shutdown. Router interfaces are shut down by default on many platforms. - Assuming the bandwidth is usable end to end. Routing protocols use the configured
bandwidthvalue for metrics. If it does not match the real circuit speed, path selection can be wrong.
Exercise
A company has 8 sites and wants a full mesh of leased lines. How many circuits does it need, and why do many companies choose hub-and-spoke instead?
Show answer
A full mesh needs n(n-1)/2 = 8 x 7 / 2 = 28 circuits. Hub-and-spoke needs only 7 circuits, one from each spoke to the hub. This cuts cost and provisioning effort, at the price of extra latency for spoke-to-spoke traffic and a single point of failure at the hub.