找回密码
 注册

QQ登录

只需一步,快速开始

查看: 150|回复: 8

双宽带接入同一路由器,电脑只能ping通一个宽带网关怎么回事?

[复制链接]
发表于 2024-4-1 23:10:40 | 显示全部楼层 |阅读模式
我用的k2p路由器,刷的潘多拉固件。

移动宽带接 wan口,可能正常上网
联通宽带接 lan4口,设置了vlan,当成wan1口,电脑不能ping通此网关。ssh登录路由器,可以ping通联通网关。
设置了mwan3 ,不知道是不是mwan3设置问题,图片最后放上mwan3的故障排除数据。
不知道哪里设置有问题,请指教,谢谢。




[size=1.4]故障排除数据Software versions :

OpenWrt - PandoraBox 18.12 2018-12-14-git-ba60306f2LuCI - git-18.346.39597-d1ebd59mwan3 - 2.6-1mwan3-luci - git-18.346.39597-d1ebd59-1

Output of "cat /etc/config/mwan3" :

config policy 'iptvwan_only'        list use_member 'iptvwan_m'        option last_resort 'unreachable'config policy 'balanced'        list use_member 'wan_m'        list use_member 'wan1_m'        option last_resort 'unreachable'config policy 'wan1_only'        list use_member 'wan1_m'        option last_resort 'unreachable'config policy 'wan_only'        list use_member 'wan_m'        option last_resort 'unreachable'config rule 'iptv_rule'        option proto 'all'        option sticky '1'        option use_policy 'iptvwan_only'        option dest_ip '10.0.0.0/8'config rule 'wan1_rule'        option dest_ip '192.168.101.0/24'        option proto 'all'        option sticky '1'        option use_policy 'wan1_only'config rule 'wan_rule'        option dest_ip '192.168.11.0/24'        option proto 'all'        option sticky '1'        option use_policy 'wan_only'config rule 'https'        option sticky '1'        option dest_port '443'        option proto 'tcp'        option use_policy 'balanced'config rule 'default_rule'        option dest_ip '0.0.0.0/0'        option use_policy 'balanced'        option proto 'all'        option sticky '1'config interface 'wan1'        option enabled '1'        option family 'ipv4'        list track_ip '202.99.166.4'        list track_ip '223.5.5.5'        option reliability '1'        option count '1'        option size '56'        option timeout '2'        option interval '300'        option failure_interval '300'        option recovery_interval '300'        option down '3'        option up '3'        option flush_conntrack 'ifup'config interface 'iptvwan'        option enabled '1'        option family 'ipv4'        option reliability '1'        option count '1'        option size '56'        option timeout '2'        option interval '1800'        option failure_interval '1800'        option recovery_interval '1800'        option down '3'        option up '3'        option flush_conntrack 'never'config member 'wan_m'        option interface 'wan'        option weight '10'        option metric '10'config member 'wan1_m'        option interface 'wan1'        option metric '20'        option weight '10'config member 'iptvwan_m'        option interface 'iptvwan'        option weight '1'        option metric '90'config interface 'wan6'        option enabled '1'        option family 'ipv6'        option reliability '1'        option count '1'        option size '56'        option timeout '2'        option interval '5'        option failure_interval '5'        option recovery_interval '5'        option down '3'        option up '3'        option flush_conntrack 'never'config member 'wan6_m'        option interface 'wan6'        option metric '80'        option weight '10'config rule 'wan6_rule'        option dest_ip '::/0'        option proto 'all'        option sticky '0'        option use_policy 'wan6_only'config policy 'wan6_only'        list use_member 'wan6_m'        option last_resort 'unreachable'config interface 'wan'        option enabled '1'        option family 'ipv4'        list track_ip '111.11.11.1'        list track_ip '223.5.5.5'        option reliability '1'        option count '1'        option size '56'        option timeout '2'        option interval '600'        option failure_interval '600'        option recovery_interval '600'        option down '3'        option up '3'        option flush_conntrack 'ifup'

