[quagga-users 4359] Re: How to distribute networks of virtual
interfaces as internal routes in OSPF?
hasso at estpak.ee
Mon Apr 11 12:12:04 IST 2005
Peter Lenci wrote:
> Hello folks
> In an effort to reduce the number of external LSA's in a large OSPF
> network (see also older thread "Reducing LSA Traffic by doubling Age
> Parameters") I found that using "redistribute connected" causes those
> routes to be propagated as external routes. Is it possible to make
> them internal?
> Assume we have a (linux) host running quagga 0.98.2 on physical
> interface eth1 with 3 different ip addresses:
> [root at t5:~]# ip addr show dev eth1
> 4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
> link/ether 00:10:f3:c4:cb:4a brd ff:ff:ff:ff:ff:ff
> inet 192.168.4.1/24 brd 192.168.4.255 scope global eth1
> inet 192.168.8.1/24 brd 192.168.8.255 scope global secondary
> inet 192.168.9.1/24 brd 192.168.9.255 scope global secondary
How did you manage this? I see no reason why 192.168.8.1/24 and
192.168.9.1/24 should be secondary. Address is secondary only in case there
is already one address from this subnet on the interface.
> How do I get the virtual networks 192.168.8.0/24 and 192.168.9.0/24
> into OSPF? Simply adding another "network" statement does not seem
> to work:
> router ospf
> network 192.168.4.0/24 area 0.0.0.0
> network 192.168.7.0/24 area 0.0.0.0
> network 192.168.9.0/24 area 0.0.0.0
If secondary piece is true, ospf can't be enabled on secondary addresses.
Elion Enterprises Ltd.
More information about the Quagga-users