Bay Area Backbone: Difference between revisions
Line 1: | Line 1: | ||
[[File:Backbone Map.png|thumb|link=https://sfbackbone.xojs.org/]] |
[[File:Backbone Map.png|thumb|link=https://sfbackbone.xojs.org/]] |
||
− | The Bay Area Backbone Project is building solid, fast, links between major high sites in the Bay Area, which in turn supports a more stable mesh network. |
+ | The Bay Area Backbone Project is building solid, fast, links between major high sites in the Bay Area, which in turn supports a more stable mesh network. We do this for a number of reasons: |
+ | |||
+ | * It easier to connect high sites to other high sites, especially when we're trying to connect different neighborhoods while avoiding mountain ridges. |
||
+ | * High sites are often backed up with generator power. We provide battery backup ourselves, but that will only last so long. |
||
+ | * High sites will be thee when the Ham moves on. Because these are generally commercial sites with long histories of ham involvement, we are not a the whims of someones current housing situation or - in some cases - employment situation. |
||
+ | * It's often easier for a neighborhood to connect up to a high site (or more than one) as they're less obstructed. |
||
== Status == |
== Status == |
||
Line 157: | Line 162: | ||
== Backbone Network Structure == |
== Backbone Network Structure == |
||
⚫ | |||
+ | === Physical === |
||
− | A recent addition to the AREDN code ([https://github.com/aredn/aredn/pull/514 PR #514]) allows additional VLANs (xlinks) or other network interfaces to be added to the AREDN/OLSR L3 routing layer. This enables the use of external routers and switches when building the backbone network without additional requirements on the AREDN nodes themselves. |
||
+ | A minimal backbone endpoint consists of two pieces of hardware: |
||
+ | |||
+ | * A non-AREDN radio. We generally use Ubiquiti airFiber 5XHD radios, but this is not required; any PtP radio will work. |
||
+ | * A Mikrotik hAP ac2 AREDN node |
||
+ | |||
+ | The radio provides the wireless endpoint for one end of a backbone link, while the hAP links that radio into the rest of the AREDN network. |
||
− | == |
+ | === Network === |
+ | To connect these PtP links into the AREDN network we use an AREDN features called XLINKS. An XLINK is a point to point VLAN with a specific VLAN number for that connection. The VLAN is integrated into the AREDN network just link any other link. You can think of it as an AREDN tunnel, but without the overhead of that mechanism or the need for an Internet connection. |
||
− | We are experimenting with transitioning the VLAN2 (DtD) backbone structure to one based on unique VLANs per backbone link. Each links is integrated into AREDN using XLINKs to allow OLSR to make route selections. See "Point-to-point VLANs" below. |
||
+ | === Mesh === |
||
− | == Possible Network Organizations == |
||
+ | Backbone links appear in the mesh labeled as '''xlink''' but are no different from any other link in the network. We are not building a hierarchy with the backbone at the top and the rest of the mesh hanging below. But the nature of the backbone, how it connects, and the way the mesh routing protocol operates, these links will provide preferred pathways between physically distance locations. And that's the goal. |
||
− | + | == Alternatives == |
|
+ | There are other approaches to this problem. The [[Lamorinda Network]] uses an [[wikipedia:Open_Shortest_Path_First|OSPF]] network of license radios, and then runs AREDN as a single "site" on top of it as one of its tenants. |
||
− | One simple option is to create individual VLANs between pair of backbone radios. These VLANs are then added to an AREDN node (perhaps an hAP or similar) at each site. Topology and routing uses the current OLSR mechanism. The has the upside of being simple to implement and better than one giant shared VLAN. The downside is that this doesnt solve the routing problem for non-AREDN user of the backbone. |
||
− | + | == Previous Approach == |
|
⚫ | |||
− | A more complex option is to use a full routed backbone. In this case, each backbone node must contain a router with IP address. Routers have either static or preferably dynamically managed routes to pass traffic through the network. The xlink AREDN VLANs are also assigned IP addresses within this network, as well a AREDN peer IP address. The peer address need not be a directly connected node, although that probably makes most sense. AREDN will make routing choices as usual and pass traffic using the xlinks. This traffic will then be routed over the network just like any other traffic. From an AREDN perspective this is no more complex to configure that point-to-point VLANs, except that the VLANs are not exposed beyond the local router. However, the backbone network must be configured and managed separately. This has the advantage of making the backbone easily available for non-AREDN traffic. |
Revision as of 19:34, 2 March 2023
The Bay Area Backbone Project is building solid, fast, links between major high sites in the Bay Area, which in turn supports a more stable mesh network. We do this for a number of reasons:
- It easier to connect high sites to other high sites, especially when we're trying to connect different neighborhoods while avoiding mountain ridges.
- High sites are often backed up with generator power. We provide battery backup ourselves, but that will only last so long.
- High sites will be thee when the Ham moves on. Because these are generally commercial sites with long histories of ham involvement, we are not a the whims of someones current housing situation or - in some cases - employment situation.
- It's often easier for a neighborhood to connect up to a high site (or more than one) as they're less obstructed.
Status
The current health of the backbone is monitored here (internet)
Management VLANs
Each site manages its devices on a unique VLAN to isolate them from all other sites (the management VLAN is not passed across any links).
VLAN | Site | Notes |
---|---|---|
3 | Fish Ranch | VLAN is not set on the AF radio |
3 | ORCA | |
121 | Mount Diablo | |
100 | San Bruno (Building 4) | |
100 | San Bruno (Building 7) | |
122 | CCCC | |
1001 | San Carlos | |
1002 | Black Mountain | Not active yet |
1003 | San Pedro | |
1004 | Sunol Ridge | |
- | Wolfback | TODO |
XLINKS
XLINKS are custom VLANs between sites which feed directly into the AREDN router. Think of them as DtD links, but only point-to-point.
Link | VLAN | Subnet | A | B | Notes |
---|---|---|---|---|---|
San Bruno Mountain to Swallow Home | 10 | 100.64.0.20/30 | 100.64.0.21 | 100.64.0.22 | |
San Bruno Mountain to Black Mountain | 11 | 100.64.0.16/30 | 100.64.0.17 | 100.64.0.18 | Proposed |
ORCA to Fish Ranch | 12 | 100.64.0.12/30 | 100.64.0.13 | 100.64.0.14 | |
Fish Ranch to San Bruno Mountain | 13 | 100.64.0.8/30 | 100.64.0.10 | 100.64.0.9 | |
San Carlos to Sunol Ridge | 14 | 100.64.0.4/30 | 100.64.0.6 | 100.64.0.5 | |
San Bruno Mountain to San Carlos | 15 | 100.64.0.0/30 | 100.64.0.1 | 100.64.0.2 |
Backbone Links
Active
- Fish Ranch
- ORCA
- CCCC
- San Bruno Mountain (Building 7)
- San Carlos
- Sunol Ridge
- Mount Diablo
- Richmond Field Station
- Wolfback
Planned
Proposed
Backbone Network Structure
Physical
A minimal backbone endpoint consists of two pieces of hardware:
- A non-AREDN radio. We generally use Ubiquiti airFiber 5XHD radios, but this is not required; any PtP radio will work.
- A Mikrotik hAP ac2 AREDN node
The radio provides the wireless endpoint for one end of a backbone link, while the hAP links that radio into the rest of the AREDN network.
Network
To connect these PtP links into the AREDN network we use an AREDN features called XLINKS. An XLINK is a point to point VLAN with a specific VLAN number for that connection. The VLAN is integrated into the AREDN network just link any other link. You can think of it as an AREDN tunnel, but without the overhead of that mechanism or the need for an Internet connection.
Mesh
Backbone links appear in the mesh labeled as xlink but are no different from any other link in the network. We are not building a hierarchy with the backbone at the top and the rest of the mesh hanging below. But the nature of the backbone, how it connects, and the way the mesh routing protocol operates, these links will provide preferred pathways between physically distance locations. And that's the goal.
Alternatives
There are other approaches to this problem. The Lamorinda Network uses an OSPF network of license radios, and then runs AREDN as a single "site" on top of it as one of its tenants.
Previous Approach
The setup for backbone links operated a simply switching VLAN2 (DtD) between all radios. This essentially makes all AREDN nodes at each site look like they're on one ethernet segment. It was not an ideal solution which we have moved away from as the backbone has grown.