Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持 namespace #82

Closed
sbilly opened this issue Jun 21, 2020 · 0 comments
Closed

不支持 namespace #82

sbilly opened this issue Jun 21, 2020 · 0 comments

Comments

@sbilly
Copy link

sbilly commented Jun 21, 2020

创建 tap 接口以后用 ip 命令把创建的接口挪动到其他的 namespace,会报错。使用官方 README.md 中 linux 的样例程序,复现如下:

启动样例程序:

# go run main.go

调整 tap 接口 O_O

# ip netns add  O_O
# ip link set O_O netns  O_O
# ip netns exec O_O ifconfig O_O 1.1.1.1/24 up
@sbilly sbilly closed this as completed Jun 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant