There are two internet connections,

  • A: static dedicated ip goes straight

  • B: static dedicated ip, goes through PPPoE, I want to use as a backup connection.

There is a dlink dir 615 router with dd-wrt, a linux machine with two network cards, and a bunch of machines that get internet via wifi.

How to make a system in software or hardware so that when one Internet is turned off, all users turn on another? Perhaps you can buy any piece of iron that knows how.

    2 answers 2

    bonding or a script that, for example, will ping the gateway of the main channel, in which case switch the channel.

    • that is, you need 3 network card on a machine with Linux and do everything on it? - rnd_d
    • one
      2 or more with linux, on win I'm afraid it will not work. In general, under bonding 615 with openwrt will work if there is a place on the flash drive and the channels are not too wide. - e_klimin
    • 30 mbps channel on one and 2 mbps on the other, thanks now I’ll see about bonding on a router - rnd_d

    An interesting topic, that is, as I understand it, only with linux you can configure two network cards in one bonding, in one network card a router will suit the example, and in the second connection directly. And in the case of packet drops through a router (one provider), the connection will be maintained by the second network card (the other provider)? If something is wrong, please correct.