Hi , I want to create ring network with OSPF. It works for me, but I cannot propagate default route to ring. On router with internet access I have this configuration: router id x.x.x.x protocol kernel { persist; scan time 20; import all; export all; } protocol device { scan time 10; } protocol static { route 0.0.0.0/0 via x.x.x.y; } protocol ospf MyOSPF { tick 2; rfc1583compat yes; area 10.32.0.0 { stub no; networks { a.a.a.a/30; b.b.b.b/30; }; interface "vlan10" { hello 10; retransmit 5; cost 10; transmit delay 1; dead 40; wait 40; type broadcast; authentication none; }; interface "vlan11" { hello 10; retransmit 5; cost 100; transmit delay 1; dead 40; wait 40; type broadcast; authentication none; }; }; } Other routers in ring are MikroTik routers. Thank you for any hint. Jirasek
On 12.8.2010 03:44, Jaroslav Jirásek wrote:
Hi , I want to create ring network with OSPF. It works for me, but I cannot propagate default route to ring.
Hi, you have to 'export' this route to OSPF. E.g. protocol ospf MyOSPF { export where source = RTS_STATIC; tick 2; rfc1583compat yes; area 10.32.0.0 { Ondrej
On router with internet access I have this configuration:
router id x.x.x.x
protocol kernel { persist; scan time 20; import all; export all; }
protocol device { scan time 10; }
protocol static { route 0.0.0.0/0 via x.x.x.y; }
protocol ospf MyOSPF { tick 2; rfc1583compat yes; area 10.32.0.0 { stub no; networks { a.a.a.a/30; b.b.b.b/30; }; interface "vlan10" { hello 10; retransmit 5; cost 10; transmit delay 1; dead 40; wait 40; type broadcast; authentication none; }; interface "vlan11" { hello 10; retransmit 5; cost 100; transmit delay 1; dead 40; wait 40; type broadcast; authentication none; }; }; }
Other routers in ring are MikroTik routers. Thank you for any hint.
Jirasek
On Thu, Aug 12, 2010 at 03:44:03AM +0200, Jaroslav Jirásek wrote:
Hi , I want to create ring network with OSPF. It works for me, but I cannot propagate default route to ring.
To export static routes to OSPF, you have to add: export where source = RTS_STATIC; to protocol ospf. BTW, section 'networks' in ospf area section is irrelevant in your case, it is used only on area boundary routers (routers connected to more areas). Personally, i would suggest to not use areas at all. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (3)
-
Jaroslav Jirásek -
Ondrej Filip -
Ondrej Zajicek