Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2008-07-28 14:57:38

  Kamyk_^ - Użytkownik

Kamyk_^
Użytkownik
Skąd: Szczecin / Bydgoszcz
Zarejestrowany: 2005-02-14
Serwis

Quagga i OSPF

Witam,

Od pewnego czasu staram sie uruchomic Quagge z obsuga OSPF-a. O ile Static Routes i RIP to nie poroblem (dziala bez bolu), to z OSPF-em mam pewien problem. Konfiguracja jest najprostrza:

Kod:

router ospf

ospf router-id 10.3.3.2

redistribute connected

network 10.3.2.0/30 area 0.0.0.0

to i tak polecenie

Kod:

show ip ospf neighbor

nic nie pokazuje. Czy komus z was udalo sie to uruchomic? ZlyZwierz: widzialem ze uruchomiles :) moze powiesz jak, jesli pamietasz?

Pozdrawiam,


----------------------------------------------------------------------------------------
Debian BePOWER v. 1.0

Offline

 

#2  2008-07-29 00:37:16

  zlyZwierz - Moderator

zlyZwierz
Moderator
Zarejestrowany: 2005-02-18
Serwis

Re: Quagga i OSPF

U mnie wypluwa tyle:

Kod:

ospfd> sh ip ospf neighbor 

Neighbor ID     Pri   State           Dead Time   Address         Interface           RXmtL RqstL DBsmL
192.168.253.73    1   Full/Backup     00:00:38    10.1.1.23       eth3:10.1.1.201     0     0     0
ospfd> sh ip ospf ro       
ospfd> sh ip ospf route 
============ OSPF network routing table ============
N    10.0.0.0/8            [10] area: 0.0.0.0
                           directly attached to eth3
N IA 192.168.21.0/24       [20] area: 0.0.0.0
                           via 10.1.1.23, eth3
N IA 192.168.22.0/24       [30] area: 0.0.0.0
                           via 10.1.1.23, eth3
N IA 192.168.37.0/24       [40] area: 0.0.0.0
                           via 10.1.1.23, eth3
N IA 192.168.38.0/24       [50] area: 0.0.0.0
                           via 10.1.1.23, eth3
N IA 192.168.40.0/24       [40] area: 0.0.0.0
                           via 10.1.1.23, eth3
N    192.168.253.32/29     [30] area: 0.0.0.0
                           via 10.1.1.23, eth3
N    192.168.253.40/29     [20] area: 0.0.0.0
                           via 10.1.1.23, eth3
N    192.168.253.56/29     [40] area: 0.0.0.0
                           via 10.1.1.23, eth3
N    192.168.253.64/29     [30] area: 0.0.0.0
                           via 10.1.1.23, eth3
N    192.168.253.72/29     [20] area: 0.0.0.0
                           via 10.1.1.23, eth3
N    192.168.253.80/29     [40] area: 0.0.0.0
                           via 10.1.1.23, eth3
N    192.168.253.88/29     [30] area: 0.0.0.0
                           via 10.1.1.23, eth3
N    192.168.253.96/29     [50] area: 0.0.0.0
                           via 10.1.1.23, eth3
N IA 217.97.174.2/32       [30] area: 0.0.0.0
                           via 10.1.1.23, eth3

============ OSPF router routing table =============
R    192.168.253.34        [30] area: 0.0.0.0, ABR
                           via 10.1.1.23, eth3
R    192.168.253.42        [20] area: 0.0.0.0, ABR
                           via 10.1.1.23, eth3
R    192.168.253.58        [40] area: 0.0.0.0, ABR
                           via 10.1.1.23, eth3
R    192.168.253.66        [30] area: 0.0.0.0, ABR
                           via 10.1.1.23, eth3
R    192.168.253.73        [10] area: 0.0.0.0, ABR, ASBR
                           via 10.1.1.23, eth3
R    192.168.253.74        [20] area: 0.0.0.0, ABR
                           via 10.1.1.23, eth3
R    192.168.253.97        [40] area: 0.0.0.0, ABR
                           via 10.1.1.23, eth3
R    192.168.253.98        [50] area: 0.0.0.0, ABR
                           via 10.1.1.23, eth3

============ OSPF external routing table ===========
N E1 0.0.0.0/0             [11] tag: 0
                           via 10.1.1.23, eth3

A konfig:

Kod:

ospfd# sh running-config 

Current configuration:
!
hostname ospfd
password dupa
enable password dupa
log file /var/log/zebra/ospfd.log
!
debug ospf zebra
!
!
interface eth0
!
interface eth1
!
interface eth2
!
interface eth3
 ip ospf cost 10
 ip ospf priority 255
!
interface eth4
!
interface gre0
!
interface imq0
!
interface imq1
!
interface imq2
!
interface imq3
!
interface imq4
!
interface imq5
!
interface imq6
!
interface imq7
!
interface imq8
!
interface imq9
!
interface imq10
!
interface imq11
!
interface imq12
!
interface imq13
!
interface imq14
!
interface imq15
!
interface lo
!
interface ppp0
!
router ospf
 ospf router-id 10.1.1.201
 redistribute static
 network 10.0.0.0/8 area 0.0.0.0
 default-information originate always
!
line vty
!
end

[url=http://www.netfix.pro]www.netfix.pro[/url]

Offline

 

#3  2008-07-29 08:03:07

  Kamyk_^ - Użytkownik

Kamyk_^
Użytkownik
Skąd: Szczecin / Bydgoszcz
Zarejestrowany: 2005-02-14
Serwis

Re: Quagga i OSPF

Dzieki za konfig :) Rozumiem ze na eth3 jest wyjscie do WAN-u, tzn. do ISP? Bo nie widze u ciebie drugiej konfiguracji OSPF-a, dla drugiej strony ...


----------------------------------------------------------------------------------------
Debian BePOWER v. 1.0

Offline

 

#4  2008-07-29 09:47:28

  zlyZwierz - Moderator

zlyZwierz
Moderator
Zarejestrowany: 2005-02-18
Serwis

Re: Quagga i OSPF

OSPF mam dla LAN-u odpalone.. eth3 to jest LAN.

Do łączenia między naszą siecią a różnymi ISP pewnie użył bym BGP.


[url=http://www.netfix.pro]www.netfix.pro[/url]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.013 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00013 SET CHARSET latin2
0.00003 SET NAMES latin2
0.00124 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.224.34.45' WHERE u.id=1
0.00100 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.224.34.45', 1733960067)
0.00055 SELECT * FROM punbb_online WHERE logged<1733959767
0.00055 SELECT topic_id FROM punbb_posts WHERE id=95603
0.00087 SELECT id FROM punbb_posts WHERE topic_id=11935 ORDER BY posted
0.00222 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=11935 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00102 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=11935 ORDER BY p.id LIMIT 0,25
0.00091 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=11935
Total query time: 0.00857 s