Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Include Page
_IW Academy
_IW Academy

Hide_comments

Table of contents

Table of Contents
maxLevel3
excludeСодержание

Редистрибуция маршрутов из ODR в RIP

...

Route redistribution from ODR to RIP

Let's look at an example of routing information redistribution from the ODR protocol to the RIP protocol using the scheme described in the main document (Figure 1).

Center

Image RemovedImage Added

Рисунок Figure 1 - Схема редистрибуции маршрутов из ODR в RIP

Предварительная настройка

...

Выполним предварительную настройку устройств, состоящую из следующих этапов:

  • Установка идентификаторов устройств.
  • Удаление интерфейса svi1.
  • Ассоциация IP-адресов с сетевыми интерфейсами, согласно схеме.
  • Отключение коммутации.
  • Установка радиоканала.

...

Route redistribution from ODR to RIP

Pre-configuration

Description

Perform a preliminary configuration of the devices consisting of the following steps:

  • Configure the device IDs.
  • Remove the svi1 interface.
  • Assign IP addresses to the network interfaces, according to the scheme.
  • Disable switching.
  • Establish the wireless links.
BS1
Code Block
languagetext
themeEmacs
Установка идентификатора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
БС2BS2
Code Block
languagetext
themeEmacs
Установка идентификатора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
АС3CPE3
Code Block
languagetext
themeEmacs
Установка идентификатораSet the device ID
system prompt ASCPE_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 "ASCPE_3"
mint rf5.0 -type slave
mint rf5.0 prof 1 -band 20 -freq 5000 -type slave

...

ODR configuration

БС2
ОписаниеDescription

Выполним настройку протокола ODR в соответствии со схемой.

Этап 1: выполним запуск протокола ODR на интерфейсах rf5.0 маршрутизаторов БС2 и АС3. БС2 будет назначена роль hub, АС3 - spoke.

Этап 2: выполним анонс непосредственно присоединённых сетей на маршрутизаторе АС3.

БС1Изменения не требуются.

Configure ODR:

Step 1: launch the ODR protocol on the radio interfaces of the BS2 and CPE3 routers. BS2 will be configured as hub, CPE3 - as a spoke.

Step 2: advertise the directly connected networks on the CPE3 router.

BS1No changes are required.
BS2
Code Block
languagetext
themeEmacs
Запуск протоколаStart ODR:
mint rf5.0 -odr hub
АС3CPE3
Code Block
languagetext
themeEmacs
ЗапускStart протокола ODR:
mint rf5.0 -odr spoke

АнонсAdvertise непосредственноthe directly присоединённыхconnected сетейnetworks:
mint rf5.0 -odr spoke connected

...

RIP configuration

Описание

Проанализируем таблицу маршрутизации на каждом из устройств схемы.

Таблица маршрутизации БС1 и БС2 синхронизированы и содержат пути ко всем подсетям, добавленным на схему. Это говорит о том, что редистрибуция маршрутов из ODR в RIP выполнена успешно.

Таблица маршрутизации АС3 состоит из путей к непосредственно присоединённым сетям и маршрута по умолчанию. Это подтверждает высказывание о однонаправленном характере редистрибуции.

БС1
Описание

Выполним настройку протокола RIP на устройствах БС1 и БС2.

Этап 1: запустим протокол RIP на маршрутизаторах.

Этап 2: определим список интерфейсов, через которые будет выполнять рассылка маршрутной информации.

Этап 3: выполним редистрибуцию маршрутов из протокола ODR на БС2. Маршруты, полученные через протокол ODR имеют тип kernel.

Этап 4: анонсируем непосредственно присоединённые сети на БС2. Анонс выполняется для того, чтобы маршрутизатор БС1 получил путь к интерфейсу loopback маршрутизатора БС2.

БС1Description

Configure the RIP protocol:

Step 1: start the RIP daemon on the BS1 and BS2 routers.

Step 2: define the interfaces where OSPF should be started.

Step 3: redistribute the routes from the ODR protocol. Such routes have a "kernel" type.

Step 4: redistribute thedirectly connected networks on the BS2 router. It is necessary to announce at the BS1 router the route towards the loopback interface of the BS2 router.

