<div dir="auto"><div dir="auto">Hi,</div><div dir="auto"><br></div><div dir="auto">Just to be sure. 1.1.1.1 and 1.1.1.2 are not in the single /31.</div><div dir="auto">Please also provide more details. What protocol output do you show? What route do you want from R2 to R1. Please look at things like these:</div><div dir="auto">show route all <prefix></div><div dir="auto">show route all export <proto> <prefix></div><div dir="auto">show route all protocol <proto> <prefix><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 17, 2024, 00:21 Benoit Chesneau <<a href="mailto:benoitc@enki-multimedia.eu">benoitc@enki-multimedia.eu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
<br>
I have an issue witth the route import onbetween two machine. They are connected to each others by a vlan and at each end ana /31 is setup. I can ping between each end.<br>
<br>
R1: VLAN330(1.1.1.1) ----> R2 : VLAN330(1.1.1.2)<br>
<br>
<br>
R2( 1.1.1.2) is connected to upstreams transit and collect correctly the routes. But when I do the following config on this rouyer (R2):<br>
<br>
R2 is showing some exported routes but R1 received nothing:<br>
<br>
```<br>
Route change stats: received rejected filtered ignored accepted<br>
Import updates: 1 0 0 0 1<br>
Import withdraws: 0 0 --- 0 0<br>
Export updates: 934590 27 0 --- 934563<br>
Export withdraws: 18 --- --- --- 18<br>
```<br>
<br>
What could be the issue ? <br>
<br>
<br>
<br>
<br>
I have the following configuratiosn: <br>
<br>
<br>
R1:<br>
```<br>
define AS65001_IPV4 = [ <a href="http://1.1.1.184/29%7B29,32%7D" rel="noreferrer noreferrer" target="_blank">1.1.1.184/29{29,32}</a><br>
];<br>
<br>
<br>
filter ebgp_home_as65001_import {<br>
if (net.type = NET_IP4 && ! (net ~ AS65001_IPV4)) then reject;<br>
accept;<br>
}<br>
<br>
filter ebgp_home_as65001_export {<br>
<br>
protocol bgp home_65001_ipv4 {<br>
local 1.1.1.2 as 209823;<br>
neighbor 1.1.1.1 as 65001;<br>
default bgp_med 0;<br>
default bgp_local_pref 400;<br>
ipv4 {<br>
import keep filtered;<br>
import filter ebgp_home_as65001_import;<br>
export all;<br>
next hop self on;<br>
};<br>
};<br>
```<br>
<br>
R2:<br>
<br>
```<br>
router id 1.1.1.1;<br>
<br>
log syslog all;<br>
<br>
log "/var/log/bird.log" all;<br>
debug protocols all;<br>
<br>
<br>
watchdog warning 5 s;<br>
watchdog timeout 30 s;<br>
<br>
<br>
protocol device {<br>
scan time 30;<br>
}<br>
<br>
protocol direct {<br>
ipv4;<br>
ipv6;<br>
check link yes;<br>
}<br>
<br>
<br>
protocol kernel kernel4 {<br>
ipv4 { import all; export where source != RTS_DEVICE; };<br>
learn off;<br>
scan time 300;<br>
}<br>
<br>
protocol kernel kernel6 {<br>
ipv6 { import all; export where source != RTS_DEVICE; };<br>
learn off;<br>
scan time 300;<br>
}<br>
<br>
protocol static static4 {<br>
ipv4 { export all; };<br>
# Reject default route<br>
route <a href="http://0.0.0.0/0" rel="noreferrer noreferrer" target="_blank">0.0.0.0/0</a> unreachable;<br>
<br>
# main route<br>
route <a href="http://1.1.1.184/29" rel="noreferrer noreferrer" target="_blank">1.1.1.184/29</a> blackhole;<br>
}<br>
<br>
<br>
<br>
filter bgp_export {<br>
if (net.type = NET_IP4 && ! (net ~ [ <a href="http://1.1.1.184/29" rel="noreferrer noreferrer" target="_blank">1.1.1.184/29</a> ])) then reject;<br>
<br>
accept;<br>
}<br>
<br>
template bgp T_GW4 {<br>
local 1.1.1.1 as 65001;<br>
default bgp_med 0;<br>
default bgp_local_pref 400;<br>
multihop;<br>
ipv4 { import keep filtered; import all; export filter bgp_export; next hop self on; };<br>
}<br>
<br>
protocol bgp ccre1_ipv4_1 from T_GW4 { neighbor 1.1.1.2 as <PUBLIC AS >; };<br>
```<br>
<br>
Benoît Chesneau, Enki Multimedia<br>
—<br>
t. +33608655490 <br>
<br>
Sent with Proton Mail secure email.<br>
<br>
</blockquote></div>