Output of "cat /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'config interface 'lan'        option type 'bridge'        option proto 'static'        option netmask '255.255.255.0'        option ip6assign '60'        option delegate '0'        option _orig_ifname 'eth0.1 ra0 rax0'        option _orig_bridge 'true'        option ifname 'eth0.1 rax0'        option ipaddr '192.168.111.1'config device 'lan_dev'        option name 'eth0.1'        option macaddr '2c:15:e1:16:15:ea'config interface 'wan'        option ifname 'eth0.2'        option _orig_ifname 'eth0.2'        option _orig_bridge 'false'        option proto 'dhcp'        option metric '30'config device 'wan_dev'        option name 'eth0.2'        option macaddr '2c:15:e1:16:15:e9'config device 'wan1_dev'        option name 'eth0.3'        option macaddr '2c:15:e1:16:15:16'config device 'iptv_dev'        option name 'eth0.4'        option macaddr '2c:15:e1:16:15:17'config interface 'wan6'        option ifname 'eth0.2'        option proto 'dhcpv6'        option metric '52'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 5 6t 7t'config switch_vlan        option device 'switch0'        option vlan '2'        option ports '4 6t 7t'        option vid '2'config switch_vlan        option device 'switch0'        option vlan '3'        option vid '3'        option ports '3t 6t'config switch_vlan        option device 'switch0'        option vlan '4'        option vid '4'        option ports '2 3t 6t'config interface 'wan1'        option proto 'dhcp'        option ifname 'eth0.3'        option delegate '0'        option macaddr '2c:15:e1:16:15:16'        option metric '10'config interface 'iptvwan'        option proto 'static'        option ifname 'eth0.4'        option ipaddr '10.113.65.189'        option netmask '255.255.252.0'        option gateway '10.113.64.1'        option metric '80'        option delegate '0'

Output of "cat /etc/config/wireless" :

config wifi-device 'ra'        option type 'mt_dbdc'        option hwmode '11g'        option channel 'auto'        option txpower '100'        option country 'CN'        option txburst '1'        option smart '1'        option htmode 'HT40'config wifi-iface 'default_ra'        option device 'ra'        option mode 'ap'        option ssid 'LiuDeXueTang'        option rssikick '0'        option rssiassoc '0'        option encryption 'psk-mixed'        KEY HIDDEN        option network 'lan'config wifi-device 'rax'        option type 'mt_dbdc'        option hwmode '11a'        option channel 'auto'        option txpower '100'        option htmode 'VHT80'        option country 'CN'        option txburst '1'        option noscan '1'config wifi-iface 'default_rax'        option device 'rax'        option network 'lan'        option mode 'ap'        option ssid 'LiuDe_5G'        option rssikick '0'        option rssiassoc '0'        option encryption 'psk-mixed'        KEY HIDDEN

Output of "ifconfig" :