BS1
Code Block
languagetext
themeEmacs
ЗапускStart протокола RIP:
arip start

ЗапускStart протоколаRIP RIPon наthe интерфейсахinterfaces:
arip
config
router
network 172.16.1.0/29
network 192.168.0.1/32
network 10.10.10.0/24
БС2BS2
Code Block
languagetext
themeEmacs
Запуск протоколаStart RIP:
arip start

ЗапускStart протоколаRIP RIPon наthe интерфейсахinterfaces:
arip
config
router
network 10.10.10.0/24

РедистрибуцияRoute маршрутовredistribution изfrom ODR:
arip
config
router
redistribute kernel

АнонсAdvertise the непосредственноdirectly присоединённыхconnected сетейnetworks:
arip
config
router
redistribute connected
АС3Изменения не требуются.

Анализ вывода команд

Таблица маршрутизации
CPE3No changes are required.

Command output analysis

Routing table
Description

Analyze the routing table on each device.

The routing tables of the BS1 and BS2 devices are synchronized and contain entries about each subnet shown in the scheme. This means that the route redistribution from ODR to RIP was performed successfully.

CPE3's routing table consists of routes towards the directly connected networks and a default route. This confirms the statement about the unidirectional redistribution.

BS1
Code Block
languagetext
themeEmacs
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.30.0/24      10.10.10.2         UG3         0        0  eth0
127.0.0.1          127.0.0.1          UH          3       66  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         0     1269  lo
БС2BS2
Code Block
languagetext
themeEmacs
BS_2#1> netstat -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      107  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         0      658  lo
АС3CPE3
Code Block
languagetext
themeEmacs
ASCPE_3#1> netstat -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       64  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      187  lo

Редистрибуция маршрутов из OSPF в RIP

...

Route redistribution from OSPF to RIP

Let's look at an example of routing information redistribution from OSPF to RIP using the scheme described in the main document (Figure 2).

Center

Image RemovedImage Added

Рисунок Figure 2 - Схема редистрибуции маршрутов из OSPF в RIP

Предварительная настройка

...

Выполним предварительную настройку устройств, состоящую из следующих этапов:

  • Установка идентификаторов устройств.
  • Удаление интерфейса svi1.
  • Ассоциация IP-адресов с сетевыми интерфейсами, согласно схеме.
  • Отключение коммутации.
  • Установка радиоканала.

...

Route redistribution from OSPF to RIP

Pre-configuration

Description

Perform a preliminary configuration of the devices, consisting of the following steps:

  • Configure the device IDs.
  • Remove the svi1 interface.
  • Assign IP addresses to the network interfaces, according to the scheme.
  • Disable switching.
  • Establish the wireless links.
BS1
Code Block
languagetext
themeEmacs
Установка идентификатора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
БС2BS2
Code Block
languagetext
themeEmacs
Установка идентификатора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
АС3CPE3
Code Block
languagetext
themeEmacs
Установка идентификатораSet the device ID
system prompt ASCPE_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 радиоканала
mint the radio link
mint rf5.0 -name "ASCPE_3"
mint rf5.0 -type slave
mint rf5.0 prof 1 -band 20 -freq 5000 -type slave

...

OSPF configuration

Описание

Выполним настройку протокола OSPF в соответствии со схемой.

Этап 1: запустим работу демона OSPF на маршрутизаторах БС2 и АС3.

Этап 2: установим идентификаторы маршрутизаторов. Идентификаторы будут равны IP-адресам, ассоциированным с интерфейсом loopback.

Этап 3: определим интерфейсы, на которых должен быть запущен OSPF.

БС1Изменения не требуются.
БС2Description

Configure the OSPF protocol:

Step 1: start the OSPF daemon on the BS1 and BS2 routers.

Step 2: set the routers 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.

BS1No changes are required.
BS2
Code Block
languagetext
themeEmacs
Запуск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 172.16.2.0/29 area 0.0.0.0
АС3CPE3
Code Block
languagetext
themeEmacs
Запуск демонаStart OSPF:
ospf start

