<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi list,<br>
<br>
This is probably a question that was answered many times before: how
can I prevent duplicate routes originating from OSPF?<br>
<br>
For example, a routing table with BIRD2 shut down:<br>
<br>
<blockquote type="cite"># ip r s<br>
default via 192.168.255.1 dev eth0 <br>
192.168.255.0/24 dev eth0 proto kernel scope link src
192.168.255.82 </blockquote>
<br>
And... with BIRD2 running:<br>
<br>
<blockquote type="cite"># ip r s<br>
default via 192.168.255.1 dev eth0 <br>
1.2.3.4 dev dummy0 proto bird scope link metric 32 <br>
1.2.3.7 via 192.168.255.213 dev eth0 proto bird metric 32 <br>
192.168.255.0/24 dev eth0 proto kernel scope link src
192.168.255.82 <br>
192.168.255.0/24 dev eth0 proto bird scope link metric 32</blockquote>
<br>
In this example at least 192.168.255.0/24 is a duplicate.<br>
<br>
Configuration used:<br>
<br>
<blockquote type="cite">log syslog all;<br>
protocol device {<br>
}<br>
<br>
protocol direct {<br>
disabled; # Disable by default<br>
ipv4; # Connect to default IPv4 table<br>
ipv6; # ... and to default IPv6 table<br>
}<br>
<br>
protocol kernel {<br>
ipv4 { # Connect protocol to IPv4 table by channel<br>
export all; # Export to protocol. default is export
none<br>
};<br>
}<br>
<br>
protocol kernel {<br>
ipv6 { # Connect protocol to IPv4 table by channel<br>
export all; # Export to protocol. default is export
none<br>
};<br>
}<br>
<br>
protocol static {<br>
ipv4; # Again, IPv4 channel with default options<br>
}<br>
<br>
protocol static {<br>
ipv6;<br>
}<br>
<br>
protocol ospf v2 foobar {<br>
area 0.0.0.0 {<br>
interface "dummy0" {<br>
stub;<br>
};<br>
interface "eth0" {<br>
};<br>
};<br>
}<br>
</blockquote>
<br>
How can I prevent direct connected routes from showing up from OSPF
as well ending up in duplicates?<br>
<br>
Thanks in advance!<br>
<br>
Regards,<br>
Kees<br>
<br>
<div class="moz-signature">-- <br>
<a href="https://nefos.nl/contact">https://nefos.nl/contact</a> <br>
<br>
Nefos IT bv<br>
Ambachtsweg 25 (industrienummer 4217)<br>
5627 BZ Eindhoven<br>
Nederland<br>
<br>
KvK 66494931<br>
<br>
<i>Aanwezig op maandag, dinsdag, woensdag en vrijdag</i></div>
</body>
</html>