...
Network scheme with one OSPF area
To In order to demonstrate how to configure the OSPF protocol and analyze the output of the diagnostic commands output, let's take a look at the example of the scheme with one OSPF area in (Figure 2):
- The network consists of three wireless devices BS1, CPE2 , and CPE3 configured as routers.
- Wireless devices build The wireless devices are part of the OSPF backbone area 0 (only one OSPF area is present in this setup).
- BS1 has an external link for connecting to the LAN-1 network.
- The CPE3 router is connected to the outside external router R1.To make the R1's router networks available, static routes to the networks 192.168.5.0/28 and 192.168.6.0/28 have been added to CPE3.
- Routers BS1, CPE2 and CPE3 use as identifiers the addresses assigned to the loopback interface: 192.168.0.1/32, 192.168.0.2/32 and 192.168.0.3/32.
...
Pre-configuration
Description | Perform a devices preliminary configuration of the wireless devices, consisting of the following steps:
| |||||||
---|---|---|---|---|---|---|---|---|
BS1 |
| |||||||
CPE2 |
| |||||||
CPE3 |
|
OSPF configuration
Description | Configure the OSPF protocol in accordance with according to the scheme. Step 1: start OSPF. Step 2: set routers the router IDs. The identifiers will be equal to the IP addresses assigned to the loopback interface. Step 3: define the interfaces where OSPF should be started. All the interfaces are connected to the backbone area according to the scheme. On the BS1 and CPE3 routers, set the networks assigned to one of the device's interfaces that should take part in OSPF. On the CPE2 router, set all the networks using only one entry 0.0.0.0/0. This entry includes all networks and enables the OSPF support on all router's interfaces; when some a device interfaces 's interface is connected to a new network, this network will be immediately announced via OSPF. This approach doesn't require additional OSPF configuration, but decreases the control over the announcements. In addition, this command announces advertises the address 127.0.0.1/32 assigned to the loopback interface and does not announce the address 192.168.0.2/32, therefore, this network must be additionally specified. Step 4: make perform the redistribution of the directly connected networks on to the BS1 router and of the static routes on the CPE3 router. Step 5: configure passive interfaces. The CPE3 eth0 interface of CPE3 is connected to the outside router R1, so no neighbor relationship neighboring relation should be established on this interface. Network 10.10.30.0/24 associated with the eth0 interface must be announced via OSPF, so the eth0 interface must be set as passive. | |||||||
---|---|---|---|---|---|---|---|---|
BS1 |
| |||||||
CPE2 |
| |||||||
CPE3 |
|
...