New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
[need help]BGP multihop setup with Bird - some issue about [BGP Error: Hold timer expired]
I don't understand Multihop in BGP. I'm having a bit of trouble, the session is established normally, but every 15 seconds (Hold timer interval), the connection is disconnected, the routes in the session are sent and received normally (Established conn), is there something I need to adjust?
MY Endpoint:185.243.218.A / 2a03:94e0:ffff:185:243:218::A / AS12345
UP Endpoint:185.125.170.253 / 2a03:94e0:f253:: / AS56655
root@debian:~# traceroute 185.125.170.253
traceroute to 185.125.170.253 (185.125.170.253), 30 hops max, 60 byte packets
1 185.243.218.3 (185.243.218.3) 0.205 ms 9.474 ms 9.467 ms
2 185.125.170.253 (185.125.170.253) 9.460 ms 9.450 ms 9.440 ms
root@debian:~# traceroute 2a03:94e0:f253::
traceroute to 2a03:94e0:f253:: (2a03:94e0:f253::), 30 hops max, 80 byte packets
1 2a03:94e0:ffff:185:243:218:0:2 (2a03:94e0:ffff:185:243:218:0:2) 0.217 ms 0.245 ms 0.284 ms
2 2a03:94e0:f253:: (2a03:94e0:f253::) 0.223 ms 0.262 ms 0.250 ms
Minimize Bird Conf:
protocol static {
ipv4;
route 185.125.170.253/32 via 185.243.218.3 via 185.243.218.A;
}
protocol static {
ipv6;
route 2a03:94e0:f253::/128 via 2a03:94e0:ffff:185:243:218:0:2 via 2a03:94e0:ffff:185:243:218::A;
}
template bgp bgppeers {
graceful restart on;
local as 12345;
default bgp_local_pref 100;
hold time 30;
keepalive time 1;
multihop 3;
ipv4 {
import filter {
if ( roa_check(roa4_internet, net, bgp_path.last) = ROA_INVALID ) then reject;
accept;
};
export filter {
reject;
};
};
ipv6 {
import filter {
if ( roa_check(roa6_internet, net, bgp_path.last) = ROA_INVALID ) then reject;
accept;
};
export filter {
reject;
};
};
}
protocol bgp terrahost_v4 from bgppeers {
source address 185.243.218.A;
neighbor 185.125.170.253 as 56655;
ipv6 {
import none;
export none;
};
}
protocol bgp terrahost_v6 from bgppeers {
source address 2a03:94e0:ffff:185:243:218::A;
neighbor 2a03:94e0:f253:: as 56655;
ipv4 {
import none;
export none;
};
}
Comments
Remove the static routes for the remote peer, it breaks your routing.
Thank you for your help.
also get [BGP Error: Hold timer expire]
What's your route -n when connected?
wait ~20s
Hey, you should not have to specify hold timer. Please remove that. Since ours will be lower thats what they will agree on when establishing connection.
It will automatically negotiate, in fact, it is useless to delete it.