УстановкаSet the router-id:
ospf
config
router
router-id 192.168.0.3

ЗапускStart OSPF наon the интерфейсахinterfaces:
ospf
config
router
network 172.16.2.0/29 area 0.0.0.0
network 192.168.0.3/32 area 0.0.0.0
network 10.10.30.0/24 area 0.0.0.0

...

RIP configuration

БС1
ОписаниеDescription

Выполним настройку протокола RIP на устройствах БС1 и БС2.

Этап 1: запустим протокол RIP на маршрутизаторах.

Этап 2: определим список интерфейсов, через которые будет выполнять рассылка маршрутной информации.

Этап 3: выполним редистрибуцию маршрутов из протокола OSPF на БС2. Маршруты, полученные через протокол OSPF имеют тип ospf.

Этап 4: анонсируем непосредственно присоединённые сети на БС2. Анонс выполняется для того, чтобы маршрутизатор БС1 получил путь к интерфейсу loopback маршрутизатора БС2.

Configure RIP on the BS1 and BS2 devices:

Step 1: Start RIP on the routers.

Step 2: define the interfaces through which routing information should be exchanged.

Step 4: redistribute the routes from the OSPF protocol on BS2. Such routes have an "ospf" type.

Step 4: redistribute the directly connected networks on the BS2 router. It is necessary to announce at the BS1 router the route towards the loopback interface of the BS2 router.

BS1
Code Block
languagetext
themeEmacs
ЗапускStart протокола RIP:
arip start

Запуск протоколаStart RIP наon the интерфейсахinterfaces:
arip
config
router
network 172.16.1.0/29
network 192.168.0.1/32
network 10.10.10.0/24
БС2BS2
Code Block
languagetext
themeEmacs
Запуск протоколаStart RIP:
arip start

ЗапускStart протоколаRIP RIPon наthe интерфейсахinterfaces:
arip
config
router
network 10.10.10.0/24

РедистрибуцияRoute маршрутовredistribution изfrom ODR:
arip
config
router
redistribute ospf

АнонсAdvertise the непосредственноdirectly присоединённыхconnected сетейnetworks:
arip
config
router
redistribute connected
АС3Изменения не требуются.

Анализ вывода команд

Таблица маршрутизации
Описание

Проанализируем таблицу маршрутизации на каждом из устройств схемы.

Таблицы маршрутизации БС1 и БС2 синхронизированы и содержат пути ко всем подсетям, добавленным на схему. Это говорит о том, что редистрибуция маршрутов из OSPF в RIP выполнена успешно.

Таблица маршрутизации АС3 состоит из путей к непосредственно присоединённым сетям. Это подтверждает высказывание о однонаправленном характере редистрибуции.

БС1CPE3No changes are required.

Command output analysis

Routing table
Description

Analyze the routing table on each device.

The routing tables of the BS1 and BS2 devices are synchronized and contain entries about each subnet shown in the scheme. This means that the route redistribution from OSPF to RIP was performed successfully.

CPE3's routing table consists of routes to the directly connected networks and a default route. This confirms the statement about the unidirectional redistribution.

BS1
Code Block
languagetext
themeEmacs
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.30.0/24      10.10.10.2         UG3         0        0  eth0
127.0.0.1          127.0.0.1          UH          3       82  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         0     1340  lo
БС2BS2
Code Block
languagetext
themeEmacs
BS_2#1> netstat -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      130  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      751  lo
АС3CPE3
Code Block
languagetext
themeEmacs
ASCPE_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          3       75  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         1      299  lo

...

Additional materials

Вебинары

  1. Типовые сценарии настройки маршрутизации в устройствах Инфинет. Часть 1.
  2. Типовые сценарии настройки маршрутизации в устройствах Инфинет, часть 2.

Прочее

...

Webinars

  1. Typical scenario of routing setting using Infinet Wireless devices. Part I.
  2. Typical scenario of routing setting using Infinet Wireless devices. Part II

Other

  1. Ifconfig command (interfaces configuration)
  2. mint command (MINT version)
  3. mint command (TDMA version)
  4. ARDA (Aqua Router Daemon)
  5. OSPF command
  6. arip command