Marek Kierdelewicz wrote: >> Hello, >> > > Hello Bakshi > > >> I have two lan cards in my server which is used to share internet >> connection with the help of iptables. The config is as below >> > > Read the following paragraph of LARTC-howto: [1]. > > With your current iptables config it's enough to change default gateway > and you'll use another upstream link (for failover you can do it by > detecting gateway-down event with eg. apinger [2]). You can > do load-balancing with policy routing [1]. > > [1] http://lartc.org/howto/lartc.rpdb.htm > [2] http://apinger.jajcus.net/trac/ > > cheers, > Marek > > Hello Marek, My present setup does not require the load balancing. The server should simply provide two different internet connection. The connections are based on cable hence no modem, so the server needs to forward the connection to eth. Thanks for the lrtc link. -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html