Having Issue with using MultiWAN with RB450G

Looking for help to fix my RB450G not getting internet when my WAN1 goes down & I need to unplugged the cable or poweroff the ISP router then only its shifted to WAN2,

Using Loadbalance with TPlink ER605 with it its work good no issue quick failover or backup again, but my RB450G having issue when my WAN1 goes down which is my fiber connection.

my configuration is simple I’m not using loadbalance on RB450G

/export file=anynameyouwish ( minus router serial number and any public WANIP information )

@anav Thank you for your response really need to fix this issue with the help of this forum, I’m new in this community and have no experience in Mikrotik OS,

as of now, I have no public ip configured in this attached config file
myconfig.txt.rsc (8.33 KB)

Thknk you shared the backup files instead of exporting the config (as anav mentioned).

@erlinden,

Thabkyou making me correct kindly check now I have attached config file and removed bkp. files

Hi @Anav,

Could please check the uploaded config file and see if there changes need to fix such issue.

Remove few line this is the actual config kindly suggest why its not shifting to my other wan untile I'm unluged the down wan cable or power off the down wan router ?

aug/08/2023 11:15:55 by RouterOS 6.44beta20

model = 450G

/interface bridge
add admin-mac=D4:CA:6D:69:D7:DC auto-mac=no fast-forward=no name=bridge1
/interface ethernet
set [ find default-name=ether1 ] name="Ethernet1 [WAN]" speed=100Mbps
set [ find default-name=ether2 ] name="LAN 2" speed=100Mbps
set [ find default-name=ether3 ] name="Lan 3" speed=100Mbps
set [ find default-name=ether4 ] name="Lan 4" speed=100Mbps
set [ find default-name=ether5 ] name="Lan 5" speed=100Mbps
/ip hotspot profile
set [ find default=yes ] login-by=mac,http-chap mac-auth-password=shashu@10
add dns-name=GO-Wireless.com hotspot-address=172.25.38.1 login-by=
mac,http-chap mac-auth-00000000 name=Go-Wireless
/ip hotspot user profile
add name="UL 5Mbps" rate-limit=5120k/5120k transparent-proxy=yes
add name="UL 180Mbps" rate-limit=184320k/184320k shared-users=3
transparent-proxy=yes
add name="UL 10Mbps" rate-limit=10240k/10240k transparent-proxy=yes
add name="UL 20Mbps" rate-limit=20480k/20480k transparent-proxy=yes
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=aes-128-cbc
/ip pool
add name="pppoe pool" ranges=172.25.37.50-172.25.37.254
add name="hotspot pool" ranges=172.25.38.50-172.25.38.254
/ip dhcp-server
add add-arp=yes address-pool="hotspot pool" authoritative=after-2sec-delay
disabled=no interface=bridge1 lease-time=1h name=dhcp1
/ip hotspot
add address-pool="hotspot pool" disabled=no interface=bridge1 name=
GO-Wireless profile=Go-Wireless
/ip hotspot user profile
add address-pool="hotspot pool" name="UL 60Mbps" rate-limit=61440k/61440k
transparent-proxy=yes
/ppp profile
set *0 dns-server=172.25.38.1,8.8.8.8 local-address=172.25.38.1
remote-address="pppoe pool"
add dns-server=172.25.38.1,8.8.8.8 incoming-filter="" local-address=
172.25.38.1 name="UL 1MB" rate-limit=1024k/1024k remote-address=
"pppoe pool"
add dns-server=172.25.38.1,8.8.8.8 local-address=172.25.38.1 name="UL 2MB"
rate-limit=1024k/2048k remote-address="pppoe pool"
add dns-server=172.25.38.1,8.8.8.8 local-address=172.25.38.1 name="UL 3MB"
rate-limit=1024k/3072k remote-address="pppoe pool"
add dns-server=172.25.38.1,8.8.8.8 local-address=172.25.38.1 name="UL 512KB"
rate-limit=512k/512k remote-address="pppoe pool"
/snmp community
set [ find default=yes ] addresses=0.0.0.0/0
/tool user-manager customer
set admin access=
own-routers,own-users,own-profiles,own-limits,config-payment-gw
/interface bridge port
add bridge=bridge1 interface="LAN 2"
add bridge=bridge1 interface="Lan 3"
add bridge=bridge1 interface="Lan 4"
add bridge=bridge1 interface="Lan 5"
/interface bridge settings
set use-ip-firewall=yes
/ip firewall connection tracking
set enabled=yes
/ipv6 settings
set max-neighbor-entries=1024
/interface pppoe-server server
add authentication=pap disabled=no interface=bridge1 keepalive-timeout=30
max-mru=1480 max-mtu=1480 mrru=1600 one-session-per-host=yes
service-name=pppoe
/ip address
add address=172.25.38.1/24 interface=bridge1 network=172.25.38.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface="Ethernet1 [WAN]"
/ip dhcp-server alert
add alert-timeout=5m disabled=no interface="LAN 2" on-alert=
":log warning "new dhcp alert"" valid-server=D4:CA:6D:69:D7:DC
/ip dhcp-server network
add address=172.25.38.0/24 comment="hotspot network" gateway=172.25.38.1
/ip dns
set allow-remote-requests=yes cache-size=4000KiB servers=8.8.8.8,1.1.1.1
/ip dns static
add address=127.0.0.1 name=pubads.g.doubleclick.net
add address=127.0.0.1 name=static.doubleclick.net
add address=127.0.0.1 name=devads.skypeassets.net
add address=127.0.0.1 name=devapps.skype.net
add address=127.0.0.1 name=qawww.skypeassets.net
add address=127.0.0.1 name=qaapi.skype.net
add address=127.0.0.1 name=preads.skypeassets.net
add address=127.0.0.1 name=preapps.skype.net
add address=127.0.0.1 name=static.skypeassets.com
add address=127.0.0.1 name=serving.plexop.net
add address=127.0.0.1 name=preg.bforex.com
add address=127.0.0.1 name=ads1.msads.net
add address=127.0.0.1 name=flex.msn.com
add address=127.0.0.1 name=apps.skype.com
add address=127.0.0.1 name=api.skype.com
add address=127.0.0.1 name=cdn.mbstatic.org
add address=127.0.0.1 name=marathonbet.com
add address=127.0.0.1 name=megogo.net
add address=127.0.0.1 name=adselector.ru
add address=127.0.0.1 name=pluso.ru
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=
"place hotspot rules here" disabled=yes
/ip firewall mangle
add action=mark-connection chain=input connection-mark=no-mark in-interface=
"Ethernet1 [WAN]" new-connection-mark=lanin-conn passthrough=yes
add action=mark-routing chain=output connection-mark=lanin-conn
new-routing-mark=lanin-route passthrough=no
add action=accept chain=prerouting dst-address=192.168.5.0/24 src-address=
172.25.37.0/24
add action=accept chain=prerouting dst-address=172.25.37.0/24
add action=mark-routing chain=prerouting dst-address-type=!local
in-interface=bridge1 new-routing-mark=lanin-route passthrough=no
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat src-address=172.25.37.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network"
src-address=172.25.38.0/24
add action=masquerade chain=srcnat out-interface="Ethernet1 [WAN]"
add action=accept chain=pre-hotspot dst-address-type=!local hotspot=auth
/ip hotspot user

