When one set of hubs means too many tunnels
In a hub-and-spoke network every branch builds a tunnel to the head-end for each of its transports. With 4,000 branches and two transports each, one head-end router holds 8,000 tunnels. Adding a second router does not help if both routers serve every branch, because each router still carries every tunnel. What helps is to divide the branches into parts and let each part use its own head-ends. Tunnel groups are the setting that makes the division.
With one pool, every branch builds tunnels to every head-end router, so each router holds all of them. With groups, each branch builds tunnels only to the head-ends of its own group, so each router holds only the branches of that group.
| Groups | Branches in each group | Tunnels per head-end router | Against the 5,000-tunnel example limit |
|---|---|---|---|
| 1 group | 4,000 | 8,000 | Over the limit |
| 2 groups | 2,000 | 4,000 | Within the limit |
| 4 groups | 1,000 | 2,000 | Within the limit |
| 8 groups | 500 | 1,000 | Within the limit |
What a tunnel group does
A tunnel group is a number set on a tunnel interface, and it travels as an attribute of the TLOC. The references read describe three outcomes when two TLOCs consider a tunnel: the same number forms a tunnel, a missing number on one side forms a tunnel, and two different numbers form none. The colour does not matter for the match, unless the restrict option is also set, and then the colours have to match as well as the numbers.
Two TLOCs with the same group ID form a tunnel. If one TLOC has no group ID, they form a tunnel anyway, according to the references read. If the two group IDs differ, no tunnel forms.
- Same groupGroup 1 with group 1A tunnel forms
- No group on one sideGroup 1 with no groupA tunnel forms
- Different groupsGroup 1 with group 2No tunnel forms
| Setting | What it controls | Applies to | Limit noted in the references |
|---|---|---|---|
| Colour | The kind of transport, and by default the public and private pairing | Each tunnel interface | Different colours can still connect unless restricted |
| Restrict | Only same-colour TLOCs form tunnels | A colour on a router | Only one interface per router can carry a given colour |
| Tunnel group | Which sites may form tunnels, whatever the colour | Each tunnel interface | One value per interface in the examples read |
Designing the groups
The case study read splits a very large network into two groups by geography, with each branch applying its group to all of its transports and each data centre serving each group with its own pair of head-ends. The same method works at any scale. The steps are to pick the dimension that divides the branches, give every transport of a branch the same group, and place the head-ends that serve each group.
Pick the dimension that divides the branches, such as the region. Give every transport of a branch the same group ID. Place head-ends that serve each group. Count the tunnels on each head-end with the real group sizes. Test what happens when the head-ends of one group fail.
- Pick the splitregion or anothernatural dividing line
- Assign groupssame ID on everytransport of a branch
- Place head-endsa pair or a singlerouter for each group
- Counttunnels per head-endwith real sizes
- Test failurehead-ends of onegroup lost
Groups are rarely equal in size. A split by geography follows where the branches are, and the busiest group sets the load on its head-ends, not the average.
| Split of the branches | Tunnels, larger group | Tunnels, smaller group | Against the 5,000-tunnel example limit |
|---|---|---|---|
| 50 and 50 percent | 4,000 | 4,000 | Both within |
| 55 and 45 percent | 4,400 | 3,600 | Both within |
| 60 and 40 percent | 4,800 | 3,200 | Both within, little headroom |
| 70 and 30 percent | 5,600 | 2,400 | Larger group over the limit |
The price: groups are also walls
A group that keeps branches off the wrong head-ends also keeps them off the healthy ones when their own head-ends fail. Branches in group 1 form no tunnel to the head-ends of group 2, so if the group 1 head-ends are down, the group 1 branches have no path to the hubs at all, although the group 2 hubs are working. A hub without a group would form tunnels with every group, according to the references, and so can act as a shared standby, with the cost that it then carries the tunnels of every group it stands behind.
Branches of one group cannot reach the head-ends of another group, so a failure of the head-ends of one group isolates its branches. A hub without a group can stand by for all groups but carries their tunnels. A redundant pair per group adds tunnels on every branch. A single head-end per group adds capacity and removes redundancy.
- Group failsits branches haveno hub path
- Shared standbya hub without agroup carries all
- Pair per groupmore tunnels onevery branch
- Single per groupfewer tunnels,no redundancy
| Head-end design for the group | Head-end routers | Tunnels on each branch router | If one head-end fails |
|---|---|---|---|
| Single router per group | 1 | 2 | The branch loses the hub path |
| Redundant pair per group | 2 | 4 | The other router carries the branch |
Checking the groups
The references read show the group as an attribute that the Controller advertises with each TLOC, and the check is to list the TLOCs with their groups. The commands in those references are in the style of vEdge routers, and the pages read gave no equivalent for other platforms, so confirm the command and the template field for the platform in use.
BR-01#show omp tlocs TLOC IP COLOR GROUP 10.255.1.1 biz-internet 1 10.255.1.2 biz-internet 2 10.255.2.1 biz-internet 1 10.255.2.2 biz-internet 2
A worked case: the head-end that did not fit
Priya reviews a design for 4,000 branches with two transports each. The first plan uses one pair of head-ends for everyone. Each router would hold 8,000 tunnels, and the invented limit for the planned model is 5,000. She proposes two groups, north and south, with a head-end pair for each.
| Step | Tunnels on the busiest head-end | Against 5,000 | What it says |
|---|---|---|---|
| One pair serves every branch | 8,000 | Over | More routers do not help while each serves everyone |
| Two groups, north and south, split 70 and 30 | 5,600 | Over | Geography is uneven, so the split fails |
| Two groups, boundary moved to 55 and 45 | 4,400 | Within | The design fits with about 12 percent headroom |
| Group 1 head-ends fail | Group 1 branches isolated | - | Add a shared standby or accept the risk in writing |
The review ends with a decision and not a number: two groups with a 55 and 45 split fit the example limit, and the failure row shows the cost, a group whose branches lose their hubs together. If that is not acceptable, the options are a standby hub without a group, which has to carry the tunnels of whichever group fails, or more groups, which make each failure smaller and the design larger.
Learn more: Full-Mesh Economics and Tunnel ScaleOn-Demand (Dynamic) TunnelsTLOC Components
Test yourself
4,000 branches with two transports each are split into 4 equal groups, and each group is served by its own head-end. How many tunnels does one head-end hold?
A branch TLOC has group 1 and a head-end TLOC has group 2. What happens, according to the references read?
A hub TLOC has no group ID and a branch TLOC has group 3. What is described for this pair?
Two groups split 4,000 branches 70 and 30 with two transports each. The example limit is 5,000 tunnels. What is the result?
The head-ends of group 1 fail and the group 2 head-ends are healthy. What happens to a group 1 branch that has no other hub?
How many tunnels does a branch with two transports hold toward a redundant pair of head-ends in its group?
What does restrict add when it is combined with a tunnel group?
Which statement about a hub without a group is supported by the references read?