hello to all,
i'm trying to setup my tp-link to run mwan3, and i think i got it quite right, except some minor things for which i need help.
the router was already configured with 2 wan ports and 3 separate subnets, so i just installed mwan3 i hoped it'd work.
i can ping google if i specify the eth0.2 and pppoe-wan interfaces, but i can't ping if i specify wan or WAN2 interfaces - i get "bad addres" response.
on the router overview page i get both wans as working (on the mwan status). also both wans work independently for their own lan subnets (connecting to lan1 i can go to the net via wan1, and connecting to lan2 i can go out via wan2).
connection tracking is turned on in firewall. routing works. but i can't get the router to ping out if i don't specify the ifname , and i think that's the reason why mwan3 is not working.
please help with that.
wan1 is dsl 30/7mbit, wan2 is dsl 20/3mbit. i need load balancing to get ~50/10mbit.
thanks
i have OpenWrt 18.06.1 r7258.
mwan is the latest on the repository, i installed it yesterday.
ok, so since its not working, there should be a problem in the mwan cnfig. the network part should be ok like this, because everything else is working normally.
i edited the mwan via luci, but i don't see that changes in the mwan config file.
Another mistake I just noticed is that you use the same subnet in LAN and WAN2 (192.168.2.0/24). They must be different. Also make sure you removed the gateway from LAN.
it's a bit complicated.
the 2nd modem is connected to the same switch with the rest of the network, it's reachable on 192.168.2.10, and connected to wan2 port on the tp-link, routing it's own traffic onto lan2. but it's also reachable from any other place on the network. it's used for manual failover, if my main dsl dies, i just manually change the gateway ip on the computers and use the 2nd modem as gateway for the time while the 1st dsl is down.
i can do it for testing if it would make mwan work, but not sure i could leave it in a different subnet for a longer time, as i'm serving a bigger network consisting of 4 houses.
But the whole point of having the mwan3 with dual WANs is to provide automatic failover to your network in case one WAN goes down. So maybe you need to think again of the topology and allocate the addresses in a way that they don't collide, because you currently have 2 interfaces in the same subnet that are not bridged and this can only cause problems.
i did change subnet for test, gave the 2nd modem 192.168.3.10, and changed the setup on tp-link wan2 port to 192.168.3.10. unfortunately mwan3 didn't work, i still had 30mbit. i don't know what more to do with mwan, because it should have worked. i returned the network settings back to how they were before after testing.
my current network config has been working quite well for the last 5 years , i always had 2 dsl lines available at the same time. as said, it's 4 houses sharing the same network, with 2 dsl lines.
the only new thing is the tp-link router with openwrt (that replaced 3 other routers doing the same work, just independently - so this was of a great help in reducing the network mess). getting mwan to work would help me even more.
If you expect to get the aggregated speed of both lines in a download with one flow or speed test, it won't work. You need to test with a torrent that opens many connections or a download manager.
eh, i tried it. torrent with a lot of seeds, and speedtest with multi connection. it always capped at speed of my 1st dsl (32mbit max, torrent max 3.8MB/s).
also i noticed that after a while i would loose network connectivity (i could ping ip, but not website). ip services like p2p or rdc were working, but i couldn't load any webpage. the moment i stop the mwan service, it would come back to life.
i have just the balance rule in mwan, i deleted all others. still didn't help me.
would be nice if someone else joined the topic who have more experience in setting it up.
thanks
you have several times wanb on "balanced"... that probably makes some troubles.
please, try everything again with a more "simple" scheme and then keep adding your desired configurations step-by-step to see what it fails.
also, you should have DIFFERENT metric on each policies, if you use on "balanced" wan with metric 1, you should use metric 2 for wan2.
this was the default that came with mwan, i just deleted or changed parts where was wanb (in luci), replaced with WAN2. i don't know how to edit the config via telnet, i mean, i know how to use the vim editor, but i don't know what parts to edit.