格式
命令
nsenter
- https://www.yuque.com/coding-fan/network/routing
- https://man7.org/linux/man-pages/man1/nsenter.1.html
- nsenter -t pid -m -n -u -U -p -i
- nsenter —mount=/path/file —net=/path/file —uts=/path/file
ip
- https://www.yuque.com/coding-fan/network/routing
- https://man7.org/linux/man-pages/man8/ip.8.html
- 添加网桥(交换机)
- 添加节点
- 路由实验
安装方式 yum install -y net-tools
- unshare
- https://www.yuque.com/coding-fan/network/routing
- https://linux.die.net/man/1/unshare
- 无
- 几个小补充
- mount namespace
- UTS namespace
- IPC namespace
- network namespace
- pid namespace
- user namespace