Configure gre between carbon an gatekeeper
This commit is contained in:
parent
646cc46ded
commit
18ccdbf288
@ -84,6 +84,17 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
clerie.gre-tunnel = {
|
||||||
|
enable = true;
|
||||||
|
ipv4 = {
|
||||||
|
gre-gatekeeper = {
|
||||||
|
remote = "10.152.101.1";
|
||||||
|
local = (lib.head config.networking.interfaces.lo.ipv4.addresses).address;
|
||||||
|
address = "169.254.201.2/24";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.bird2.enable = true;
|
services.bird2.enable = true;
|
||||||
services.bird2.config = ''
|
services.bird2.config = ''
|
||||||
router id ${ (lib.head config.networking.interfaces.lo.ipv4.addresses).address };
|
router id ${ (lib.head config.networking.interfaces.lo.ipv4.addresses).address };
|
||||||
|
@ -136,6 +136,17 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
clerie.gre-tunnel = {
|
||||||
|
enable = true;
|
||||||
|
ipv4 = {
|
||||||
|
gre-carbon = {
|
||||||
|
remote = "10.152.104.1";
|
||||||
|
local = (lib.head config.networking.interfaces.lo.ipv4.addresses).address;
|
||||||
|
address = "169.254.201.1/24";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.bird2.enable = true;
|
services.bird2.enable = true;
|
||||||
services.bird2.config = ''
|
services.bird2.config = ''
|
||||||
router id ${ (lib.head config.networking.interfaces.lo.ipv4.addresses).address };
|
router id ${ (lib.head config.networking.interfaces.lo.ipv4.addresses).address };
|
||||||
|
Loading…
Reference in New Issue
Block a user