Arch Linux 下:
ip link add link eth0 name eth0.1 address 192.168.0.1 type macvlan
或者不指定ip地址
ip link add link eth0 name eth0.1 type macvlan
之后运行dhcpcd自动获取ip地址
dhcpd
完事后ifconfig下就会出现eth0.1
mentohust选择此网卡后可以认证,但不能上网,待解决
Arch Linux 下:
ip link add link eth0 name eth0.1 address 192.168.0.1 type macvlan
或者不指定ip地址
ip link add link eth0 name eth0.1 type macvlan
之后运行dhcpcd自动获取ip地址
dhcpd
完事后ifconfig下就会出现eth0.1
mentohust选择此网卡后可以认证,但不能上网,待解决