找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2540|回复: 5

WRT1200AC单线双拨和双线双拨都失败了,请大神指教!

[复制链接]
前提条件:
   1.自己用WNNDR3700单线双拨和双线双拨都成功了
   2.安装了mwan3、
luci-app-mwan3
和macvlan
-------------------------------------------------------------------------------------------------------------------------------------------------------------
单线双拨
1.network cfg中配置了
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0 1 2 6'

config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '4 5t'

config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '3 5t'


1.在 /etc/rc.local中加入了
sleep 6
ip link add link eth0.2 name vth1 type macvlan
ifconfig vth1 hw ether 00:11:22:33:44:55
ifconfig vth1 up

2.配置了虚拟网口的拨号
3.真实wan口可以正常拨号上网,但是虚拟网口vth1就播不上去
-------------------------------------------------------------------------------------------------------------------------------------------------------------
双线双拨
1.network cfg中配置了
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0 1 2 6'

config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '4 5t'

config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '3 5t'

2.每个wan口都可以独立的拨号上网,也配置不同的metric
3.两个wan口同时通过交换机拨号就都不能上网了




请教各位大神,这个是啥原因啊?谢谢!





我的恩山、我的无线 The best wifi forum is right here.
wrt1200ac wan是eth1,单线多播需要在eth1上添加macvlan

点评

用eth0.2是可以正常拨号上网的,那么虚拟的网口应该跟这个网口对应才对吧?  详情 回复 发表于 2017-6-4 09:45
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
zhouruixi 发表于 2017-6-4 09:26
wrt1200ac wan是eth1,单线多播需要在eth1上添加macvlan

用eth0.2是可以正常拨号上网的,那么虚拟的网口应该跟这个网口对应才对吧?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

你能玩到这个样子····你就是大神了嘛~!!!!
再检查一下····你行的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

需要shellsync,syncdial这两个就简单了,还有要修改ppp文件。重新编译吧这两个源码981213里有
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

加油,等着你的经验
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 02:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表