[quagga-users 10988] Interface configuration handling in ospf6
Tore Anderson <
tore@...>
2009-08-04 06:58:09 GMT
Good morning all,
I'm building a "router on a stick" using Quagga/OSPF with keepalived for
VRRP. In IPv4, I can do the following:
router ospf
passive-interface default
no passive-interface eth0
network 192.168.0.0/16 area 0.0.0.0
...which works very well as I do not have to make any changes to the
Quagga configuration if I add a new VLAN interface with a VIP in the
192.168.0.0/16 network - it gets picked up automatically and announced
to the upstream router(s) attached to eth0. Perfect.
With ospf6, however, I'm left with this:
interface vlan1
ipv6 ospf6 passive
!
[...]
!
interface vlanNNN
ipv6 ospf6 passive
!
router ospf6
area 0.0.0.0 range 2001:db8::/32
interface eth0 area 0.0.0.0
interface vlan1 area 0.0.0.0
[...]
interface vlanNNN area 0.0.0.0
So I need to set both "interface foo area 0.0.0.0" under "router ospf6"
and "ipv6 ospf6 passive" for every single VLAN interface in order to
properly activate OSPFv3 operation on the access VLANs. Is there
another way to configure this (that I've missed) so that it's all
automatic, like it is for OSPFv2?
On a related note, when I enter the "interface foo area 0.0.0.0" under
"router ospf6", the following default settings are added under
"interface foo"
ipv6 ospf6 cost 1
ipv6 ospf6 hello-interval 10
ipv6 ospf6 dead-interval 40
ipv6 ospf6 retransmit-interval 5
ipv6 ospf6 priority 1
ipv6 ospf6 transmit-delay 1
ipv6 ospf6 instance-id 0
While not a big problem, these lines bloat the configuration file a lot
(especially since they're repeated for every OSPFv3-enabled interface).
Is there a way to make them not appear as long as they're left at their
defaults? This seems to be how Quagga behaves in most other places, and
it keeps the configuration file neat and readable.
Best regards,
--
--
Tore Anderson
Redpill Linpro AS - http://www.redpill-linpro.com/
Tel: +47 21 54 41 27