root@testvm2006:/etc/bird# cat bird.conf
router id 10.192.24.4;
debug protocols all;
protocol device {
scan time 10;
}
protocol bgp ganeti_v4 {
advertise hostname on;
ipv4 {
import none;
export none;
};
local as 64613;
neighbor 10.192.24.1 as 64612 external;
multihop;
}
protocol bgp ganeti_v6 {
advertise hostname on;
ipv6 {
import none;
export none;
};
local as 64613;
interface "ens13";
neighbor fe80::2022:22ff:fe22:2201 as 64612 external;
}
**********************************************
BIRD 2.0.12 ready.
bird> show protocols
Name Proto Table State Since Info
device1 Device --- up 21:42:52.461
ganeti_v4 BGP --- up 21:42:57.250 Established
ganeti_v6 BGP --- up 21:42:56.785 Established
bird>
bird> show protocols all
Name Proto Table State Since Info
device1 Device --- up 21:42:52.461
ganeti_v4 BGP --- up 21:42:57.250 Established
BGP state: Established
Neighbor address: 10.192.24.1
Neighbor AS: 64612
Local AS: 64613
Neighbor ID: 10.192.21.6
Local capabilities
Multiprotocol
AF announced: ipv4
Route refresh
Graceful restart
4-octet AS numbers
Enhanced refresh
Long-lived graceful restart
Hostname: testvm2006
Neighbor capabilities
Multiprotocol
AF announced: ipv4
Route refresh
Graceful restart
4-octet AS numbers
Enhanced refresh
Long-lived graceful restart
Session: external multihop AS4
Source address: 10.192.24.4
Hold timer: 205.805/240
Keepalive timer: 42.691/80
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: 10.192.24.4
IGP IPv4 table: master4
ganeti_v6 BGP --- up 21:42:56.785 Established
BGP state: Established
Neighbor address: fe80::2022:22ff:fe22:2201%ens13
Neighbor AS: 64612
Local AS: 64613
Neighbor ID: 10.192.21.6
Local capabilities
Multiprotocol
AF announced: ipv6
Route refresh
Graceful restart
4-octet AS numbers
Enhanced refresh
Long-lived graceful restart
Hostname: testvm2006
Neighbor capabilities
Multiprotocol
AF announced: ipv6
Route refresh
Graceful restart
4-octet AS numbers
Enhanced refresh
Long-lived graceful restart
Session: external AS4
Source address: fe80::a800:ff:fe6b:aa1c
Hold timer: 204.556/240
Keepalive timer: 40.799/80
Channel ipv6
State: UP
Table: master6
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: :: fe80::a800:ff:fe6b:aa1c