2020-12-22 11:27:44 sitnl_send: rtnl: generic error (-101): Network is unreachable
2020-12-22 11:27:44 ROUTE6: default_gateway=UNDEF
2020-12-22 11:27:44 TUN/TAP device tun0 opened
2020-12-22 11:27:44 net_iface_mtu_set: mtu 1500 for tun0
2020-12-22 11:27:44 net_iface_up: set tun0 up
2020-12-22 11:27:44 net_addr_v4_add: 10.10.14.4/23 dev tun0
2020-12-22 11:27:44 net_iface_mtu_set: mtu 1500 for tun0
2020-12-22 11:27:44 net_iface_up: set tun0 up
2020-12-22 11:27:44 net_addr_v6_add: dead:beef:2::1002/64 dev tun0
2020-12-22 11:27:44 sitnl_send: rtnl: generic error (-13): Permission denied
2020-12-22 11:27:44 Linux can't add IPv6 to interface tun0
2020-12-22 11:27:44 Exiting due to fatal error
解决:
查看是否禁用了 IPv6,如果为 1,则是被禁用了
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1
开启 IPv6
$ sysctl net.ipv6.conf.all.disable_ipv6=0
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
0
网友评论