diff --git a/izmaylovo.russia/main.go b/izmaylovo.russia/main.go index aa45b52..b5b4a51 100644 --- a/izmaylovo.russia/main.go +++ b/izmaylovo.russia/main.go @@ -35,6 +35,12 @@ func main() { Table: 20, }) + // Bonds + ifs.AddIf(&s6netdev.Iface{ + Name: "bond10", + Type: &s6netdev.NetdevIfTypes.Bond, + }) + // Physical interfaces for _, v := range []string{"p4s0f0", "p4s0f1", "p2s0f0", "p2s0f1", "p2s0f2", "p2s0f3"} { ifs.AddIf(&s6netdev.Iface{ @@ -180,10 +186,16 @@ func main() { }, }, { - Master: "phys", + Master: "bond10", Slaves: []string{ "enp4s0f0", "enp4s0f1", + }, + }, + { + Master: "phys", + Slaves: []string{ + "bond10", "enp2s0f0", "enp2s0f1", "enp2s0f2", diff --git a/tarui.japan/main.go b/tarui.japan/main.go index a08aa43..540db7b 100644 --- a/tarui.japan/main.go +++ b/tarui.japan/main.go @@ -35,6 +35,12 @@ func main() { Table: 20, }) + // Bonds + ifs.AddIf(&s6netdev.Iface{ + Name: "bond10", + Type: &s6netdev.NetdevIfTypes.Bond, + }) + // Physical interfaces for _, v := range []string{"p129s0f0", "p129s0f1", "p131s0f0", "p131s0f1", "p131s0f2", "p131s0f3"} { ifs.AddIf(&s6netdev.Iface{ @@ -180,10 +186,16 @@ func main() { }, }, { - Master: "phys", + Master: "bond10", Slaves: []string{ "enp129s0f0", "enp129s0f1", + }, + }, + { + Master: "phys", + Slaves: []string{ + "bond10", "enp131s0f0", "enp131s0f1", "enp131s0f2",