ip link add link eth1 name vth0 type macvlan
ip link add link eth1 name vth1 type macvlan
ip link add link eth1 name vth2 type macvlan
ip link add link eth1 name vth3 type macvlan
ip link add link eth1 name vth4 type macvlan
ip link add link eth1 name vth5 type macvlan
ip link add link eth1 name vth6 type macvlan
ip link add link eth1 name vth7 type macvlan
ip link add link eth1 name vth8 type macvlan
ip link add link eth1 name vth9 type macvlan
ip link add link eth1 name vth10 type macvlan
ip link add link eth1 name vth11 type macvlan
ip link add link eth1 name vth12 type macvlan
ip link add link eth1 name vth13 type macvlan
ip link add link eth1 name vth14 type macvlan
ip link add link eth1 name vth15 type macvlan
ip link add link eth1 name vth16 type macvlan
ip link add link eth1 name vth17 type macvlan
ip link add link eth1 name vth18 type macvlan
ip link add link eth1 name vth19 type macvlan
ip link add link eth1 name vth20 type macvlan
ifconfig vth0 hw ether 92:E8:D0:69:22:C0
ifconfig vth1 hw ether 32:2F:61:11:3B:69
ifconfig vth2 hw ether 96:6F:32:61:0B:F9
ifconfig vth3 hw ether DA:6E:10:26:0F:CB
ifconfig vth4 hw ether A6:B6:58:B3:B5:62
ifconfig vth5 hw ether 06:B1:DD:D7:3B:61
ifconfig vth6 hw ether 46:27:0A:B7:03:F6
ifconfig vth7 hw ether 1A:CE:E9:F7:3C:44
ifconfig vth8 hw ether 9A:CD:ED:F7:3C:44
ifconfig vth9 hw ether 1A:2E:AE:F7:3C:44
ifconfig vth10 hw ether 3A:CE:E9:FB:3C:B4
ifconfig vth11 hw ether 5A:CE:E9:F7:3C:45
ifconfig vth12 hw ether 2A:CE:E6:F7:3C:44
ifconfig vth13 hw ether BA:C6:E9:47:3C:44
ifconfig vth14 hw ether 1A:C2:E9:F7:3C:41
ifconfig vth15 hw ether BA:CE:E9:F7:3C:42
ifconfig vth16 hw ether 06:B1:D1:D7:2B:61
ifconfig vth17 hw ether C6:B1:5D:67:3B:61
ifconfig vth18 hw ether B6:B5:63:D7:32:69
ifconfig vth19 hw ether A6:51:DA:E7:31:21
ifconfig vth20 hw ether D6:B1:BD:D7:3B:61
ifconfig vth0 up
ifconfig vth1 up
ifconfig vth2 up
ifconfig vth3 up
ifconfig vth4 up
ifconfig vth5 up
ifconfig vth6 up
ifconfig vth7 up
ifconfig vth8 up
ifconfig vth9 up
ifconfig vth10 up
ifconfig vth11 up
ifconfig vth12 up
ifconfig vth13 up
ifconfig vth14 up
ifconfig vth15 up
ifconfig vth16 up
ifconfig vth17 up
ifconfig vth18 up
ifconfig vth19 up
ifconfig vth20 up文章来源:https://www.toymoban.com/news/detail-444385.html
以上就是20个虚拟网卡的创建语句,MAC地址都不重复,大家感觉不错可以点个关注和收藏哦文章来源地址https://www.toymoban.com/news/detail-444385.html
到了这里,关于OpenWrt虚拟网卡创建语句,一次创建20个的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!