Set two default gateway?
Posted on 2003-03-30
I have 3 Linux boxes.Let me first define the specs:
1.pc A with kernel > 2.4, ext eth-->adsl connection,int eth --> 192.168.8.1
2.pc B with kernel > 2.4, ext eth-->adsl connection,int eth --> 192.168.8.2
3.pc C with kernel 2.0.x, eth--> 192.168.8.3, gw--> 192.168.8.1
I'm hosting a download service on pc C. Currently, any incoming packets from pc A are forwarded to pc C so that users can download via connection on pc A. I have another ppp connection on pc B. I want to configure the connection on pc B as a backup line to pc A. How do I make it in such a way that users can download from both connections on pc A and pc B? I've found out that users can only download from connection on pc B if I swith the default gateway of pc C to refer to pc B. Is it possible to have two default gateways on pc C, so that download from both connections could happen at the same time? Or are there any other ways to solve this? Please advice.