br-lan    Link encap:Ethernet  HWaddr 2C:15:E1:16:15:EA            inet addr:192.168.111.1  Bcast:192.168.111.255  Mask:255.255.255.0          inet6 addr: 2409:8a04:a12d:751::1/64 Scope:Global          inet6 addr: fe80::2e15:e1ff:fe16:15ea/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:84356 errors:0 dropped:0 overruns:0 frame:0          TX packets:205343 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:14517480 (13.8 MiB)  TX bytes:248506741 (236.9 MiB)eth0      Link encap:Ethernet  HWaddr 2C:15:E1:16:15:EA            inet6 addr: fe80::2e15:e1ff:fe16:15ea/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:342663 errors:0 dropped:0 overruns:0 frame:0          TX packets:180942 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000           RX bytes:341215500 (325.4 MiB)  TX bytes:47474238 (45.2 MiB)          Interrupt:3 eth0.1    Link encap:Ethernet  HWaddr 2C:15:E1:16:15:EA            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:0 errors:0 dropped:0 overruns:0 frame:0          TX packets:612 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:0 (0.0 B)  TX bytes:91154 (89.0 KiB)eth0.2    Link encap:Ethernet  HWaddr 2C:15:E1:16:15:E9            inet addr:192.168.11.199  Bcast:192.168.11.255  Mask:255.255.255.0          inet6 addr: 2409:8a04:a12d:750:2e15:e1ff:fe16:15e9/64 Scope:Global          inet6 addr: 2409:8a04:a12d:750::3/128 Scope:Global          inet6 addr: fe80::2e15:e1ff:fe16:15e9/64 Scope:Link          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1          RX packets:206349 errors:0 dropped:4128 overruns:0 frame:0          TX packets:75318 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:234814274 (223.9 MiB)  TX bytes:14784215 (14.0 MiB)eth0.3    Link encap:Ethernet  HWaddr 2C:15:E1:16:15:16            inet addr:192.168.101.6  Bcast:192.168.101.255  Mask:255.255.255.0          inet6 addr: fe80::2e15:e1ff:fe16:1516/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:6565 errors:0 dropped:14 overruns:0 frame:0          TX packets:8477 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:793216 (774.6 KiB)  TX bytes:701565 (685.1 KiB)eth0.4    Link encap:Ethernet  HWaddr 2C:15:E1:16:15:17            inet addr:10.113.65.189  Bcast:10.113.67.255  Mask:255.255.252.0          inet6 addr: fe80::2e15:e1ff:fe16:1517/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:1249 errors:0 dropped:14 overruns:0 frame:0          TX packets:91 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:127742 (124.7 KiB)  TX bytes:5518 (5.3 KiB)lo        Link encap:Local Loopback            inet addr:127.0.0.1  Mask:255.0.0.0          inet6 addr: ::1/128 Scope:Host          UP LOOPBACK RUNNING  MTU:65536  Metric:1          RX packets:17185 errors:0 dropped:0 overruns:0 frame:0          TX packets:17185 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:12632592 (12.0 MiB)  TX bytes:12632592 (12.0 MiB)macvlan1  Link encap:Ethernet  HWaddr 2C:15:E1:16:15:11            inet6 addr: fe80::2e15:e1ff:fe16:1511/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:7309 errors:0 dropped:2945 overruns:0 frame:0          TX packets:868 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:509697 (497.7 KiB)  TX bytes:89024 (86.9 KiB)macvlan2  Link encap:Ethernet  HWaddr 2C:15:E1:16:15:12            inet6 addr: fe80::2e15:e1ff:fe16:1512/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:7312 errors:0 dropped:2945 overruns:0 frame:0          TX packets:848 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:510017 (498.0 KiB)  TX bytes:86224 (84.2 KiB)ra0       Link encap:Ethernet  HWaddr 2C:15:E1:16:15:EB            inet6 addr: fe80::2e15:e1ff:fe16:15eb/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:23769 errors:9 dropped:0 overruns:0 frame:0          TX packets:14793 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:3000           RX bytes:3208718 (3.0 MiB)  TX bytes:5958293 (5.6 MiB)          Interrupt:4 rax0      Link encap:Ethernet  HWaddr 2E:15:E1:46:15:EB            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:183751 errors:0 dropped:0 overruns:0 frame:0          TX packets:314340 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:3000           RX bytes:29651371 (28.2 MiB)  TX bytes:348588186 (332.4 MiB)

Output of "route -n" :

Kernel IP routing tableDestination     Gateway         Genmask         Flags Metric Ref    Use Iface0.0.0.0         192.168.101.1   0.0.0.0         UG    10     0        0 eth0.30.0.0.0         192.168.11.1    0.0.0.0         UG    30     0        0 eth0.20.0.0.0         10.113.64.1     0.0.0.0         UG    80     0        0 eth0.410.113.64.0     0.0.0.0         255.255.252.0   U     80     0        0 eth0.4192.168.11.0    0.0.0.0         255.255.255.0   U     30     0        0 eth0.2192.168.11.1    0.0.0.0         255.255.255.255 UH    30     0        0 eth0.2192.168.101.0   0.0.0.0         255.255.255.0   U     10     0        0 eth0.3192.168.101.1   0.0.0.0         255.255.255.255 UH    10     0        0 eth0.3192.168.111.0   0.0.0.0         255.255.255.0   U     0      0        0 br-lan

