Move lakewood as a non-statically routed host

This commit is contained in:
Alex D. 2024-11-10 15:10:13 +00:00
parent 62cead3fb7
commit 01343ec62d
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 10 additions and 1 deletions

View File

@ -58,7 +58,6 @@ func main() {
{ifn: "tristan", ll: "fe80::1/64", route: "2a04:5b81:2010::/48"},
{ifn: "tristan-travel", ll: "fe80::1/64", route: "2a04:5b81:201f::/48"},
{ifn: "gustav", ll: "fe80::1/64", route: "2a04:5b81:2011::/48"},
{ifn: "caskd-lakewood", ll: "fe80::1/64", route: "2a04:5b81:2060::/48"},
} {
ifs.AddIf(&s6netdev.Iface{
Name: v.ifn,
@ -75,6 +74,16 @@ func main() {
})
}
ifs.AddIf(&s6netdev.Iface{
Name: "caskd-lakewood",
Type: &s6netdev.NetdevIfTypes.Wireguard,
Addresses: []netip.Prefix{netip.MustParsePrefix("fe80::1/64")},
Sysctls: s6netdev.Sysctl_IP{
V6: []s6netdev.Property{
{Key: "forwarding", Value: "1", Default: "0"},
},
},
})
ifs.AddIf(&s6netdev.Iface{
Name: "caskd-thetford",
Type: &s6netdev.NetdevIfTypes.Wireguard,