add iso, change networking for fw
This commit is contained in:
@@ -1,41 +1,41 @@
|
||||
{ ... }: {
|
||||
systemd.network.links."10-wan" = {
|
||||
matchConfig.PermanentMACAddress = "a8:b8:e0:00:43:c1";
|
||||
linkConfig.Name = "wan";
|
||||
};
|
||||
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
nameservers = [ "9.9.9.9" "149.112.112.112" ];
|
||||
# Define VLANS
|
||||
vlans = {
|
||||
wan = {
|
||||
id = 10;
|
||||
interface = "enp1s0";
|
||||
};
|
||||
lan = {
|
||||
id = 1;
|
||||
interface = "enp2s0";
|
||||
interface = "enp3s0";
|
||||
};
|
||||
server = {
|
||||
id = 2;
|
||||
interface = "enp3s0";
|
||||
interface = "enp4s0";
|
||||
};
|
||||
multimedia = {
|
||||
id = 3;
|
||||
interface = "enp4s0";
|
||||
interface = "enp5s0";
|
||||
};
|
||||
smart = {
|
||||
id = 4094;
|
||||
interface = "enp4s0";
|
||||
interface = "enp5s0";
|
||||
};
|
||||
guest = {
|
||||
id = 100;
|
||||
interface = "enp4s0";
|
||||
interface = "enp5s0";
|
||||
};
|
||||
};
|
||||
|
||||
interfaces = {
|
||||
# Don't request DHCP on the physical interfaces
|
||||
enp1s0.useDHCP = false;
|
||||
enp2s0.useDHCP = false;
|
||||
enp3s0.useDHCP = false;
|
||||
enp4s0.useDHCP = false;
|
||||
enp5s0.useDHCP = false;
|
||||
|
||||
# Handle the VLANs
|
||||
wan.useDHCP = true;
|
||||
|
||||
Reference in New Issue
Block a user