router: setup cameras vlan
All checks were successful
flake / flake (push) Successful in 1m14s

This commit is contained in:
Jake Hillion 2024-09-16 20:48:10 +01:00
parent 1189a41df9
commit 5915e14a47

View File

@ -32,6 +32,14 @@
nat.enable = lib.mkForce false; nat.enable = lib.mkForce false;
useDHCP = false; useDHCP = false;
vlans = {
cameras = {
id = 3;
interface = "eth1";
};
};
interfaces = { interfaces = {
enp1s0 = { enp1s0 = {
name = "eth0"; name = "eth0";
@ -47,6 +55,14 @@
} }
]; ];
}; };
"cameras@eth1" = {
ipv6.addresses = [
{
address = "fd00:408b:d218:92ee:c0::";
prefixLength = 64;
}
];
};
enp3s0 = { enp3s0 = {
name = "eth2"; name = "eth2";
ipv4.addresses = [ ipv4.addresses = [