/ip ipsec policy
set 0 dst-address=0.0.0.0/0 src-address=0.0.0.0/0
/ip proxy
set cache-path=web-proxy1
/ip route
add check-gateway=ping distance=1 gateway=192.168.0.1 routing-mark=
lanin-route
add distance=1 gateway=192.168.0.1
/ppp secret

set time-zone-name=Asia/Kolkata
/system clock manual
set time-zone=+05:30
/system lcd
set contrast=0 enabled=no port=parallel type=24x4
/system lcd page
set time disabled=yes display-time=5s
set resources disabled=yes display-time=5s
set uptime disabled=yes display-time=5s
set packets disabled=yes display-time=5s
set bits disabled=yes display-time=5s
set version disabled=yes display-time=5s
set identity disabled=yes display-time=5s
set bridge1 disabled=yes display-time=5s
set "Ethernet1 [WAN]" disabled=yes display-time=5s
set "LAN 2" disabled=yes display-time=5s
set "Lan 3" disabled=yes display-time=5s
set "Lan 4" disabled=yes display-time=5s
set "Lan 5" disabled=yes display-time=5s
/system ntp client
set enabled=yes primary-ntp=128.199.84.169
/system routerboard settings
set silent-boot=no
/tool user-manager database
set db-path=user-manager1

I would need to see your ip routes ??

Just type them in as they show on your router under iP routes the WAN ones,
but change any public IP numbers to something else

Attached Ip Routes Screenshot

0.1 is my TPlink ER605 Loadbance Router
1.1 is an ISP router which connected to the WAN 1 TP-Link Router
8.1 Is my 4G SIM DataCard which is connected to ER605 USB Port and TL TP-Link ER605 everything works fine only when the client connects via hotspot with RB450G having an issue until I’m not switching Off or unplugging my WAN 1 ISP cable or Router.
Ip Route .jpg

Definitely need a diagram dont understand your network to rb 450B to tplink scenario at all…

Lucky you! They are like hens teeth ATM.

Looks like a few redundant default routes in there. I see you have some extra routing tables, but for example, in your main table the two lines here

2 A S dst-address=0.0.0.0/0 gateway=203.xxx.xxx.xxx gateway-status=203.xxx.xxx.xxx reachable via pppoe-out1 check-gateway=ping distance=4 scope=30 target-scope=10
3 DS dst-address=0.0.0.0/0 gateway=203.xxx.xxx.xxx gateway-status=203.xxx.xxx.xxx reachable via pppoe-out1 distance=4 scope=30 target-scope=10

are the same. One is dynamic from PPPoE and the other looks to be one you made with a check ping. It won’t necessarily break it, but it makes for a tough read.

Hi @emotivci,

Thankyou for your reply but I’m not currently using PPPOE only hotspot in use.

Kindly find the attached network diagram for your understanding hope it will clear things up here.

TP-link is used for load balance only the rest of the users are connected via RB450G with hotspot authentication.
NETDiagram.jpg

Based on the diagram, how is it you have two ISPs coming in on one cable to the RG450?
You would need them to be coming over two VLANS, or use two ports on TPLINK and two ports on RB450 for WAN.

Hi @Anav,

TP Link is the loadbalance device its loadbalance my 2 WAN and via lan my RB450G is connected, i have connected other devices with TP link like one spare wifi router but its works fine only the RB having issue.

So the RB450G only has one WAN, because its actually getting a private LANIP from the TPLINK which does all the load balance.
So you dont have multiwan on RBG, you have a single private static IP WAN.

The issue is not the MT its the TPLINK then??? The MT doesnt do any switching.

I though this too but when i connect Other normal wi-fi router and system directly to TPLink its works fine no issue only RB having issue i thought RB have some short of setting which i need to fine tune and all,