Output of "ip rule show" :

0:        from all lookup local 1001:        from all iif eth0.3 lookup main 1002:        from all iif eth0.4 lookup main 1004:        from all iif eth0.2 lookup main 2001:        from all fwmark 0x100/0xff00 lookup 1 2002:        from all fwmark 0x200/0xff00 lookup 2 2004:        from all fwmark 0x400/0xff00 lookup 4 2253:        from all fwmark 0xfd00/0xff00 blackhole2254:        from all fwmark 0xfe00/0xff00 unreachable32766:        from all lookup main 32767:        from all lookup default

Output of "ip route list table 1-250" :

1default via 192.168.101.1 dev eth0.3 2default via 10.113.64.1 dev eth0.4 4default via 192.168.11.1 dev eth0.2

Firewall default output policy (must be ACCEPT) :

ACCEPT

Output of "iptables -L -t mangle -v -n" :

Chain PREROUTING (policy ACCEPT 56219 packets, 24M bytes) pkts bytes target     prot opt in     out     source               destination         56376   24M mwan3_hook  all  --  *      *       0.0.0.0/0            0.0.0.0/0           Chain INPUT (policy ACCEPT 14196 packets, 1553K bytes) pkts bytes target     prot opt in     out     source               destination         Chain FORWARD (policy ACCEPT 41419 packets, 23M bytes) pkts bytes target     prot opt in     out     source               destination         Chain OUTPUT (policy ACCEPT 15407 packets, 4390K bytes) pkts bytes target     prot opt in     out     source               destination         15534 4399K mwan3_hook  all  --  *      *       0.0.0.0/0            0.0.0.0/0           Chain POSTROUTING (policy ACCEPT 56826 packets, 27M bytes) pkts bytes target     prot opt in     out     source               destination         Chain mwan3_connected (2 references) pkts bytes target     prot opt in     out     source               destination         29902   19M MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set mwan3_connected dst MARK or 0xff00Chain mwan3_hook (2 references) pkts bytes target     prot opt in     out     source               destination         71910   29M CONNMARK   all  --  *      *       0.0.0.0/0            0.0.0.0/0            CONNMARK restore mask 0xff0010110  752K mwan3_ifaces_in  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 9491  598K mwan3_connected  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 1714 99249 mwan3_ifaces_out  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 1515 87757 mwan3_rules  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff0071910   29M CONNMARK   all  --  *      *       0.0.0.0/0            0.0.0.0/0            CONNMARK save mask 0xff0042479   23M mwan3_connected  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xff00/0xff00Chain mwan3_iface_in_iptvwan (1 references) pkts bytes target     prot opt in     out     source               destination            88 33077 MARK       all  --  eth0.4 *       0.0.0.0/0            0.0.0.0/0            match-set mwan3_connected src mark match 0x0/0xff00 /* default */ MARK or 0xff00   66  3856 MARK       all  --  eth0.4 *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* iptvwan */ MARK xset 0x200/0xff00Chain mwan3_iface_in_wan (1 references) pkts bytes target     prot opt in     out     source               destination           379 84744 MARK       all  --  eth0.2 *       0.0.0.0/0            0.0.0.0/0            match-set mwan3_connected src mark match 0x0/0xff00 /* default */ MARK or 0xff00    2   539 MARK       all  --  eth0.2 *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* wan */ MARK xset 0x400/0xff00Chain mwan3_iface_in_wan1 (1 references) pkts bytes target     prot opt in     out     source               destination            80 31488 MARK       all  --  eth0.3 *       0.0.0.0/0            0.0.0.0/0            match-set mwan3_connected src mark match 0x0/0xff00 /* default */ MARK or 0xff00    4   224 MARK       all  --  eth0.3 *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* wan1 */ MARK xset 0x100/0xff00Chain mwan3_iface_out_iptvwan (1 references) pkts bytes target     prot opt in     out     source               destination            52  2080 MARK       all  --  *      *       10.113.65.189        0.0.0.0/0            mark match 0x0/0xff00 /* iptvwan */ MARK xset 0x200/0xff00Chain mwan3_iface_out_wan (1 references) pkts bytes target     prot opt in     out     source               destination            12  1008 MARK       all  --  *      *       192.168.11.199       0.0.0.0/0            mark match 0x0/0xff00 /* wan */ MARK xset 0x400/0xff00Chain mwan3_iface_out_wan1 (1 references) pkts bytes target     prot opt in     out     source               destination           135  8404 MARK       all  --  *      *       192.168.101.6        0.0.0.0/0            mark match 0x0/0xff00 /* wan1 */ MARK xset 0x100/0xff00Chain mwan3_ifaces_in (1 references) pkts bytes target     prot opt in     out     source               destination         10110  752K mwan3_iface_in_wan1  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff0010008  719K mwan3_iface_in_iptvwan  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 9845  681K mwan3_iface_in_wan  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00Chain mwan3_ifaces_out (1 references) pkts bytes target     prot opt in     out     source               destination          1714 99249 mwan3_iface_out_wan1  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 1573 90541 mwan3_iface_out_iptvwan  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 1518 88309 mwan3_iface_out_wan  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00Chain mwan3_policy_balanced (2 references) pkts bytes target     prot opt in     out     source               destination             6   324 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* wan 10 10 */ MARK xset 0x400/0xff00Chain mwan3_policy_iptvwan_only (1 references) pkts bytes target     prot opt in     out     source               destination             1    52 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* iptvwan 1 1 */ MARK xset 0x200/0xff00Chain mwan3_policy_wan1_only (1 references) pkts bytes target     prot opt in     out     source               destination             0     0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* wan1 10 10 */ MARK xset 0x100/0xff00Chain mwan3_policy_wan6_only (1 references) pkts bytes target     prot opt in     out     source               destination             0     0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* unreachable */ MARK xset 0xfe00/0xff00Chain mwan3_policy_wan_only (1 references) pkts bytes target     prot opt in     out     source               destination             0     0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* wan 10 10 */ MARK xset 0x400/0xff00Chain mwan3_rule_default_rule (1 references) pkts bytes target     prot opt in     out     source               destination           959 58559 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 MARK xset 0x400/0xff00    3   152 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x400/0xff00 ! match-set mwan3_sticky_default_rule src,src MARK and 0xffff00ff    3   152 mwan3_policy_balanced  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00  959 58559 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 del-set mwan3_sticky_default_rule src,src  959 58559 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 add-set mwan3_sticky_default_rule src,srcChain mwan3_rule_https (1 references) pkts bytes target     prot opt in     out     source               destination           545 28638 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 MARK xset 0x400/0xff00    3   172 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x400/0xff00 ! match-set mwan3_sticky_https src,src MARK and 0xffff00ff    3   172 mwan3_policy_balanced  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00  545 28638 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 del-set mwan3_sticky_https src,src  545 28638 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 add-set mwan3_sticky_https src,srcChain mwan3_rule_iptv_rule (1 references) pkts bytes target     prot opt in     out     source               destination             2   104 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 MARK xset 0x200/0xff00    1    52 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x200/0xff00 ! match-set mwan3_sticky_iptv_rule src,src MARK and 0xffff00ff    1    52 mwan3_policy_iptvwan_only  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00    2   104 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 del-set mwan3_sticky_iptv_rule src,src    2   104 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 add-set mwan3_sticky_iptv_rule src,srcChain mwan3_rule_wan1_rule (1 references) pkts bytes target     prot opt in     out     source               destination             0     0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 MARK xset 0x100/0xff00    0     0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x100/0xff00 ! match-set mwan3_sticky_wan1_rule src,src MARK and 0xffff00ff    0     0 mwan3_policy_wan1_only  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00    0     0 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 del-set mwan3_sticky_wan1_rule src,src    0     0 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 add-set mwan3_sticky_wan1_rule src,srcChain mwan3_rule_wan_rule (1 references) pkts bytes target     prot opt in     out     source               destination             0     0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 MARK xset 0x400/0xff00    0     0 MARK       all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x400/0xff00 ! match-set mwan3_sticky_wan_rule src,src MARK and 0xffff00ff    0     0 mwan3_policy_wan_only  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00    0     0 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 del-set mwan3_sticky_wan_rule src,src    0     0 SET        all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match ! 0xfc00/0xfc00 add-set mwan3_sticky_wan_rule src,srcChain mwan3_rules (1 references) pkts bytes target     prot opt in     out     source               destination             2   104 mwan3_rule_iptv_rule  all  --  *      *       0.0.0.0/0            10.0.0.0/8           mark match 0x0/0xff00 /* iptv_rule */    0     0 mwan3_rule_wan1_rule  all  --  *      *       0.0.0.0/0            192.168.101.0/24     mark match 0x0/0xff00 /* wan1_rule */    0     0 mwan3_rule_wan_rule  all  --  *      *       0.0.0.0/0            192.168.11.0/24      mark match 0x0/0xff00 /* wan_rule */  545 28638 mwan3_rule_https  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            multiport sports 0:65535 multiport dports 443 mark match 0x0/0xff00 /* https */  959 58559 mwan3_rule_default_rule  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* default_rule */    0     0 mwan3_policy_wan6_only  all  --  *      *       0.0.0.0/0            0.0.0.0/0            mark match 0x0/0xff00 /* wan6_rule */


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2024-4-2 07:44:54 | 显示全部楼层
看不懂,只感觉好厉害的样子!
 楼主| 发表于 2024-4-2 08:53:11 | 显示全部楼层
