It works according to scheme 1 or 2, when eth0 is enabled, the mobile connection does not work, NetworkManager shows that it is active, but it simply cannot be proping, let alone something larger, when you turn off eth0, the mobile connection immediately rises and works, but very I want to make option number 3 and make two connections work at the same time.

enter image description here

enter image description here

enter image description here

Server under CentOS 6.5

  • Look at packet marking with iptables and multiple routing tables. With default settings, multi-gateway configurations work disgustingly. - user194374
  • And how will the routing table help? The route from PPP to Eth will force the packets of mobile traffic to fly through the network interface, and I need to process them and make a call through the GSM gateway, I need to get two interfaces working simultaneously - BlackOverlord
  • There is no route from ppp to eth . There will be two tables. One binds to the ppp0 interface, the other to eth0 . The tables are independent, the definition of belonging to a table is based on the iptables labels that it puts on the packets, based on the recipient interface of the packet. After such manipulations, two network areas are actually created, the traffic between which cannot be walked and the server works correctly with several Internet connections. PS However, if you are sure that it will not help you - do not use it, nobody forces it. - user194374
  • Yes, I am not "sure that it will not help," but simply did not understand the principle, I thought the forwarder table would establish between interfaces due to not knowing the hardware, right now when you clarified about the two tables and the network areas became clear, thank you) - BlackOverlord
  • By the way, if the WAN is cut off, scheme 3 works, that is, in eth0 in the gateway section I put 0.0.0.0, everything works, there is no Internet through the cable, but there is still progress, but I don’t understand, traffic through eth0 has not gone away, but the work Both interfaces are adjusted, why? - BlackOverlord

0