change to server bridge
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
id = 101;
|
||||
interface = "enp5s0";
|
||||
};
|
||||
server = {
|
||||
id = 97;
|
||||
interface = "enp5s0";
|
||||
};
|
||||
multimedia = {
|
||||
id = 99;
|
||||
interface = "enp5s0";
|
||||
@@ -44,6 +48,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
nat = {
|
||||
enable = true;
|
||||
internalInterfaces = [ "server" ];
|
||||
externalInterface = "brserver";
|
||||
};
|
||||
|
||||
interfaces = {
|
||||
# Don't request DHCP on the physical interfaces
|
||||
lan.useDHCP = false;
|
||||
@@ -58,12 +68,12 @@
|
||||
prefixLength = 24;
|
||||
}];
|
||||
};
|
||||
# server = {
|
||||
# ipv4.addresses = [{
|
||||
# address = "10.42.97.1";
|
||||
# prefixLength = 24;
|
||||
# }];
|
||||
# };
|
||||
server = {
|
||||
ipv4.addresses = [{
|
||||
address = "10.42.97.1";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
};
|
||||
infrastructure = {
|
||||
ipv4.addresses = [{
|
||||
address = "10.42.101.1";
|
||||
|
||||
Reference in New Issue
Block a user