之前按网上教程设置 mwan3 负载均衡,电脑是可以同时访问移动和联通猫的,只是后来路由密码进不去了,恢复出厂重新设置,不知道哪里出问题,现在是只能访问移动猫。请知道的说一下。谢谢
 楼主| 发表于 2024-4-2 22:01:57 | 显示全部楼层
问题已解决:回想之想操作,是试过多拨,未成功多拨。但是可以访问双宽带路由了。于是今天恢复出厂设置,又试用一次多拨(多拨仍然失败),关闭多播再按上面图设置就ping 通双网关了。

我猜想可能是路由器默认路由方式仅走wan口,开启多拨再关闭就好了。
遇到同样问题的网友可以尝试一下。
发表于 2024-4-2 22:26:30 | 显示全部楼层
顶一顶,只为狗粮。。
 楼主| 发表于 2024-4-4 13:59:12 | 显示全部楼层
今天又折腾一下,发现wan1 wan 接口设置防火墙必须都在 wan 里才可以。设置多播 默认把接口加入 wan 防火墙。
具体原因:应该是防火墙设置问题,防火墙一直没太明白,有空再尝一下不同防火墙设置。
 楼主| 发表于 2024-4-4 19:54:53 | 显示全部楼层
今天又折腾一次,应该是防火墙没设置对的原因,把新建的接口 wan1 防火墙加入 wan 就可以了。或者设置相关的防火墙规则,我还没弄明白防火墙规则设置。
目前把新建的接口 wan1 防火墙加入wan 就可以了 。
发表于 2024-4-6 19:52:54 | 显示全部楼层
感谢楼主分享
发表于 2024-4-21 09:35:28 | 显示全部楼层
感谢楼主分享!!!!!
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|宽带技术网 |网站地图

粤公网安备 44152102000001号

GMT+8, 2024-5-2 15:12 , Processed in 0.026663 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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