fix: slight changes to networking of jones
This commit is contained in:
parent
19b06cfa0f
commit
07ff5dfbc7
1 changed files with 7 additions and 6 deletions
|
@ -42,20 +42,21 @@ in {
|
|||
# vms are defined by teh vm host
|
||||
networking.interfaces = {
|
||||
en01 = {
|
||||
ipv4.addresses = [
|
||||
ipv4.routes = [
|
||||
{
|
||||
address = "${ip_pub}/32";
|
||||
prefixLength = 24;
|
||||
address = "${ip_pub}";
|
||||
prefixLength = 32;
|
||||
# ITD skynet router
|
||||
via = "193.1.99.65";
|
||||
via = "193.1.99.65/32";
|
||||
}
|
||||
];
|
||||
};
|
||||
en02 = {
|
||||
useDHCP = false;
|
||||
ipv4.addresses = [
|
||||
{
|
||||
address = "${ip_priv}/32";
|
||||
prefixLength = 24;
|
||||
address = "${ip_priv}";
|
||||
prefixLength = 32;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue