Skip to content

Commit

Permalink
Merge pull request #95 from srl-wim/enable-ipv6-globally
Browse files Browse the repository at this point in the history
added ipv6 kernel config for linux kinds
  • Loading branch information
hellt authored Nov 2, 2020
2 parents 56c838e + fdb0fed commit 52a09e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clab/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ func (c *cLab) NewNode(dutName string, dut dutInfo, idx int) {
node.Position = c.positionInitialization(&dut, node.Kind)
node.Cmd = c.cmdInitialization(&dut, node.Kind, "/bin/sh")

node.Sysctls = make(map[string]string)
node.Sysctls["net.ipv6.conf.all.disable_ipv6"] = "0"

case "bridge":
node.Group = c.groupInitialization(&dut, node.Kind)
node.Position = c.positionInitialization(&dut, node.Kind)
Expand Down

0 comments on commit 52a09e3

Please sign in to comment.