标签:set mod bash ovs exe module -o patch erro
[root@kunpeng82 devuser]# ovs-tcpdump -i patch-ovs-2 Traceback (most recent call last): File "/bin/ovs-tcpdump", line 27, in <module> import netifaces ImportError: No module named netifaces [root@kunpeng82 devuser]# pip install netifaces bash: pip: command not found [root@kunpeng82 devuser]# pip3 install netifaces WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead. Collecting netifaces
yum -y install python3-netifaces
ovs-vsctl add-br br1 ovs-vsctl add-br br2 ovs-vsctl add-port br1 tap1 -- set Interface tap1 type=internal ovs-vsctl add-port br2 tap2 -- set Interface tap2 type=internal ip netns add ns1 ip netns add ns2 ip link set tap1 netns ns1 ip link set tap2 netns ns2 ip netns exec ns1 ip addr add 1.1.1.1/24 dev tap1 ip netns exec ns1 ip link set tap1 up ip netns exec ns1 ip link set lo up ip netns exec ns2 ip addr add 1.1.1.2/24 dev tap2 ip netns exec ns2 ip link set tap2 up ip netns exec ns2 ip link set lo up ovs-vsctl add-port br1 patch-ovs-1 -- set Interface patch-ovs-1 type=patch options:peer=patch-ovs-2 ovs-vsctl add-port br2 patch-ovs-2 -- set Interface patch-ovs-2 type=patch options:peer=patch-ovs-1
标签:set mod bash ovs exe module -o patch erro
原文地址:https://www.cnblogs.com/dream397/p/13137595.html