Backbone Site Hardware: Difference between revisions
No edit summary |
(→OSPF) |
||
(One intermediate revision by the same user not shown) | |||
Line 69: | Line 69: | ||
[[wikipedia:Open_Shortest_Path_First|OSPF]] is the protocol we use to manage the backbone network. An extensive explanation of this protocol is beyond the goal of this. Here we'll just highlight our configuration. |
[[wikipedia:Open_Shortest_Path_First|OSPF]] is the protocol we use to manage the backbone network. An extensive explanation of this protocol is beyond the goal of this. Here we'll just highlight our configuration. |
||
− | * The ''Router ID'' ( |
+ | * The ''Router ID'' (Box A) is the unique ID of each router in the network. The ID looks suspiciously like an IPv4 address, and although it isn't; it usually has some relationship to the IPv4 addresses associated with the device. |
− | * ''Redistribute static'' ( |
+ | * ''Redistribute static'' (Box B) is checked. If we later defined a public IP address on this device, this option will make sure the rest of the network can route traffic to it. |
*We defined a single ''Area'' 0.0.0.0 (middle left). Large networks might require multiple areas, but we don't need that added complexity. |
*We defined a single ''Area'' 0.0.0.0 (middle left). Large networks might require multiple areas, but we don't need that added complexity. |
||
*For the area we define the networks it will support. Currently we support 4 networks: |
*For the area we define the networks it will support. Currently we support 4 networks: |
||
Line 77: | Line 77: | ||
**''206.197.44.0/24'' - This is a public set of IPv4 address, any of which can be assigned to any router port within the network. These IP address are accessible from the Internet and their use is unrestricted. |
**''206.197.44.0/24'' - This is a public set of IPv4 address, any of which can be assigned to any router port within the network. These IP address are accessible from the Internet and their use is unrestricted. |
||
**''44.31.228.0/24'' - This is a public set of IPv4 addresses provided by the ARDC for ham related projects and operate exactly like the 206.197.44.0/24 addresses. Their use is restricted to ham related activity. |
**''44.31.228.0/24'' - This is a public set of IPv4 addresses provided by the ARDC for ham related projects and operate exactly like the 206.197.44.0/24 addresses. Their use is restricted to ham related activity. |
||
− | *We select with ''Interfaces'' ( |
+ | *We select with ''Interfaces'' (Box C) which are used by the OSPF and backbone traffic. This basic configuration uses two interfaces: |
**switch.1100 - is VLAN 1100, the same VLAN we use for XLINK traffic. This allows OSPF to send traffic over the backbone radio. |
**switch.1100 - is VLAN 1100, the same VLAN we use for XLINK traffic. This allows OSPF to send traffic over the backbone radio. |
||
**switch.1000 - is a locally defined VLAN which we associated with 100.100.0.0/16 addresses. This allows local devices to send traffic over the backbone. |
**switch.1000 - is a locally defined VLAN which we associated with 100.100.0.0/16 addresses. This allows local devices to send traffic over the backbone. |
||
Line 85: | Line 85: | ||
=== airFiber === |
=== airFiber === |
||
− | I will not include the configuration of the airFiber radios here as the radio selection and configuration is very site specific. We usually choose point-to-point |
+ | I will not include the configuration of the airFiber radios here as the radio selection and configuration is very site specific. We usually choose point-to-point; but occasionally use point-to-multipoint. That said, here are some things to be aware of: |
+ | |||
+ | * '''Frequency selection''' - The radios offer a large range of available frequencies, including access to the ham specific ones and part of the 6GHz spectrum. Care should be taken when selecting what to use, particular at sites with WISP customers who are usually paying more money than we are to be there (and get priority). The 6GHz band can be licensed using the [https://apps.fcc.gov/oetcf/els/index.cfm OET Experimental Licensing System]. |
||
+ | * '''Channel bandwidth''' - The goal of the backbone is to provide 100Mbps in each direction (so 200Mbps total). The channel bandwidth is adjusted in order to achieve this while still maintaining a stable connection. |
||
+ | * '''Country''' - We select the country ''Licensed (5170-6200 MHz)''. This allows the radio to access both the ham band frequencies as well as the experimental 6GHz spectrum. |
||
+ | |||
+ | ==== Tools ==== |
||
+ | airFiber radios provide many tools to aid in setting up new links. |
||
+ | |||
+ | * '''Align Antenna''' - This tools helps setup the initial link, point the antenna correctly, and estimates the necessary rotation and tilt for best alignment. |
||
+ | * '''Airview''' - This provides a realtime radio spectrum and waterfall, and is extremely useful when selecting which frequency for your link. |
Latest revision as of 15:31, 7 November 2023
We had tried to standardize hardware at sites where we can. This simplified management and maintenance.
Hardware
The image belows illustrates the basic hardware we would install at a backbone site.
This consists of the following components:
- An Ubiquiti EdgeRouter X SFP which supports the backbone routing protocols, as well as providing power-over-ethernet to the other components
- A Mikrotik hAP ac2 which provides AREDN services at the site
- An Ubiquiti airFiber radio which connects this site to others in the network
- A 19" rack shelf to install the hardware on.
- 24v power input, either from an AC/DC converter, or from a battery backup supply (not shown here)
Connections
By using a PoE router, we simplify the wiring of the rest of the system as every other component is powered over ethernet.
- The white cable on the right provides networking and power to the hAP.
- The yellow cable on the left provides power and networking to the airFiber radio.
- Additional backbone devices can use the additional three ports on the router (with appropriate configuration - see below)
- Additional AREDN devices can use either the additional router ports or the hAP ports (with appropriate configuration - see below)
Configuration
Both the hAP and the Router require custom configuration.
hAP ac2 Configuration
The hAP is configured just like any other AREDN nodes; but there are a few changes in the Advanced Network tab.
Ports
- All the ports, 1 through 5, are configured as both AREDN LAN and AREDN DtD ports. This gives us a lot of flexibility in what devices we can attached to the node later.
- We have no WAN ports selected as we dont use any local Internet services at sites.
- Port 1 is the PoE-IN port. This configuration lets us power the hAP with PoE.
XLinks
The basic configuration uses one xlink to connect this AREDN device to others over the airFiber radio. More information about xlinks can be found in the AREDN documentation. In this configuration:
- We use VLAN 1100. XLink data is always encapsulated with a VLAN, and for backbone traffic we use VLANs starting at 1100.
- Port 1 is selected - the same port providing power, DtD and everything else to the hAP from the Router.
EdgeRouter X SFP Configuration
The EdgeRouter performs multiple roles in this setup:
- It provides power to everything else.
- It routes AREDN DtD and LAN traffic to its physical ports.
- It routes XLINK traffic from the hAP to the airFiber radio.
- It manages its part in the backbone using OSPF.
- It enables the delivery of public Internet IPv4 or IPv6 address endpoints to this site.
Power-over-ethernet
The Power-over-Ethernet setting is configurable per port. In the above you can see which ports are enabled (inside the red box).
The PoE setting is controlled by the Action dropdown to the right of the screen.
VLANs
We configure the router to use a single, VLAN aware bridge. In this configuration we can control which VLANs on which ports are connected. Because the bridge is VLAN aware, traffic on different VLAN is never merged. You access this configuration using the Action drop down associated with switch0.
- By default, we allow VLAN 2 - the AREDN DtD VLAN - to pass to every port except eth0.
- VLAN 1100 - the XLINK VLAN - is passed to ports eth0 (the airFiber) and eth4 (the hAP). This allows the xlink traffic from the hAP to flow in and out of the airFiber radio.
At specific sites, this configuration is often changed to support additional backbone radios and additional XLINKs.
OSPF
OSPF is the protocol we use to manage the backbone network. An extensive explanation of this protocol is beyond the goal of this. Here we'll just highlight our configuration.
- The Router ID (Box A) is the unique ID of each router in the network. The ID looks suspiciously like an IPv4 address, and although it isn't; it usually has some relationship to the IPv4 addresses associated with the device.
- Redistribute static (Box B) is checked. If we later defined a public IP address on this device, this option will make sure the rest of the network can route traffic to it.
- We defined a single Area 0.0.0.0 (middle left). Large networks might require multiple areas, but we don't need that added complexity.
- For the area we define the networks it will support. Currently we support 4 networks:
- 100.100.0.0/16 - This network is used by devices connected to the backbone network which are not part of the backbone network (ie. not a router or a radio)
- 100.101.0.0/16 - This network is used by devices used to build the backbone network (ie. routers and radios)
- 206.197.44.0/24 - This is a public set of IPv4 address, any of which can be assigned to any router port within the network. These IP address are accessible from the Internet and their use is unrestricted.
- 44.31.228.0/24 - This is a public set of IPv4 addresses provided by the ARDC for ham related projects and operate exactly like the 206.197.44.0/24 addresses. Their use is restricted to ham related activity.
- We select with Interfaces (Box C) which are used by the OSPF and backbone traffic. This basic configuration uses two interfaces:
- switch.1100 - is VLAN 1100, the same VLAN we use for XLINK traffic. This allows OSPF to send traffic over the backbone radio.
- switch.1000 - is a locally defined VLAN which we associated with 100.100.0.0/16 addresses. This allows local devices to send traffic over the backbone.
Public IP Delivery
The default router configuration does not include the assignment of 206.197.44.0/24 or 44.31.228.0/24 addresses to any port. However, OSPF is setup to allow this to be added as required at a later time.
airFiber
I will not include the configuration of the airFiber radios here as the radio selection and configuration is very site specific. We usually choose point-to-point; but occasionally use point-to-multipoint. That said, here are some things to be aware of:
- Frequency selection - The radios offer a large range of available frequencies, including access to the ham specific ones and part of the 6GHz spectrum. Care should be taken when selecting what to use, particular at sites with WISP customers who are usually paying more money than we are to be there (and get priority). The 6GHz band can be licensed using the OET Experimental Licensing System.
- Channel bandwidth - The goal of the backbone is to provide 100Mbps in each direction (so 200Mbps total). The channel bandwidth is adjusted in order to achieve this while still maintaining a stable connection.
- Country - We select the country Licensed (5170-6200 MHz). This allows the radio to access both the ham band frequencies as well as the experimental 6GHz spectrum.
Tools
airFiber radios provide many tools to aid in setting up new links.
- Align Antenna - This tools helps setup the initial link, point the antenna correctly, and estimates the necessary rotation and tilt for best alignment.
- Airview - This provides a realtime radio spectrum and waterfall, and is extremely useful when selecting which frequency for your link.