本帖最后由 yy915cn 于 2017-9-23 21:30 编辑
配置文件如下:
/etc/config/network
- config interface 'loopback'
- option ifname 'lo'
- option proto 'static'
- option ipaddr '127.0.0.1'
- option netmask '255.0.0.0'
- config globals 'globals'
- option ula_prefix 'fdac:7bd0:1424::/48'
- config interface 'lan'
- option type 'bridge'
- option ifname 'eth0.1'
- option proto 'static'
- option netmask '255.255.255.0'
- option ip6assign '60'
- option ipaddr '192.168.9.1'
- config interface 'wan'
- option ifname 'eth0.2'
- option _orig_ifname 'eth0.2'
- option _orig_bridge 'false'
- option ipv6 'auto'
- option username 'xxxxxxxx'
- option password 'xxxxxx'
- option proto 'pppoe'
- option metric '40'
- config interface 'wan6'
- option ifname 'eth0.2'
- option proto 'dhcpv6'
- config switch
- option name 'switch0'
- option reset '1'
- option enable_vlan '1'
- config switch_vlan
- option device 'switch0'
- option vlan '1'
- option ports '1 5t'
- config switch_vlan
- option device 'switch0'
- option vlan '2'
- option ports '3 5t'
- config switch_vlan
- option device 'switch0'
- option vlan '3'
- option ports '2 5t'
- config interface 'wan2'
- option proto 'pppoe'
- option ifname 'eth0.3'
- option username 'xxxxxxxx'
- option password 'xxxxxx'
- option ipv6 'auto'
- option metric '41'
- config switch_vlan
- option device 'switch0'
- option vlan '4'
- option ports '0 5t'
- config interface 'iptv'
- option proto 'dhcp'
- option ifname 'eth0.4'
- option metric '43'
复制代码
/etc/config/mwan3
wan是联通,wan2是电信,iptv是联通的iptv口,现在就是指定 123.147.xxx.xxx 这个ip(iptv服务器的ip)走iptv口,但是无效,线路肯定是没问题的,关闭了wan和wan2,就正常,但只要开启wan或wan2,这个ip的流量又走wan或wan2去了
发帖注意事项
请勿胡乱发帖:https://www.right.com.cn/forum/thread-8307840-1-1.html
账户手机验证:https://www.right.com.cn/forum/home.php?mod=spacecp&ac=plugin&id=jzsjiale_sms:home
|