Doesn't answer your question, but it seems to me that rather than doing :<br><br> export filter {<br>
if source = RTS_STATIC then {<br>
<br><br>To make sure you only export the static routes, not the "device" routes,<br><br>it might be better to set up a separate routing table like so:<br><br>log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };<br>
log stderr all;<br>
<br>
router id <omitted>;<br>
debug protocols all;<br>
<br>table export_routes; # <-------------<br><br>
protocol device {<br>
scan time 10; # Scan interfaces every 10 seconds<br>
}<br>
<br>
protocol static {<br> table export_routes;<br>
route <subnet>/64 via <gateway>;<br>
route <subnet>/64 via <gateway>;<br>
route <subnet>/64 via <gateway>;<br>
}<br>
<br>
protocol bgp {<br> table export_routes;<br>
local as 64515;<br>
source address <own address>;<br>
rs client;<br>
neighbor <omitted> as <omitted>;<br>
}<br>
<br><br>That way you've segragated the routing table you want to announce from the kernel routing table altogether, and saved yourself the filter.<br><br><br><div class="gmail_quote">2009/11/20 S.H. Verbrugge <span dir="ltr"><<a href="mailto:ief@soleus.nu">ief@soleus.nu</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
I'm new to this list, so please bear with me.<br>
<br>
I'm trying to set up a BGP route advertising server with BIRD,<br>
in order to update IPv6 static routes to a juniper router.<br>
<br>
My configuration is as follows (addresses omitted to avoid identification):<br>
<br>
==START==<br>
log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };<br>
log stderr all;<br>
<br>
router id <omitted>;<br>
debug protocols all;<br>
<br>
protocol device {<br>
scan time 10; # Scan interfaces every 10 seconds<br>
}<br>
<br>
protocol static {<br>
route <subnet>/64 via <gateway>;<br>
route <subnet>/64 via <gateway>;<br>
route <subnet>/64 via <gateway>;<br>
}<br>
<br>
protocol bgp {<br>
local as 64515;<br>
source address <own address>;<br>
rs client;<br>
<br>
export filter {<br>
if source = RTS_STATIC then {<br>
#bgp_next_hop = <gateway>;<br>
#gw = <gateway>;<br>
accept;<br>
}<br>
};<br>
<br>
neighbor <omitted> as <omitted>;<br>
}<br>
==END==<br>
<br>
I can see the correct routes being advertised, even with the correct 'via'<br>
in Debug traces,<br>
However, received routes are in the form of:<br>
<br>
<subnet>/64 via <bird source address>.<br>
<br>
I'm sure I haven't set next-hop self, so this behaviour seems strange to me.<br>
<br>
Could anyone please provide some insight into this?<br>
<br>
Cheers,<br>
<font color="#888888">--<br>
/\/\ Hostingvereniging Soleus | Community-driven<br>
< ** > <a href="http://soleus.nu" target="_blank">http://soleus.nu</a> | Virtual Private Servers<br>
\/\/ Sen (IEF) Verbrugge (CT-Projectlead) | & more ...<br>
<br>
<br>
<br>
</font></blockquote></div><br>