0:lan1 连接 上级路由器(上级路由器通过ppp-realy转发ppp数据包)。
1:默认的VLAN就可以解决问题。
2:需要去掉br-lan的桥接,因为需要释放出eth0.1。
3:安装macvlan ipk。
4:虚拟出对应的接口来:
/etc/rc.local里面添加
ip link add link eth0.1 name vth0 type macvlan
ifconfig vth0 up
5:随便找个wan接口,物理接口修改为vth0,就可以了。
0:lan1 连接 上级路由器(上级路由器通过ppp-realy转发ppp数据包)。
1:默认的VLAN就可以解决问题。
2:需要去掉br-lan的桥接,因为需要释放出eth0.1。
3:安装macvlan ipk。
4:虚拟出对应的接口来:
/etc/rc.local里面添加
ip link add link eth0.1 name vth0 type macvlan
ifconfig vth0 up
5:随便找个wan接口,物理接口修改为vth0,就可以了。