1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/lib/vargen: add office printer to IoT VLAN

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2021-05-25 10:41:43 -04:00
parent 9fc73814f7
commit c7d9a022e9
No known key found for this signature in database
GPG key ID: 77BFE531397EDE94
2 changed files with 16 additions and 0 deletions

View file

@ -182,6 +182,12 @@ func main() {
netaddr.MustParseIP("192.168.66.14"),
mac("ec:b5:fa:1d:4f:c2"),
),
newHost(
"office-printer.iot",
iot0,
netaddr.MustParseIP("192.168.66.15"),
mac("40:b8:9a:27:d4:fd"),
),
},
},
WireGuard: wg,

View file

@ -145,6 +145,16 @@
"lla": "fe80::eeb5:faff:fe1d:4fc2"
},
"mac": "ec:b5:fa:1d:4f:c2"
},
{
"name": "office-printer.iot",
"ipv4": "192.168.66.15",
"ipv6": {
"gua": "2600:6c4a:787f:5942:42b8:9aff:fe27:d4fd",
"ula": "fd9e:1a04:f01d:66:42b8:9aff:fe27:d4fd",
"lla": "fe80::42b8:9aff:fe27:d4fd"
},
"mac": "40:b8:9a:27:d4:fd"
}
]
},