5240
默认分类
docker开启macvlan
1开启网卡混杂模式使用ifconfig或ip link show命令查看网卡使用ip link set xxx promisc on开启混杂 ip link set eth0 promisc off关闭混杂 2创建macvlan网络docker network create -d macvlan --subnet=10.1.0.0/16 --ip-range=10.1.62.0/24 --gateway=10.1.0.1 --ipv6 --subnet=fd00:8062::/96 -o parent=xxx macvlan -d macvlan 指定网络模式--subnet 设置子...
最近评论