Table of content
Task description
Let's look at the example of an ODR configuration at the following scheme (Figure 1):
- wireless links are established between BS1, CPE2 and CPE3 devices, BS1 is configured as a Maser, CPE2, CPE3 - as Slaves;
- each wireless device is connected to a wired network segment, each segment uses its own IP addressing;
- router R1 is also connected to LAN-3, as well as to LAN-6, LAN-7, LAN-8 networks;
- it is necessary to organize connectivity between all networks by configuring the ODR protocol on the BS1, CPE2 and CPE3 wireless devices.
Figure 1 - The scheme to demonstrate ODR configuration example |
Let's perform a step by step configuration of devices in accordance with the task. In addition to the ODR configuration, to establish communication with LAN-6, LAN-7, LAN-8 the static routing will be used (see Static routing).
The ODR configuration will be performed via CLI, after each step, routing information will be outputted for analysis.
Pre-configuration
Description | Make pre-configuration of devices: establish wireless connection. |
---|
BS1 | Set IP addresses
ifc eth0 10.10.10.1/24
ifc rf5.0 172.16.0.1/29
Disable switching
switch stop
Establish radio link
rf rf5.0 band 20
rf rf5.0 freq 5000
mint rf5.0 -name "BS_1"
mint rf5.0 -type master |
|
---|
CPE2 | Set IP addresses
ifc eth0 10.10.20.2/24
ifc rf5.0 172.16.0.2/29
Disable switching
switch stop
Establish radio link
mint rf5.0 -name "CPE_2"
mint rf5.0 -type slave
mint rf5.0 prof 1 -band 20 -freq 5000 -type slave
|
|
---|
CPE3 | Set IP addresses
ifc eth0 10.10.30.3/24
ifc rf5.0 172.16.0.3/29
Disable switching
switch stop
Establish radio link
mint rf5.0 -name "CPE_3"
mint rf5.0 -type slave
mint rf5.0 prof 1 -band 20 -freq 5000 -type slave
|
|
---|
Description | Analyze the routing table on each device. There are two entries for directly attached networks associated with eth0 and rf5.0 interfaces. |
---|
BS1 | BS_1#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
10.10.10.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 473 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 15780 lo0 |
|
---|
CPE2 | AS_2#2> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
10.10.20.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 432 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 18457 lo0 |
|
---|
CPE3 | AS_3#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
10.10.30.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 560 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 10686 lo0 |
|
---|
ODR configuration
Description | Enable the ODR protocol operation on wireless devices: assign the hub role to the BS1 device, to the CPE2, CPE3 devices - spoke. |
---|
BS1 | |
---|
CPE2 | |
---|
CPE3 | |
---|
Description | Analyze information about ODR protocol operation: - BS1: there are two subscriber devices CPE2, CPE3 in the spoke devices list. The device does not export any routes, because it has the hub role.
- CPE2: BS1 has been added to the list of devices with the hub role, the list of spoke devices is absent, in accordance with the protocol logic. The device exports a route to the 10.10.20.0/24 network, but does not export the 172.16.0.0/29 network, because the ODR protocol is running on the rf5.0 interface, which is associated with the 172.16.0.0/29 network.
- CPE3: same as for CPE2.
|
---|
BS1 | BS_1#1> mint rf5.0 -odr show
rf5.0: ODR state - HUB
List of active Spokes:
00043513724E "AS_3"
10.10.30.3/24
000435109CC0 "AS_2"
10.10.20.2/24
Total Spokes: 2 |
|
---|
CPE2 | AS_2#2> mint rf5.0 -odr show
rf5.0: ODR state - SPOKE
Preffered HUB: 00043510E5B9 "BS_1"
List of HUBs:
00043510E5B9 "BS_1", cost 51, hops 1
Exported routes:
10.10.20.2/24
|
|
---|
CPE3 | AS_3#1> mint rf5.0 -odr show
rf5.0: ODR state - SPOKE
Preffered HUB: 00043510E5B9 "BS_1"
List of HUBs:
00043510E5B9 "BS_1", cost 51, hops 1
Exported routes:
10.10.30.3/24
|
|
---|
Description | Analyze the routing table of wireless devices: - BS1: two new entries have been added to the routing table for networks 10.10.20.0/24 and 10.10.30.0/24. This routing information is received from subscriber stations and the MAC address of the corresponding wireless device is specified as the gateway for each entry.
- CPE2: a default route has been added to the routing table, BS1 is used as a gateway. Note that CPE2 does not have routing information about the 10.10.30.0/24 and 10.10.40.0/24 networks connected to CPE3 and CPE4.
- CPE3: same as for CPE2.
|
---|
BS1 | BS_1#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
10.10.10.0/24 link#2 UC 0 0 eth0
10.10.20.0/24 00:04:35:10:9c:c0 ULO 0 0 rf5.0
10.10.30.0/24 00:04:35:13:72:4e ULO 0 0 rf5.0
127.0.0.1 127.0.0.1 UH 1 473 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 15780 lo |
|
---|
CPE2 | AS_2#2> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.20.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 432 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 18457 lo0 |
|
---|
CPE3 | AS_3#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.30.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 560 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 10686 lo |
|
---|
Add static routes
The network segments LAN-6, LAN-7, LAN-8 are connected to the router R1, while the CPE3 does not have interfaces connected to these networks, so there is no routing information about these networks in the routing table. One way to fix this is to add static routes to the CPE3 and R1 routing table. Let's assume that the R1configuration has already been completed, so it is necessary to make changes to the CPE3 configuration.
Description | Add static routes for LAN-6, LAN-7 and LAN-8 networks to the CPE3 routing table. |
---|
BS1 | Changes are not required. |
---|
CPE2 | Changes are not required.
|
---|
CPE3 | route add 192.168.6.0/28 10.10.30.1
route add 192.168.7.0/28 10.10.30.1
route add 192.168.8.0/28 10.10.30.1 |
|
---|
Description | Changes in the devices routing tables: - BS1: without changes.
- CPE2: without changes.
- CPE3: three new static entries for LAN-6, LAN-7, LAN-8 networks.
|
---|
BS1 | BS_1#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
10.10.10.0/24 link#2 UC 0 0 eth0
10.10.20.0/24 00:04:35:10:9c:c0 ULO 0 0 rf5.0
10.10.30.0/24 00:04:35:13:72:4e ULO 0 0 rf5.0
127.0.0.1 127.0.0.1 UH 1 473 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 15780 lo |
|
---|
CPE2 | AS_2#2> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.20.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 432 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 18457 lo0 |
|
---|
CPE3 | AS_3#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.30.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 560 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
192.168.6.0/28 10.10.30.1 UGS 0 0 eth0
192.168.7.0/28 10.10.30.1 UGS 0 0 eth0
192.168.8.0/28 10.10.30.1 UGS 0 0 eth0
224.0.0.0/8 127.0.0.1 UGS 0 10686 lo0 |
|
---|
Static routes export
In order to transmit routing information about LAN-6, LAN-7 and LAN-8 to all wireless devices, it is necessary to export static records to ODR. This operation can be performed using the CPE3 configuration, since the routing table of this device contains static entries and the rf5.0 interface supports the ODR.
Description | |
---|
BS1 | Changes are not required.
|
---|
CPE2 | Changes are not required.
|
---|
CPE3 | mint rf5.0 -odr spoke kernel |
|
---|
Description | Analyze the ODR protocol operation at CPE3. Network paths to 192.168.6.0/28, 192.168.7.0/28 and 192.168.8.0/28 networks have been added to the list of exported routes. |
---|
BS1 | Changes are not required.
|
---|
CPE2 | Changes are not required.
|
---|
CPE3 | AS_3#1> mint rf5.0 -odr show
rf5.0: ODR state - SPOKE
Preffered HUB: 00043510E5B9 "BS_1"
List of HUBs:
00043510E5B9 "BS_1", cost 51, hops 1
Exported routes:
10.10.30.3/24
192.168.6.0/28
192.168.7.0/28
192.168.8.0/28
|
|
---|
Description | Analyze changes in the devices routing tables: - BS1: three new entries for LAN-6, LAN-7, and LAN-8 have been added to the routing table. The CPE3 MAC address is specified as the gateway for these networks.
- CPE2: without changes. The path from CPE2 to any of the LAN-6, LAN-7 or LAN-8 networks goes through BS1, so there is no need to add these entries to the routing table. In accordance with the ODR protocol logic, spoke send routing information only to devices with hub roles.
- CPE3: without changes.
|
---|
BS1 | BS_1#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
10.10.10.0/24 link#2 UC 0 0 eth0
10.10.20.0/24 00:04:35:10:9c:c0 ULO 0 0 rf5.0
10.10.30.0/24 00:04:35:13:72:4e ULO 0 0 rf5.0
127.0.0.1 127.0.0.1 UH 1 473 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
192.168.6.0/28 00:04:35:13:72:4e ULO 0 0 rf5.0
192.168.7.0/28 00:04:35:13:72:4e ULO 0 0 rf5.0
192.168.8.0/28 00:04:35:13:72:4e ULO 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 15780 lo |
|
---|
CPE2 | AS_2#2> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.20.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 432 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 18457 lo |
|
---|
CPE3 | AS_3#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.30.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 560 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
192.168.6.0/28 10.10.30.1 UGS 0 0 eth0
192.168.7.0/28 10.10.30.1 UGS 0 0 eth0
192.168.8.0/28 10.10.30.1 UGS 0 0 eth0
224.0.0.0/8 127.0.0.1 UGS 0 10686 lo |
|
---|
ACL application
Filters can be applied to the routing information exported by spoke devices. Let's look at the examples of filtering exported information.
Description | Configure the routing information filtering on the CPE3 to allow the device to export only a static route to the 192.168.6.0/28 network. |
---|
BS1 | Changes are not required.
|
---|
CPE2 | Changes are not required.
|
---|
CPE3 | acl add $ODR net 192.168.6.0/28
mint rf5.0 -odr spoke kernel $ODR |
|
---|
Description | Analyze the ODR protocol operation at CPE3. The entries about the 192.168.7.0/28 and 192.168.8.0/28 networks have been removed from the exported routes list due to the filter. The information about the 10.10.30.0/24 network is exported because the created filter was applied only to static routes (kernel), and the network 10.10.30.0/24 is directly connected. |
---|
BS1 | Changes are not required.
|
---|
CPE2 | Changes are not required.
|
---|
CPE3 | AS_3#1> mint rf5.0 -odr show
rf5.0: ODR state - SPOKE
Preffered HUB: 00043510E5B9 "BS_1"
List of HUBs:
00043510E5B9 "BS_1", cost 51, hops 1
Exported routes:
10.10.30.3/24
192.168.6.0/28
|
|
---|
Description | Analyze changes in the devices routing tables: - BS1: the routes to networks 192.168.7.0/28 and 192.168.8.0/28 were removed from the routing table.
- CPE2: without changes.
- CPE3: without changes.
|
---|
BS1 | BS_1#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
10.10.10.0/24 link#2 UC 0 0 eth0
10.10.20.0/24 00:04:35:10:9c:c0 ULO 0 0 rf5.0
10.10.30.0/24 00:04:35:13:72:4e ULO 0 0 rf5.0
127.0.0.1 127.0.0.1 UH 1 473 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
192.168.6.0/28 00:04:35:13:72:4e ULO 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 15780 lo |
|
---|
CPE2 | AS_2#2> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.20.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 432 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 18457 lo |
|
---|
CPE3 | AS_3#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.30.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 560 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
192.168.6.0/28 10.10.30.1 UGS 0 0 eth0
192.168.7.0/28 10.10.30.1 UGS 0 0 eth0
192.168.8.0/28 10.10.30.1 UGS 0 0 eth0
224.0.0.0/8 127.0.0.1 UGS 0 10686 lo |
|
---|
Description | Let's look at the opposite situation. Configure filtering of routing information on CPE3 to allow the device to export all static routes, except for the route to the 192.168.6.0/28 network. |
---|
BS1 | Changes are not required.
|
---|
CPE2 | Changes are not required.
|
---|
CPE3 | mint rf5.0 -odr spoke -kernel $ODR
|
|
---|
Description | Analyze the ODR protocol operation at CPE3. The CPE3 exports static routes to the 192.168.7.0/28 and 192.168.8.0/28 networks and filters the route information about 192.168.6.0/28. |
---|
BS1 | Changes are not required.
|
---|
CPE2 | Changes are not required.
|
---|
CPE3 | AS_3#1> mint rf5.0 -odr show
rf5.0: ODR state - SPOKE
Preffered HUB: 00043510E5B9 "BS_1"
List of HUBs:
00043510E5B9 "BS_1", cost 51, hops 1
Exported routes:
10.10.30.3/24
192.168.7.0/28
192.168.8.0/28 |
|
---|
Description | Analyze changes in the devices routing tables: - BS1: the route to the 192.168.6.0/28 networks was removed from the routing table, routes to the 192.168.7.0/28 and 192.168.8.0/28 networks were added.
- CPE2: without changes.
- CPE3: without changes.
|
---|
BS1 | BS_1#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
10.10.10.0/24 link#2 UC 0 0 eth0
10.10.20.0/24 00:04:35:10:9c:c0 ULO 0 0 rf5.0
10.10.30.0/24 00:04:35:13:72:4e ULO 0 0 rf5.0
127.0.0.1 127.0.0.1 UH 1 473 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
192.168.7.0/28 00:04:35:13:72:4e ULO 0 0 rf5.0
192.168.8.0/28 00:04:35:13:72:4e ULO 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 15780 lo0 |
|
---|
CPE2 | AS_2#2> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.20.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 432 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
224.0.0.0/8 127.0.0.1 UGS 0 18457 lo0 |
|
---|
CPE3 | AS_3#1> netstat -r
Routing tables
Destination Gateway Flags Refs Use Interface
mintGateway BS_1 rf5.0
10.10.30.0/24 link#2 UC 0 0 eth0
127.0.0.1 127.0.0.1 UH 1 560 lo0
172.16.0.0/29 link#3 UC 0 0 rf5.0
192.168.6.0/28 10.10.30.1 UGS 0 0 eth0
192.168.7.0/28 10.10.30.1 UGS 0 0 eth0
192.168.8.0/28 10.10.30.1 UGS 0 0 eth0
224.0.0.0/8 127.0.0.1 UGS 0 10686 lo0 |
|
---|
Additional materials
Online courses
- InfiLINK 2x2 / InfiMAN 2x2: Initial Link Configuration and Installation.
InfiLINK 2x2 and InfiMAN 2x2: Switching
Webinars
- Typical scenario of routing setting using Infinet Wireless devices. Part I.
Other
Network configuration via web interface for InfiLINK 2x2, InfiMAN 2x2.
- Ifconfig command (interfaces configuration)
- route command (static routes configuration)
- mint command (MINT version)
- mint command (TDMA version)