hosts/plover: improve network metadata

This commit is contained in:
Gabriel Arazas 2023-06-11 12:26:02 +08:00
parent 1bdda28ffe
commit 271750f755
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -31,6 +31,7 @@ rec {
# This is the public-facing interface. Any interface name with a prime # This is the public-facing interface. Any interface name with a prime
# symbol means it's a public-facing interface. # symbol means it's a public-facing interface.
main' = { main' = {
ifname = "ens3";
# The gateways for the public addresses are retrieved from the following # The gateways for the public addresses are retrieved from the following
# pages: # pages:
# #
@ -47,6 +48,7 @@ rec {
}; };
internal = { internal = {
ifname = "ens10";
IPv4 = { IPv4 = {
address = "172.27.0.1"; address = "172.27.0.1";
gateway = ploverInternalNetworkGateway; gateway = ploverInternalNetworkGateway;
@ -58,6 +60,7 @@ rec {
}; };
wireguard0 = { wireguard0 = {
ifname = "wireguard0";
IPv4 = { IPv4 = {
address = "172.28.0.1"; address = "172.28.0.1";
gateway = ploverInternalNetworkGateway; gateway = ploverInternalNetworkGateway;