WAN口也就是eth0.1,
然后编辑 /etc/rc.local
加入
ip link add link eth0.1 eth2 type macvlan //这个eth0.1就是对应wan吧
ifconfig eth2 hw ether 00:90:4C:C0:01:4D
ifconfig eth2 up
:wq
然后/etc/config/network
config 'interface' 'wan2'
option 'ifname' 'eth2'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'proto' 'none'
:wq
就做了这些~ |