If you start it before me I'll put my notes in yours.
I have some extras that cover changing preferred outgoing source ip,
function to ignore own prefix coming back in (unlikely with a /24).
For what it's worth the static entry doesn't matter for this simple static
announcement. I used the following without worrying my gateway ip:
protocol static me {
route 44.38.10.0/24 unreachable;
}
If you are getting default route by bgp instead of dhcp this sets preferred
source ip
protocol kernel {
scan time 20;
import none;
export filter {
if source = RTS_STATIC then reject;
if ifname = "wg_rtr" then krt_prefsrc = 192.168.255.249;
else krt_prefsrc = 44.38.10.1;
accept;
};
}
There is also lots of policy routing fun that can be documented for the far
end of tunnels to select path by source ip that should all go together.
Regards,
Scott.
On Mon, Nov 23, 2020, 10:55 AM Ruben ON3RVH <on3rvh(a)on3rvh.be> wrote:
I can make a writeup on the wiki if you like and maybe
also add a config
for a mikrotik chr on vultr?
Ruben - ON3RVH
On 23 Nov 2020, at 16:36, Scott Nicholas via
44Net <
44net(a)mailman.ampr.org> wrote:
I can have a look at starting a wiki section on bird.
There are so many ways but vultr is very popular. They sometimes have
$2.50/m (without ipv4) which you can then announce ipv4 from.
I should have asked to see config, I assumed a static was set from guide.
Sorry about that. Glad to hear it worked out.
-Scott
> On Mon, Nov 23, 2020, 9:41 AM G1FEF via 44Net <44net(a)mailman.ampr.org>
> wrote:
>
> Perhaps someone could do a write up for the Wiki?
>
> Thanks,
> Chris
>
>
>
>> On 23 Nov 2020, at 14:35, pete M via 44Net <44net(a)mailman.ampr.org>
> wrote:
>>
>> And the route is now working. and tested positively.
>> OUF!
>> thanks guys.!
>>
>> ________________________________________
>> De : 44Net <44net-bounces+petem001=hotmail.com(a)mailman.ampr.org> de la
> part de pete M via 44Net <44net(a)mailman.ampr.org>
>> Envoyé : 23 novembre 2020 09:31
>> À : AMPRNet working group
>> Cc : pete M
>> Objet : Re: [44net] now what is he next step
>>
>> After changing the conf file I have now
>>
>> birdc show route
>> BIRD 1.6.6 ready.
>> 44.135.59.0/24 via 207.246.122.57 on ens3 [static1 14:30:41] *
(200)
>>
>> sounds better
>>
>>
>> ________________________________________
>> De : 44Net <44net-bounces+petem001=hotmail.com(a)mailman.ampr.org> de la
> part de pete M via 44Net <44net(a)mailman.ampr.org>
>> Envoyé : 23 novembre 2020 09:29
>> À : Ruben ON3RVH; AMPRNet working group
>> Cc : pete M
>> Objet : Re: [44net] now what is he next step
>>
>> birdc show route
>> BIRD 1.6.6 ready.
>> 44.135.59.1/32 dev dummy1 [direct1 13:31:07] * (240)
>>
>> I will change the bird conf file to
>>
>> protocol static
>> {
>> route 44.135.59.0/24 via 207.246.122.57;
>> }
>>
>> I hope this will "fix" something on the BGP side
>>
>>
>> ________________________________________
>> De : Ruben ON3RVH <on3rvh(a)on3rvh.be>
>> Envoyé : 23 novembre 2020 09:26
>> À : pete M; AMPRNet working group
>> Objet : RE: [44net] now what is he next step
>>
>> Hey Pete,
>>
>> From what I am reading and comparing the Vultr docs, you either need
>> --
>> protocol static
>> {
>> route 44.135.59.0/24 via 207.246.122.57;
>> }
>>
>> protocol device
>> {
>> scan time 5;
>> }
>> --
>> Or
>> --
>> protocol direct
>> {
>> interface "dummy1";
>> import all; <---- this part
>> }
>> --
>>
>> I would recommend the first, being the static protocol. That way your
> more specifics over the vpn will work too.
>>
>>
>> What does "birdc show route" tell you?
>>
>> 73
>>
>> Ruben ON3RVH
>>
>> -----Original Message-----
>> From: pete M <petem001(a)hotmail.com>
>> Sent: Monday, November 23, 2020 15:22
>> To: Ruben ON3RVH <on3rvh(a)on3rvh.be>be>; AMPRNet working group <
> 44net(a)mailman.ampr.org>
>> Subject: Re: [44net] now what is he next step
>>
>> thanks for jumping in Ruben
>> here is a copy and paste of my bird.conf I of course changed some
secret
> information.
>>
>> log "/var/log/bird.log" all;
>>
>> router id 207.246.122.57;
>>
>> protocol device
>> {
>> scan time 60;
>> }
>>
>> protocol direct
>> {
>> interface "dummy1";
>> }
>>
>> protocol bgp vultr
>> {
>> local as 4288000072;
>> source address 207.246.122.57;
>> import none;
>> export all;
>> graceful restart on;
>> next hop self;
>> multihop 2;
>> neighbor 169.254.169.254 as 64515;
>> password "Secret" ;
>> }
>>
>>
>>
>> ________________________________________
>> De : Ruben ON3RVH <on3rvh(a)on3rvh.be>
>> Envoyé : 23 novembre 2020 09:13
>> À : AMPRNet working group
>> Cc : pete M
>> Objet : RE: [44net] now what is he next step
>>
>> Pete,
>>
>> Can you share your bird config please?
>> The dummy interface is indeed not needed, but I would recommend a
> nullroute for your /24. In case your vpn clients faisl, the source will
not
> get stuck in an routing loop.
>> But let's have a look at your bird config first please.
>> Either Bird is not running, or it is not announcing your subnet to
Vultr.
>>
>> 73
>>
>> Ruben ON3RVH
>>
>> -----Original Message-----
>> From: 44Net <44net-bounces+on3rvh=on3rvh.be(a)mailman.ampr.org> On
Behalf
> Of pete M via 44Net
>> Sent: Monday, November 23, 2020 14:56
>> To: AMPRNet working group <44net(a)mailman.ampr.org>
>> Cc: pete M <petem001(a)hotmail.com>
>> Subject: Re: [44net] now what is he next step
>>
>> Thanks James.
>> That is what I was thinking.
>>
>> Anyone can give me some pointer on how to debug bird?
>>
>> the logs are not doing much to help.
>>
>>
>> ________________________________________
>> De : 44Net <44net-bounces+petem001=hotmail.com(a)mailman.ampr.org> de la
> part de James Colderwood via 44Net <44net(a)mailman.ampr.org> Envoyé : 23
> novembre 2020 08:48 À : AMPRNet working group Cc : James Colderwood
Objet :
Re:
[44net] now what is he next step
FWIW I can't see your announcements in my BGP table.
--
Kind Regards
James B Colderwood
M0ZAH
_________________________________________
44Net mailing list
44Net(a)mailman.ampr.org
https://mailman.ampr.org/mailman/listinfo/44net
_________________________________________
44Net mailing list
44Net(a)mailman.ampr.org
https://mailman.ampr.org/mailman/listinfo/44net
_________________________________________
44Net mailing list
44Net(a)mailman.ampr.org
https://mailman.ampr.org/mailman/listinfo/44net
_________________________________________
44Net mailing list
44Net(a)mailman.ampr.org
https://mailman.ampr.org/mailman/listinfo/44net
_________________________________________
44Net mailing list
44Net(a)mailman.ampr.org
https://mailman.ampr.org/mailman/listinfo/44net
_________________________________________
44Net mailing list
44Net(a)mailman.ampr.org
https://mailman.ampr.org/mailman/listinfo/44net
_________________________________________
44Net mailing list
44Net(a)mailman.ampr.org
https://mailman.ampr.org/mailman/listinfo/44net