y2kbug
January 22, 2023, 3:29pm
1
I have GL-AX1800 with v4.2.0 beta 2, configuration factory resetted.
Going into OpenWRT → Network → Switch, it shows:
Switch switch0 has an unknown topology - the VLAN settings might not be accurate.
Could VLAN be normally function?
I have two ISP on eth0 and eth1.
I am trying to route traffic to eth0 and eth1 according to source LAN IP.
Thanks.
lele
January 24, 2023, 12:10am
2
Sharing how to set up dual ethernet wan in Slate AX waiting for official feature release.
Installed luci-app-mwan3 (may be not necessary)
involved modified files as attached:
/etc/board.json
/etc/config/board_special
/etc/config/system
/etc/config/network
/etc/config/mwan3
/etc/config/glipv6
/etc/config/gl_mwan3
/etc/config/firewall
/etc/config/dhcp
DualWan.zip (5.3 KB)
notes:
Beware: replace Mac address with yours.
I removed the switch section in /etc/config/network because was g…
that is why I removed the switch section in /etc/config/network, switch actually doesn’ exist I think
y2kbug
January 24, 2023, 4:17am
3
I have read your files.
Are you using dual WAN with load-balance or failover?
I don’t need load-balance or failover.
I just want to route by LAN IP.
Thanks.
lele
January 24, 2023, 8:33am
4
They are for failover but then you can switch mode from gl.inet interface or advanced luci load balance interface setting the same metric (and weight if you have different bandwidths) parameter. Furthermore my setting is for AXT1800 while you have AX1800 so I could be wrong. Better to ask a gl.inet member…
y2kbug
January 24, 2023, 8:59am
5
I have made these commands to route 192.168.50.10 through eth1 (ISP-B):
ip route add default via $(ip -4 addr show eth1 | grep inet | sed 's/.255/.1/g' | awk '{ print $4 }') dev eth1 table 100
ip rule add fwmark 100 table 100
iptables -A PREROUTING -t mangle -s 192.168.50.10 -j MARK --set-mark 100
lele
January 24, 2023, 9:08am
6
Usually I do from Luci interface, firewall NAT rules like this:
y2kbug
January 24, 2023, 9:35am
7
May I know how to set
iptables -A PREROUTING -t mangle -s 192.168.50.10 -j MARK --set-mark 100
on LUCI?
Thanks.
alzhao
January 27, 2023, 9:21am
8
swconfig dev switch0 show
show the detailed switch config.
This is luci. There is a warning message but the switch config is fine
y2kbug
February 18, 2023, 3:31am
9
I have just upgrade my AX1800 to 4.2.0 beta 3.
The hardware ports on AX1800:
WAN: ISP-A
LAN1: ISP-B (HKT in the following pictures)
LAN2: Switch, connecting to devices which should use ISP-B
LAN3: Device should use ISP-A
LAN4: Device should use ISP-A
I am following this guide to setup VLAN.
I cannot find any “VLAN” adapter for the “HKT” interface.
It seems the “Switch” configuration does not wok on this router?
Thanks.