alibaba/kt-connect

Failed to add ip addr 241.255.0.0 to tun device

ldy24555 opened this issue · 0 comments

Describe the bug
使用ktctl connect --debug 连接k8s集群不知为何突然连接不了了
查看日志和源代码发现其执行 netsh interface ipv4 add address "KtConnectTunnel" "241.254.0.0" "255.255.0.0" 配置路由有问题,
单独将其拿出来执行 会报参数错误。我排查出netsh添加c类ip地址是可以的 ,但d类和e类不行。这导致我工具使用不了

Log
DBG Task C:\Windows\system32\netsh.exe with args [netsh interface ipv4 add address KtConnectTunnel 241.255.0.0 255.255.0.0]
WRN Failed to add ip addr 241.255.0.0 to tun device

Environment (please complete the following information):

  • OS: window11
  • KT Version [1.0.7]