Advertisement
y2kbug

MWAN Status - Troubleshooting

Oct 5th, 2020
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.93 KB | None | 0 0
  1. Software-Version
  2. -------------------------------------------------
  3. OpenWrt - OpenWrt 18.06.1 r7258-5eb055306f
  4. LuCI - git-18.196.56128-9112198
  5.  
  6.  
  7. Output of "ip a show"
  8. -------------------------------------------------
  9. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
  10. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  11. inet 127.0.0.1/8 scope host lo
  12. valid_lft forever preferred_lft forever
  13. inet6 ::1/128 scope host
  14. valid_lft forever preferred_lft forever
  15. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
  16. link/ether e4:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
  17. inet6 fe80::e695:6eff:fe42:a3d6/64 scope link
  18. valid_lft forever preferred_lft forever
  19. 3: teql0: <NOARP> mtu 1500 qdisc noop state DOWN group default qlen 100
  20. link/void
  21. 32: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
  22. link/ether e6:e7:98:f2:cd:e6 brd ff:ff:ff:ff:ff:ff
  23. inet 192.168.42.74/24 brd 192.168.42.255 scope global usb0
  24. valid_lft forever preferred_lft forever
  25. inet6 fe80::e4e7:98ff:fef2:cde6/64 scope link
  26. valid_lft forever preferred_lft forever
  27. 41: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
  28. link/ether e4:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
  29. inet 192.168.8.1/24 brd 192.168.8.255 scope global br-lan
  30. valid_lft forever preferred_lft forever
  31. 42: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
  32. link/ether e4:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
  33. 43: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
  34. link/ether 78:7b:8a:bd:b9:39 brd ff:ff:ff:ff:ff:ff
  35. inet 192.168.98.97/26 brd 192.168.98.127 scope global eth0.2
  36. valid_lft forever preferred_lft forever
  37. 44: br-guest: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
  38. link/ether e6:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
  39. inet 192.168.9.1/24 brd 192.168.9.255 scope global br-guest
  40. valid_lft forever preferred_lft forever
  41. 45: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
  42. link/ether e4:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
  43. 46: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
  44. link/ether e4:95:6e:42:a3:d7 brd ff:ff:ff:ff:ff:ff
  45. 47: wlan2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-guest state UP group default qlen 1000
  46. link/ether e6:95:6e:42:a3:d7 brd ff:ff:ff:ff:ff:ff
  47. 48: wlan3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-guest state UP group default qlen 1000
  48. link/ether e6:95:6e:42:a3:d6 brd ff:ff:ff:ff:ff:ff
  49.  
  50.  
  51. Output of "ip route show"
  52. -------------------------------------------------
  53. default via 192.168.42.129 dev usb0 proto static src 192.168.42.74 metric 10
  54. default via 192.168.98.126 dev eth0.2 proto static src 192.168.98.97 metric 30
  55. 192.168.8.0/24 dev br-lan proto kernel scope link src 192.168.8.1
  56. 192.168.9.0/24 dev br-guest proto kernel scope link src 192.168.9.1
  57. 192.168.42.0/24 dev usb0 proto static scope link metric 10
  58. 192.168.98.64/26 dev eth0.2 proto static scope link metric 30
  59.  
  60.  
  61. Output of "ip rule show"
  62. -------------------------------------------------
  63. 0: from all lookup local
  64. 1001: from all iif eth0.2 lookup main
  65. 1002: from all iif usb0 lookup main
  66. 2001: from all fwmark 0x100/0x3f00 lookup 1
  67. 2002: from all fwmark 0x200/0x3f00 lookup 2
  68. 2061: from all fwmark 0x3d00/0x3f00 blackhole
  69. 2062: from all fwmark 0x3e00/0x3f00 unreachable
  70. 32766: from all lookup main
  71. 32767: from all lookup default
  72.  
  73.  
  74. Output of "ip route list table 1-250"
  75. -------------------------------------------------
  76. Table 1: default via 192.168.98.126 dev eth0.2
  77. Table 2: default via 192.168.42.129 dev usb0
  78.  
  79.  
  80. Output of "iptables -L -t mangle -v -n"
  81. -------------------------------------------------
  82. Chain PREROUTING (policy ACCEPT 23993 packets, 10M bytes)
  83. pkts bytes target prot opt in out source destination
  84. 23993 10M mwan3_hook all -- * * 0.0.0.0/0 0.0.0.0/0
  85.  
  86. Chain INPUT (policy ACCEPT 2797 packets, 338K bytes)
  87. pkts bytes target prot opt in out source destination
  88.  
  89. Chain FORWARD (policy ACCEPT 19128 packets, 9441K bytes)
  90. pkts bytes target prot opt in out source destination
  91. 0 0 TCPMSS tcp -- * eth0.2 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* !fw3: Zone wan MTU fixing */ TCPMSS clamp to PMTU
  92. 352 21184 TCPMSS tcp -- * usb0 0.0.0.0/0 0.0.0.0/0 tcp flags:0x06/0x02 /* !fw3: Zone wan MTU fixing */ TCPMSS clamp to PMTU
  93.  
  94. Chain OUTPUT (policy ACCEPT 2454 packets, 691K bytes)
  95. pkts bytes target prot opt in out source destination
  96. 2454 691K mwan3_hook all -- * * 0.0.0.0/0 0.0.0.0/0
  97.  
  98. Chain POSTROUTING (policy ACCEPT 21561 packets, 10M bytes)
  99. pkts bytes target prot opt in out source destination
  100.  
  101. Chain mwan3_connected (2 references)
  102. pkts bytes target prot opt in out source destination
  103. 12432 7240K MARK all -- * * 0.0.0.0/0 0.0.0.0/0 match-set mwan3_connected dst MARK or 0x3f00
  104.  
  105. Chain mwan3_hook (2 references)
  106. pkts bytes target prot opt in out source destination
  107. 26447 11M CONNMARK all -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK restore mask 0x3f00
  108. 4635 869K mwan3_ifaces_in all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
  109. 2281 376K mwan3_connected all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
  110. 1518 318K mwan3_ifaces_out all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
  111. 561 239K mwan3_rules all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
  112. 26447 11M CONNMARK all -- * * 0.0.0.0/0 0.0.0.0/0 CONNMARK save mask 0x3f00
  113. 21411 9680K mwan3_connected all -- * * 0.0.0.0/0 0.0.0.0/0 mark match ! 0x3f00/0x3f00
  114.  
  115. Chain mwan3_iface_in_tethering (1 references)
  116. pkts bytes target prot opt in out source destination
  117. 0 0 MARK all -- usb0 * 0.0.0.0/0 0.0.0.0/0 match-set mwan3_connected src mark match 0x0/0x3f00 /* default */ MARK or 0x3f00
  118. 3 194 MARK all -- usb0 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* tethering */ MARK xset 0x200/0x3f00
  119.  
  120. Chain mwan3_iface_in_wan (1 references)
  121. pkts bytes target prot opt in out source destination
  122. 1947 412K MARK all -- eth0.2 * 0.0.0.0/0 0.0.0.0/0 match-set mwan3_connected src mark match 0x0/0x3f00 /* default */ MARK or 0x3f00
  123. 404 81612 MARK all -- eth0.2 * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* wan */ MARK xset 0x100/0x3f00
  124.  
  125. Chain mwan3_iface_out_tethering (1 references)
  126. pkts bytes target prot opt in out source destination
  127. 499 41184 MARK all -- * usb0 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* tethering */ MARK xset 0x200/0x3f00
  128.  
  129. Chain mwan3_iface_out_wan (1 references)
  130. pkts bytes target prot opt in out source destination
  131. 458 38472 MARK all -- * eth0.2 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* wan */ MARK xset 0x100/0x3f00
  132.  
  133. Chain mwan3_ifaces_in (1 references)
  134. pkts bytes target prot opt in out source destination
  135. 4635 869K mwan3_iface_in_tethering all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
  136. 4632 869K mwan3_iface_in_wan all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
  137.  
  138. Chain mwan3_ifaces_out (1 references)
  139. pkts bytes target prot opt in out source destination
  140. 1518 318K mwan3_iface_out_tethering all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
  141. 1019 277K mwan3_iface_out_wan all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00
  142.  
  143. Chain mwan3_policy_default_poli (0 references)
  144. pkts bytes target prot opt in out source destination
  145. 0 0 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* tethering 3 3 */ MARK xset 0x200/0x3f00
  146.  
  147. Chain mwan3_policy_tethering_poli (1 references)
  148. pkts bytes target prot opt in out source destination
  149. 561 239K MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* tethering 3 3 */ MARK xset 0x200/0x3f00
  150.  
  151. Chain mwan3_policy_wan_poli (1 references)
  152. pkts bytes target prot opt in out source destination
  153. 0 0 MARK all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* wan 3 3 */ MARK xset 0x100/0x3f00
  154.  
  155. Chain mwan3_rules (1 references)
  156. pkts bytes target prot opt in out source destination
  157. 0 0 mwan3_policy_wan_poli all -- * * 0.0.0.0/0 192.168.0.0/24 mark match 0x0/0x3f00 /* ps */
  158. 561 239K mwan3_policy_tethering_poli all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0x3f00 /* default_rule */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement