Having a debian server with multiple NICs (eth0 and eth1) acting as a gateway. How would I be able to configure these NICs, so they can route the traffic from one to another.
DSL-router(192.168.1.1) ----> Debian gateway ----> Network 1 (10.10.10.10 | |---> Network 2 (18.104.22.168
In the current situation the servers are connected all to the switch.. which then is connected to the uplink(Fiber).
Configuring debian as a gateway is mainly for back-up purposes. If the fiber fails.. I somehow should be able to connect one of the cables to (eth0 or eth1) to the switch and route the traffic there. All machines already connected to the switch have gateway
Anyone any idea how could I establish such thing?