faq обучение настройка
Текущее время: Пн июл 28, 2025 20:47

Часовой пояс: UTC + 3 часа




Начать новую тему Ответить на тему  [ Сообщений: 3 ] 
Автор Сообщение
 Заголовок сообщения: DGS3627G + ospf + bird
СообщениеДобавлено: Ср май 28, 2014 10:17 
Не в сети

Зарегистрирован: Чт авг 26, 2010 16:34
Сообщений: 514
Откуда: North KZ south Kokchetav
Кто-нить дружил сабж? В схеме две dgs обмениваются маршрутами, все работает.
Конфиг 1
Код:
config route preference ospfIntra 80
config route preference ospfInter 90
config route preference ospfExt1 110
config route preference ospfExt2 115
create route redistribute dst ospf src static mettype 2 metric 20
create route redistribute dst ospf src local mettype 2 metric 20
disable ecmp ospf
config ospf ipif System area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif System authentication none metric 1 state enable passive disable
config ospf router_id 10.127.0.1
enable ospf
disable ospfv3


Конфиг 2
Код:
config route preference ospfIntra 80
config route preference ospfInter 90
config route preference ospfExt1 110
config route preference ospfExt2 115
create route redistribute dst ospf src static mettype 2 metric 20
create route redistribute dst ospf src local mettype 2 metric 20
disable ecmp ospf
config ospf ipif System area 0.0.0.0 priority 1 hello_interval 10 dead_interval 40
config ospf ipif System authentication none metric 1 state enable passive disable
config ospf router_id 10.127.0.2
enable ospf
disable ospfv3


Конфиг птички
Код:
log "/var/log/bird.log" all;
router id 10.127.0.254;
debug protocols all;
protocol direct { interface "eth1"; }
protocol device { scan time 60; }
protocol ospf ospf_with_core {
        debug all;
        import all;
        tick 2;
        rfc1583compat yes;
        area 0.0.0.0 {
                interface "eth1" {
                        hello 10;
                        dead count 4;
                        retransmit 6;
                        cost 10;
                        transmit delay 5;
                        wait 50;
                        type bcast;
                        authentication none;
                };
        };
}


Видно что птичка пытается договориться.
Код:
DGS-3627G:admin#show ospf neighbor
Command: show ospf neighbor

IP Address of   Router ID of    Neighbor Neighbor
Neighbor        Neighbor        Priority State
--------------- --------------- -------- -------------
10.127.0.2        10.127.0.2        1        Full
10.127.0.254      10.127.0.254      1        Initial

Total Entries : 2

Но дальше инициализации процесс не идет
Код:
13:16:38.486298 IP (tos 0xc0, ttl 1, id 42787, offset 0, flags [none], proto OSPF (89), length 64)
    10.127.0.254 > 224.0.0.5: OSPFv2, Hello, length 44
        Router-ID 10.127.0.254, Backbone Area, Authentication Type: none (0)
        Options [External]
          Hello Timer 10s, Dead Timer 40s, Mask 255.255.0.0, Priority 1
          Designated Router 10.127.0.254
13:16:39.546840 IP (tos 0xc0, ttl 1, id 41118, offset 0, flags [none], proto OSPF (89), length 72)
    10.127.0.1 > 224.0.0.5: OSPFv2, Hello, length 52
        Router-ID 10.127.0.1, Backbone Area, Authentication Type: none (0)
        Options [External]
          Hello Timer 10s, Dead Timer 40s, Mask 255.255.0.0, Priority 1
          Designated Router 10.127.0.2, Backup Designated Router 10.127.0.1
          Neighbor List:
            10.127.0.254
            10.127.0.2
13:16:39.859546 IP (tos 0xc0, ttl 1, id 26398, offset 0, flags [none], proto OSPF (89), length 72)
    10.127.0.2 > 224.0.0.5: OSPFv2, Hello, length 52
        Router-ID 10.127.0.2, Backbone Area, Authentication Type: none (0)
        Options [External]
          Hello Timer 10s, Dead Timer 40s, Mask 255.255.0.0, Priority 1
          Designated Router 10.127.0.2, Backup Designated Router 10.127.0.1
          Neighbor List:
            10.127.0.254
            10.127.0.1
^C
3 packets captured
180 packets received by filter

Что я делаю не так?


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS3627G + ospf + bird
СообщениеДобавлено: Ср май 28, 2014 20:18 
Не в сети

Зарегистрирован: Пт окт 24, 2003 00:47
Сообщений: 508
Откуда: Moscow
настройте quagga и не мучайтесь.

_________________
D-Link User: DGS-3120-24, DGS-3324SR, DGS-3627G, DGS-3612G, DGS-3312SR, DGS-3100-24TG, DGS-3200-10, DES-3200-26, DES-3200-28, DES-3200-18, DES-3528, DES-3526, DES-3028, DES-1228, DES-2108, DES-2110, DES-3326SR, DMC-920, DMC-810.


Вернуться наверх
 Профиль  
 
 Заголовок сообщения: Re: DGS3627G + ospf + bird
СообщениеДобавлено: Чт май 29, 2014 14:59 
Не в сети

Зарегистрирован: Чт авг 26, 2010 16:34
Сообщений: 514
Откуда: North KZ south Kokchetav
квагга не понравилась, все норм, дело было в фаерволе. Вопрос закрыт.


Вернуться наверх
 Профиль  
 
Показать сообщения за:  Сортировать по:  
Начать новую тему Ответить на тему  [ Сообщений: 3 ] 

Часовой пояс: UTC + 3 часа


Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 28


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
Создано на основе phpBB® Forum Software © phpBB Group
Русская поддержка phpBB