diff --git a/lakewood.united-states/main.go b/lakewood.united-states/main.go index 4cc4fb0..536b596 100644 --- a/lakewood.united-states/main.go +++ b/lakewood.united-states/main.go @@ -298,10 +298,11 @@ func main() { // Unreachable routes ifs["lo"].Routes = append(ifs["lo"].Routes, s6netdev.Route{ - Type: "unreachable", - Net: netip.MustParsePrefix("2a04:5b81:2060::/44"), - Vrf: ifs["vrf-v6"], - Metric: 4278198272, + Type: "unreachable", + Default: true, + IPver: 6, + Vrf: ifs["vrf-v6"], + Metric: 4278198272, }, s6netdev.Route{ Type: "unreachable", Default: true, diff --git a/thetford-mines.canada/main.go b/thetford-mines.canada/main.go index a705835..030ada0 100644 --- a/thetford-mines.canada/main.go +++ b/thetford-mines.canada/main.go @@ -230,6 +230,13 @@ func main() { ifs[fmt.Sprintf("phys.%d", v)].Parent = ifs["phys"] } + // Self-referencing + ifs["vultrbgp"].Routes = append(ifs["vultrbgp"].Routes, s6netdev.Route{ + Default: true, + IPver: 6, + Vrf: ifs["vrf-v6"], + }) + // Unreachable routes ifs["lo"].Routes = append(ifs["lo"].Routes, s6netdev.Route{ Type: "unreachable", @@ -245,14 +252,6 @@ func main() { Metric: 4278198272, }) - // Default router for vrf (defrtr from ra isn't installed if autoconf not enabled) - ifs["b00b"].Routes = append(ifs["b00b"].Routes, s6netdev.Route{ - Default: true, - Via: netip.MustParseAddr("fe80::ff:fe00:b00b"), // Link local of lakewood.united-states - Vrf: ifs["vrf-v6"], - Metric: 4096, - }) - for _, v := range ifs { t.Services(*v) }