diff --git a/misc/run-conf3-netns b/misc/run-conf3-netns index da5f494..852c777 100755 --- a/misc/run-conf3-netns +++ b/misc/run-conf3-netns @@ -24,5 +24,6 @@ ip netns exec peerns3 ip route add 192.168.2.0/24 via 192.168.3.1 ip netns exec peerns3 ip addr list #ip netns exec peerns3 ./run -useconf=conf3.json +ip netns exec peerns3 ifconfig lo up ip netns exec peerns3 ./run -autoconf #ip netns delete peerns3 diff --git a/misc/yggdrasil.go.tcp b/misc/yggdrasil.go.tcp index b394656..c2c9a6b 100644 --- a/misc/yggdrasil.go.tcp +++ b/misc/yggdrasil.go.tcp @@ -249,8 +249,8 @@ func main() { n := node{} n.init(cfg, logger) logger.Println("Starting tun...") - n.core.DEBUG_startTun(cfg.IfName) // 1280, the smallest supported MTU - //n.core.DEBUG_startTunWithMTU(cfg.IfName, 65535) // Largest supported MTU + //n.core.DEBUG_startTun(cfg.IfName) // 1280, the smallest supported MTU + n.core.DEBUG_startTunWithMTU(cfg.IfName, 65535) // Largest supported MTU defer func() { logger.Println("Closing...") n.core.DEBUG_stopTun()