Date: Tue, 19 Mar 2024 12:32:51 +0500 (YEKT) Message-ID: <1210764478.29783.1710833571562@jira> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_29782_126932579.1710833571550" ------=_Part_29782_126932579.1710833571550 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Successfully pass the free certification exam at IW Academy and become a= n Infinet Certified Engineer.
Let's look at an example of routing information redistribution from the = ODR protocol to the OSPF protocol, using the network scheme described in th= e main document (Figure 1).
= =20
Figure 1 - Route redistribution from ODR to OSPF
Description | Perform a preliminary configuration of the de= vices, consisting of the following steps:
|
---|---|
BS1 |
=20
Set the device ID system prompt BS_1 Remove the svi1 interface ifc svi1 destroy Assign IP addresses ifc eth0 10.10.10.1/24 ifc rf5.0 172.16.1.1/29 ifc lo0 192.168.0.1/32 Disable switching switch stop Establish the radio link rf rf5.0 band 20 rf rf5.0 freq 5100 mint rf5.0 -name "BS_1" mint rf5.0 -type master=20 |
BS2= th> |
=20
Set the device ID system prompt BS_2 Remove the svi1 interface ifc svi1 destroy Assign IP addresses ifc eth0 10.10.10.2/24 ifc rf5.0 172.16.2.2/29 ifc lo0 192.168.0.2/32 Disable switching switch stop Establish the radio link rf rf5.0 band 20 rf rf5.0 freq 5000 mint rf5.0 -name "BS_2" mint rf5.0 -type master=20 |
CPE3 |
=20
Set the device ID system prompt CPE_3 Remove the svi1 interface ifc svi1 destroy Assign IP addresses ifc eth0 10.10.30.3/24 ifc rf5.0 172.16.2.3/29 ifc lo0 192.168.0.3/32 Disable switching switch stop Establish the radio link mint rf5.0 -name "CPE_3" mint rf5.0 -type slave mint rf5.0 prof 1 -band 20 -freq 5000 -type slave=20 |
Description<= /span> | Configure the ODR protocol: Ste= p 1: launch the ODR protocol on the radio interfaces of the BS2 an= d CPE3 routers. BS2 will be configured as hub, CPE3 - as spoke. |
---|---|
BS1= th> | No changes are required. |
BS2= th> |
=20
Start ODR: mint rf5.0 -odr hub=20 |
CPE3 |
=20
Start ODR: mint rf5.0 -odr spoke Advertise the directly connected networks: mint rf5.0 -odr spoke connected=20 |
Description<= /span> | Configure the OSPF protocol: =Step 1: start the OSPF daemon on the BS1 and BS2 router= s. Step 2: set the router IDs. The = identifiers will be equal to the IP addresses assigned to the loopback inte= rface. Step 3: define the int= erfaces where OSPF should be started. Step 4= : redistribute the routes from the ODR protocol. Such routes have = a kernel type. Step 5: redistribute= the directly connected networks on the BS2 router. During route redistribu= tion from ODR, only the routes received from the devices having a spoke rol= e will be imported. Thus, to transmit routing information about the network= s 172.16.2.0/29 and 192.168.0.2/32, it is necessary to advertise the direct= ly connected networks on BS2. |
---|---|
BS1= th> |
=20
Start OSPF: ospf start Set the router-id: ospf config router router-id 192.168.0.1 Start OSPF on the interfaces: ospf config router network 172.16.1.0/29 area 0.0.0.0 network 192.168.0.1/32 area 0.0.0.0 network 10.10.10.0/24 area 0.0.0.0=20 |
BS2= th> |
=20
Start OSPF: ospf start Set the router-id: ospf config router router-id 192.168.0.2 Start OSPF on the interfaces: ospf config router network 10.10.10.0/24 area 0.0.0.0 Route redistribution from ODR: ospf config router redistribute kernel Advertise the directly connected networks: ospf config router redistribute connected=20 |
CPE3 | No changes are required. <= /span> |
Description<= /span> | Analyze the routing table on each device. =The routing tables of the wireless devices contain entries about each su= bnet shown in the scheme. This means that the route redistribution from ODR= to OSPF was performed successfully. CPE3's routing table consists of= the routes to the directly connected networks and a default route. This co= nfirms the statement about the unidirectional redistribution. |
---|---|
BS1= th> |
=20
BS_1#1> netsta= t -r Routing tables Destination Gateway Flags Refs Use Interface 10.10.10.0/24 link#2 UC 0 0 eth0 10.10.30.0/24 10.10.10.2 UG3 0 0 eth0 127.0.0.1 127.0.0.1 UH 3 19 lo0 172.16.1.0/29 link#3 UC 0 0 rf5.0 172.16.2.0/29 10.10.10.2 UG3 0 0 eth0 192.168.0.1 192.168.0.1 UH 0 0 lo0 192.168.0.2 10.10.10.2 UGH3 0 0 eth0 192.168.0.3 10.10.10.2 UGH3 0 0 eth0 224.0.0.0/8 127.0.0.1 UGS 1 335 lo0=20 |
BS2= th> |
=20
BS_2#1> netsta= t -r Routing tables Destination Gateway Flags Refs Use Interface 10.10.10.0/24 link#2 UC 0 0 eth0 10.10.30.0/24 00:04:35:13:5e:4e ULO 0 0 rf5.0 127.0.0.1 127.0.0.1 UH 3 27 lo0 172.16.1.0/29 10.10.10.1 UG3 0 0 eth0 172.16.2.0/29 link#3 UC 0 0 rf5.0 192.168.0.1 10.10.10.1 UGH3 0 0 eth0 192.168.0.2 192.168.0.2 UH 0 0 lo0 192.168.0.3 00:04:35:13:5e:4e UHLO 0 0 rf5.0 224.0.0.0/8 127.0.0.1 UGS 1 167 lo0=20 |
CPE3 |
=20
CPE_3#1> netst= at -r Routing tables Destination Gateway Flags Refs Use Interface mintGateway BS_2 rf5.0 10.10.30.0/24 link#2 UC 0 0 eth0 127.0.0.1 127.0.0.1 UH 1 0 lo0 172.16.2.0/29 link#3 UC 0 0 rf5.0 192.168.0.3 192.168.0.3 UH 0 0 lo0 224.0.0.0/8 127.0.0.1 UGS 0 0 lo0=20 |
Let's look at an example of routing information redistribution from RIP = to OSPF using the scheme described in the main document (Figure 2).
=20
Figure 2 - Route redistribution from RIP to OSPF
Description<= /span> | Perform a preliminary configuration of the de= vices, consisting of the following steps:
|
---|---|
BS1= th> |
=20
Set the device ID system prompt BS_1 Remove the svi1 interface ifc svi1 destroy Assign IP addresses ifc eth0 10.10.10.1/24 ifc rf5.0 172.16.1.1/29 ifc lo0 192.168.0.1/32 Disable switching switch stop Establish the radio link rf rf5.0 band 20 rf rf5.0 freq 5100 mint rf5.0 -name "BS_1" mint rf5.0 -type master=20 |
BS2= th> | =20
Set the device ID system prompt BS_2 Remove the svi1 interface ifc svi1 destroy Assign IP addresses ifc eth0 10.10.10.2/24 ifc rf5.0 172.16.2.2/29 ifc lo0 192.168.0.2/32 Disable switching switch stop Establish the radio link rf rf5.0 band 20 rf rf5.0 freq 5000 mint rf5.0 -name "BS_2" mint rf5.0 -type master=20 |
CPE3 |
=20
Set the device ID system prompt CPE_3 Remove the svi1 interface ifc svi1 destroy Assign IP addresses ifc eth0 10.10.30.3/24 ifc rf5.0 172.16.2.3/29 ifc lo0 192.168.0.3/32 Disable switching switch stop Establish the radio link mint rf5.0 -name "CPE_3" mint rf5.0 -type slave mint rf5.0 prof 1 -band 20 -freq 5000 -type slave=20 |
Description<= /span> | Configure RIP on the BS2 and CPE3 devices. Step 1: Start RIP on the routers. =Step 2: define the interfaces through = which routing information should exchanged. |
---|---|
BS1= th> | No changes are required. <= /span> |
BS2= th> |
=20
Start RIP: arip start Start RIP on the interfaces: arip config router network 172.16.2.0/29=20 |
CPE3 |
=20
Start RIP: arip start Start RIP on the interfaces: arip config router network 10.10.30.0/24 network 172.16.2.0/29 network 192.168.0.3/32=20 |
Description<= /span> | Configure the OSPF protocol: St= ep 1: start the OSPF daemon on the BS1 and BS2 routers. Step 3: define the interfaces wher= e OSPF should be started. Step 4: r= edistribute the routes from the RIP protocol. Such routes have a "rip" type= . Step 5: advertise the directly co= nnected networks on the BS2 router to announce the route towards the = loopback interface at BS1. |
---|---|
BS1= th> |
=20
Start OSPF: ospf start Set the router-id: ospf config router router-id 192.168.0.1 Start OSPF on the interfaces: ospf config router network 172.16.1.0/29 area 0.0.0.0 network 192.168.0.1/32 area 0.0.0.0 network 10.10.10.0/24 area 0.0.0.0=20 |
BS2= th> |
=20
Start OSPF: ospf start Set the router-id: ospf config router router-id 192.168.0.2 Start OSPF on the interfaces: ospf config router network 10.10.10.0/24 area 0.0.0.0 Route redistribution from RIP: ospf config router redistribute rip Advertise the directly connected networks: ospf config router redistribute connected=20 |
CPE3 | No changes are required. |
Description<= /span> | Analyze the routing table on each device. =The routing tables of BS1 and BS2 are synchronized and CPE3's routing table consists of routes to the dir= ectly connected networks and a default route. This confirms the statement a= bout the unidirectional redistribution. |
---|---|
BS1= th> |
=20
BS_1#1> netsta= t -r Routing tables Destination Gateway Flags Refs Use Interface 10.10.10.0/24 link#2 UC 0 0 eth0 10.10.30.0/24 10.10.10.2 UG3 0 0 eth0 127.0.0.1 127.0.0.1 UH 3 35 lo0 172.16.1.0/29 link#3 UC 0 0 rf5.0 172.16.2.0/29 10.10.10.2 UG3 0 0 eth0 192.168.0.1 192.168.0.1 UH 0 0 lo0 192.168.0.2 10.10.10.2 UGH3 0 0 eth0 192.168.0.3 10.10.10.2 UGH3 0 0 eth0 224.0.0.0/8 127.0.0.1 UGS 1 862 lo=20 |
BS2= th> |
=20
BS_2#1> netsta= t -r Routing tables Destination Gateway Flags Refs Use Interface 10.10.10.0/24 link#2 UC 0 0 eth0 10.10.30.0/24 172.16.2.3 UG3 0 0 rf5.0 127.0.0.1 127.0.0.1 UH 5 60 lo0 172.16.1.0/29 10.10.10.1 UG3 0 0 eth0 172.16.2.0/29 link#3 UC 0 0 rf5.0 192.168.0.1 10.10.10.1 UGH3 0 0 eth0 192.168.0.2 192.168.0.2 UH 0 0 lo0 192.168.0.3 172.16.2.3 UGH3 0 0 rf5.0 224.0.0.0/8 127.0.0.1 UGS 1 462 lo=20 |
CPE3 |
=20
AS_3#1> netsta= t -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 3 60 lo0 172.16.2.0/29 link#3 UC 0 0 rf5.0 192.168.0.3 192.168.0.3 UH 0 0 lo0 224.0.0.0/8 127.0.0.1 UGS 0 91 lo=20 |