when i plug out eth2 cable internet is not available.
Can you drop me to a specific configuration like"How to configure Multi Wan ?"
That i can cross check.
Need help!
And also 1 thing i have installed plain centos first from the same iso and then installed nethserver from repo.
The reason i did is full Encrytion of disk.
It should be different, that’s a pre-requisite to reach the ip through different links.
We need to add a check to the interface to forbid using the same ip in all uplinks.
Now my check pings are gateway of isp
Both are diffrent now .
But still there is no failover happening.
Please can you guide me to a tutorial of multi wan or links also can do !
i turned ips to disbaled mode.
The configuration is correct, em1 should have no gateway.
Now, confirm that both links are working:
# ip ro sh ta balance
default
nexthop via 172.16.16.x dev eth2 weight 5
nexthop via 192.168.1.1 dev eth1 weight 1
The above lines show that the default gateway is “double” and traffic is balanced.
Now:
tail -f /var/log/messages
and switch off one of the internet routers/modems.
You should see something like:
Event: wan-uplink-update down <provider> <checkip> eth2
Then
ip ro sh ta balance
should show only one line through the working wan connection. If you later switch on the router, lsm will bring the link up again in about 100 seconds (to avoid frequent up/down in case of intermittent problems).
Final note: there’s no need to define the two network with the local wan ip, but it will not prevent functioning:
115.115.226.162=network
Description=TATA ISP
Mask=255.255.255.248
182.74.123.234=network
Description=Airtel ISP
Mask=255.255.255.248