Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Bird BGP with buyvm /frantech
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.

Bird BGP with buyvm /frantech

BlobDogBlobDog Member

Good day everyone,
I'm trying to establish a BGP connection with buyvm for days. I can successfully connect to the BGP router and my prefixes are exported. However, clients are not able to send their traffic via buyvm.

I am using the following bird2 configuration:

log syslog all;
router id 62.113.204.172;
define OWNASN = 210397;
protocol kernel {
metric 64;
learn;
scan time 60;
kernel table 100;
ipv6 {
import all;
export all;
};
}
protocol device {
}
protocol direct {
ipv6;
}
filter OWNIPS {
if net ~ [2a0e:97c0:780::/44+] then accept;
reject;
}
protocol static {
ipv6;
route 2605:6400:ffff::2/128 via 2605:6400:30::1;
}
template bgp UPLINK
{
ipv6 {
gateway recursive;
export filter OWNIPS;
import filter { gw = 2605:6400:30::1; accept; };
};
ipv4 {
export none;
import none;
};
local as OWNASN;
}
protocol bgp frantech from UPLINK {
neighbor 2605:6400:ffff::2 as 53667;
source address 2605:6400:0030:e906::1;
password "blabliblub";
multihop 2;
}
protocol bgp core1 {
local as 210397;
neighbor 2a0e:97c0:78a::fff0 as 210397;
source address 2a0e:97c0:78a::3;
ipv6 {
export all;
import all;
};
}

ip6 route from buyvm pop:

root@localhost:~# ip -6 route
::1 dev lo proto kernel metric 256 pref medium
2605:6400:30::/48 dev eth0 proto kernel metric 256 pref medium
2a0e:97c0:78a::/48 dev ztyouxyp7f proto kernel metric 256 pref medium
fe80::/64 dev ztyouxyp7f proto kernel metric 256 pref medium`

My traceroute6 from client:

traceroute6 to google.de (2a00:1450:4001:830::2003) from 2a0e:97c0:78f:1::91d9, 64 hops >max, 12 byte packets
1 opnsense.localdomain 4.169 ms 2.595 ms 2.175 ms
2 core1.net.wolken.group 16.094 ms 17.086 ms 18.237 ms
3 pop2.net.wolken.group 21.479 ms 21.355 ms 21.108 ms
4 2605:6400:3:fed5::1 22.478 ms 70.655 ms 68.290 ms
5 * * *
6 * *^C

bird2 bgp status:

root@localhost:~# birdc s p a frantech
BIRD 2.0.7 ready.
Name Proto Table State Since Info
frantech BGP --- up 11:49:56.564 Established
BGP state: Established
Neighbor address: 2605:6400:ffff::2
Neighbor AS: 53667
Local AS: 210397
Neighbor ID: 169.254.169.179
Local capabilities
Multiprotocol
AF announced: ipv4 ipv6
Route refresh
Graceful restart
4-octet AS numbers
Enhanced refresh
Long-lived graceful restart
Neighbor capabilities
Multiprotocol
AF announced: ipv4 ipv6
Route refresh
Graceful restart
Restart time: 120
AF supported: ipv4 ipv6
AF preserved:
4-octet AS numbers
Enhanced refresh
Long-lived graceful restart
Session: external multihop AS4
Source address: 2605:6400:30:e906::1
Hold timer: 184.458/240
Keepalive timer: 49.936/80
Channel ipv6
State: UP
Table: master6
Preference: 100
Input filter: (unnamed)
Output filter: OWNIPS
Routes: 170451 imported, 5 exported, 170451 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 171181 0 0 35 171146
Import withdraws: 141 0 --- 7 134
Export updates: 171153 171146 2 --- 5
Export withdraws: 134 --- --- --- 0
BGP Next hop: 2605:6400:30:e906::1
IGP IPv6 table: master6
Channel ipv4
State: UP
Table: master4
Preference: 100
Input filter: REJECT
Output filter: REJECT
Routes: 0 imported, 0 exported, 0 preferred
Route change stats: received rejected filtered ignored accepted
Import updates: 0 0 0 0 0
Import withdraws: 0 0 --- 0 0
Export updates: 0 0 0 --- 0
Export withdraws: 0 --- --- --- 0
BGP Next hop: 104.244.74.198
IGP IPv4 table: master4

/etc/sysctl.d/router.conf:

net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.all.accept_ra=0
net.core.wmem_max = 16777216
net.core.wmem_default = 131072
net.core.rmem_max = 16777216
net.core.rmem_default = 131072
net.ipv4.tcp_rmem = 4096 131072 16777216
net.ipv4.tcp_wmem = 4096 131072 16777216
net.ipv4.tcp_mem = 4096 131072 16777216
net.core.netdev_max_backlog = 30000
net.ipv4.ipfrag_high_threshold = 8388608

Any tip for me?
Thanks in advance

Comments

Sign In or Register to comment.