hosts/dn42-il*: Migrate bird config to new module name
This commit is contained in:
parent
d257df7939
commit
3f07e7dbd7
hosts
dn42-il-gw1
dn42-il-gw5
dn42-il-gw6
dn42-ildix-clerie
dn42-ildix-service
@ -179,8 +179,9 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.bird2.enable = true;
|
services.bird.enable = true;
|
||||||
services.bird2.config = ''
|
services.bird.package = pkgs.bird2;
|
||||||
|
services.bird.config = ''
|
||||||
router id ${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).address };
|
router id ${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).address };
|
||||||
|
|
||||||
ipv6 table ospf6;
|
ipv6 table ospf6;
|
||||||
|
@ -37,8 +37,9 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.bird2.enable = true;
|
services.bird.enable = true;
|
||||||
services.bird2.config = ''
|
services.bird.package = pkgs.bird2;
|
||||||
|
services.bird.config = ''
|
||||||
router id ${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).address };
|
router id ${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).address };
|
||||||
|
|
||||||
ipv6 table ospf6;
|
ipv6 table ospf6;
|
||||||
|
@ -37,8 +37,9 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.bird2.enable = true;
|
services.bird.enable = true;
|
||||||
services.bird2.config = ''
|
services.bird.package = pkgs.bird2;
|
||||||
|
services.bird.config = ''
|
||||||
router id ${ (lib.head config.networking.interfaces.ens20.ipv4.addresses).address };
|
router id ${ (lib.head config.networking.interfaces.ens20.ipv4.addresses).address };
|
||||||
|
|
||||||
ipv6 table ospf6;
|
ipv6 table ospf6;
|
||||||
|
@ -33,8 +33,9 @@
|
|||||||
iptables -A INPUT -p ospfigp -j ACCEPT
|
iptables -A INPUT -p ospfigp -j ACCEPT
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services.bird2.enable = true;
|
services.bird.enable = true;
|
||||||
services.bird2.config = ''
|
services.bird.package = pkgs.bird2;
|
||||||
|
services.bird.config = ''
|
||||||
router id ${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).address };
|
router id ${ (lib.head config.networking.interfaces.ens18.ipv4.addresses).address };
|
||||||
|
|
||||||
protocol direct {
|
protocol direct {
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
networking.firewall.allowedTCPPorts = [ 179 ];
|
networking.firewall.allowedTCPPorts = [ 179 ];
|
||||||
|
|
||||||
# something doesn't work right
|
# something doesn't work right
|
||||||
services.bird2.enable = false;
|
services.bird.enable = false;
|
||||||
services.bird2.config = ''
|
services.bird.package = pkgs.bird2;
|
||||||
|
services.bird.config = ''
|
||||||
router id ${(lib.head config.networking.interfaces.ens18.ipv4.addresses).address};
|
router id ${(lib.head config.networking.interfaces.ens18.ipv4.addresses).address};
|
||||||
|
|
||||||
ipv6 table bgp6;
|
ipv6 table bgp6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user