Score:0

Bird2 BGP [unreachable XXXX dev lo proto bird metric 32 pref medium]

xk flag

The information I have obtained from the supplier is as follows.

Router ASN:AS56655
Router endpoint:2a03:94e0:f254::
Your endpoint:2a03:94e0:ffff:185:243:218::43
Multihop:Yes
Route table:Full

So I did a route trace.

root@debian:~# traceroute -s 2a03:94e0:ffff:185:243:218::43 2a03:94e0:f254::
traceroute to 2a03:94e0:f254:: (2a03:94e0:f254::), 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.292 ms  0.281 ms
 2  2a03:94e0:f254:: (2a03:94e0:f254::)  0.216 ms  0.494 ms  0.484 ms

Some other route trace.

root@debian:~# traceroute 2600::
traceroute to 2600:: (2600::), 30 hops max, 80 byte packets
 1  2a03:94e0:ffff:185:243:218:0:3 (2a03:94e0:ffff:185:243:218:0:3)  0.214 ms  0.238 ms  0.286 ms
 2  2a03:94e0:f44::1 (2a03:94e0:f44::1)  0.167 ms  0.157 ms  0.193 ms
 3  2a03:94e0:f36::2 (2a03:94e0:f36::2)  19.371 ms xe-4-3-2.bar1.Geneva1.Level3.net (2001:1900:5:2:2:0:10:23d)  2.050 ms  2.039 ms 4  * 2001:1900:2::3:7 (2001:1900:2::3:7)  22.849 ms *
 5  Sprint-level3-1x10G.frankfurt.Level3.net (2001:1900:5:3::7a)  22.828 ms  22.817 ms  22.893 ms
 6  sl-mpe70-fra-be2.sprintlink.net (2600:0:2:1239:217:147:96:68)  23.150 ms Sprint-level3-1x10G.frankfurt.Level3.net (2001:1900:5:3::7a)  24.661 ms  25.014 ms
 7  * * *
 8  * * *
 9  * * *
10  sl-crs1-ffx-be8.sprintlink.net (2600:0:2:1239:144:232:13:193)  122.933 ms  119.550 ms sl-crs1-orl-be12.sprintlink.net (2600:0:2:1239:144:232:17:43)  128.735 ms
11  sl-crs1-orl-be12.sprintlink.net (2600:0:2:1239:144:232:17:43)  128.724 ms *  132.571 ms

In fact my gateway should be 2a03:94e0:ffff:185:243:218::1

I set up a static route in Bird2.

protocol static {
    ipv6;

    route 2a03:94e0:f253::/128 via 2a03:94e0:ffff:185:243:218::2;
    route 2a03:94e0:f254::/128 via 2a03:94e0:ffff:185:243:218::2;

    route 2a12:f8c0:6960::/48 reject;
}

The issue was not solved when 2a03:94e0:ffff:185:243:218::2 was modified to 2a03:94e0:ffff:185:243:218::1.

All routes are stored in lo, making the network inaccessible.

root@debian:~# ip -6 route | tail
unreachable fd00:10:130:151::8/127 dev lo proto bird metric 32 pref medium
unreachable fd00:10:130:151::10/127 dev lo proto bird metric 32 pref medium
unreachable fd00:10:130:151::100/127 dev lo proto bird metric 32 pref medium
unreachable fd00:10:130:151::249 dev lo proto bird metric 32 pref medium
unreachable fd00:10:130:151::250 dev lo proto bird metric 32 pref medium
unreachable fd00:10:130:151::253 dev lo proto bird metric 32 pref medium
unreachable fd00:10:130:151::254 dev lo proto bird metric 32 pref medium
fe80::/64 dev vmbr0 proto kernel metric 256 pref medium
fe80::/64 dev vmbr1 proto kernel metric 256 pref medium
default via 2a03:94e0:ffff:185:243:218:0:1 dev vmbr0 proto kernel metric 1024 onlink pref medium
root@debian:~# ip -6 route | head
::1 dev lo proto kernel metric 256 pref medium
unreachable 2001::/32 dev lo proto bird metric 32 pref medium
unreachable 2001:4:112::/48 dev lo proto bird metric 32 pref medium
unreachable 2001:200:900::/40 dev lo proto bird metric 32 pref medium
unreachable 2001:200:e00::/40 dev lo proto bird metric 32 pref medium
unreachable 2001:200:c000::/35 dev lo proto bird metric 32 pref medium
unreachable 2001:200:e000::/35 dev lo proto bird metric 32 pref medium
unreachable 2001:200::/32 dev lo proto bird metric 32 pref medium
unreachable 2001:218:2002::/48 dev lo proto bird metric 32 pref medium
unreachable 2001:218:2200::/40 dev lo proto bird metric 32 pref medium

Other BGP settings

template bgp bgppeers {
    graceful restart on;
    local as 142418;
    default bgp_local_pref 100; 

    ipv4 {
        import none;
        export filter {
            reject;
        };
    };

    ipv6 {
        import filter { 
            accept;
        };
        export filter {            
            reject;
        };
    };
}

protocol bgp terrahost_v6_rs1 from bgppeers {
  source address 2a03:94e0:ffff:185:243:218::43;
  neighbor 2a03:94e0:f254:: as 56655;

  multihop 2;
  
  ipv4 {
    import none;
    export none;
  };
}

How do I get the route to exist on the correct interface (vmbr0).

root@debian:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq master vmbr0 state UP group default qlen 1000
    link/ether 40:a8:f0:af:c5:ef brd ff:ff:ff:ff:ff:ff
    altname enp0s25
3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 40:a8:f0:af:c5:ef brd ff:ff:ff:ff:ff:ff
    inet 185.243.218.5/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 2a03:94e0:ffff:185:243:218:0:43/118 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::42a8:f0ff:feaf:c5ef/64 scope link 
       valid_lft forever preferred_lft forever

I've spent over a week on this but I can't find out what the problem is, so I'm asking for help.

Peter Zhabin avatar
cn flag
Can you please show routes as exported by your neighbor, in particular their next-hop attribute?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.