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 servnerr-3.lab

Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Matt Layher 2022-12-12 07:29:17 -05:00
parent 5dfe6962c8
commit 983e1e4d48
No known key found for this signature in database
2 changed files with 26 additions and 1 deletions

View file

@ -120,6 +120,10 @@ func main() {
netip.MustParseAddr("192.168.10.12"),
mac("c4:bd:e5:1b:8a:e6"),
),
lab0.newHost("servnerr-3.lab",
netip.MustParseAddr("192.168.2.2"),
mac("72:18:6c:5f:39:fb"),
),
},
Infra: []host{
mgmt0.newHost(

View file

@ -53,6 +53,16 @@
"lla": "fe80::c6bd:e5ff:fe1b:8ae6"
},
"mac": "c4:bd:e5:1b:8a:e6"
},
{
"name": "servnerr-3.lab",
"ipv4": "192.168.2.2",
"ipv6": {
"gua": "2600:6c4a:787f:1902:7018:6cff:fe5f:39fb",
"ula": "fd9e:1a04:f01d:2:7018:6cff:fe5f:39fb",
"lla": "fe80::7018:6cff:fe5f:39fb"
},
"mac": "72:18:6c:5f:39:fb"
}
],
"infra": [
@ -244,7 +254,18 @@
"ula": "fd9e:1a04:f01d:2::1",
"lla": "fe80::1"
},
"hosts": []
"hosts": [
{
"name": "servnerr-3.lab",
"ipv4": "192.168.2.2",
"ipv6": {
"gua": "2600:6c4a:787f:1902:7018:6cff:fe5f:39fb",
"ula": "fd9e:1a04:f01d:2:7018:6cff:fe5f:39fb",
"lla": "fe80::7018:6cff:fe5f:39fb"
},
"mac": "72:18:6c:5f:39:fb"
}
]
},
"lan0": {
"name": "lan0",