Hi Nico, many thanks. I will give it a try.
Regarding my eBGP-iBGP problem I can't ping IP's declared in the iBGP, this is my setup:
(internet)
|
|
( VM eBGP/44 ) <--- Wireguard ---> (VM iBGP/64)
In the eBGP I have [2a0e:87c0:620::/44] and in the iBGP I would like to handle only [2a0e:87c0:620:1::/64]
I do can ping from the eBGP to the IP's in iBGP and vice versa, but not from the internet, for example If I add the address [2a0e:87c0:620::10/64] in eBGP I can ping it from everywhere but If then I configure any ip in iBGP something like [2a0e:87c0:620:1::10/64] I can only ping it within the eBGP and iBGP but is not reachable from internet:
ping 2a0e:87c0:620:1::10 (not reachable)
|
|
|
( VM eBGP/44 ) <--- Wireguard ---> (VM iBGP [2a0e:87c0:620:1::10/64])
this is my current setup for the eBGP:
&<-----
router id <ipv4>;
define MYAS = 1234;
protocol device {
scan time 10;
}
protocol direct {
ipv6 {
import where net ~ [2a0e:87c0:620::/44{44,128}];
export none;
};
}
protocol kernel {
scan time 20;
ipv6 {
import none;
export all;
};
}
# templates
template bgp uplink {
local as MYAS;
ipv6 {
import all;
export filter {
if net = 2a0e:87c0:620::/44 then accept;
reject;
};
};
graceful restart on;
}
protocol bgp SBv6 from uplink {
neighbor 2a09:4c1:100:2d88::8bfa as 58057;
source address 2a09:4c0:100:2d98::8934;
}
protocol bgp iBGP from uplink {
debug all;
neighbor fe80:cafe::10%wg0 as MYAS;
direct;
}
&<-----
And the config for iBGP:
&<-----
router id <ipv4>;
define MYAS = 1234;
protocol device {
scan time 10;
}
protocol direct {
ipv6 {
import where net ~ [2a0e:87c0:620:1::/64{64,128}];
export none;
};
}
protocol kernel {
scan time 20;
ipv6 {
import none;
export all;
};
}
protocol bgp iBGP {
debug all;
local as MYAS;
neighbor fe80:cafe::11%wg0 as MYAS;
direct;
ipv6 {
next hop self;
import all;
export all;
};
graceful restart on;
}
&<-----
Any ideas? thanks in advance.