Thanks for the quick reply.
Let me be more clear. All the four network interfaces are in the same
subnet with different IPs and the same default gateway.

Can it be configured in such a way that the traffic gets distributed
between the network interfaces if one of them is busy ?

Thanks
Regards,
Krishna



On Sat, Jun 7, 2014 at 12:49 PM, Mohan Sundaram <mohan....@gmail.com> wrote:

> On Sat, Jun 7, 2014 at 12:22 PM, km <srikrishnamo...@gmail.com> wrote:
> > one of my server has four network interfaces. But by default any outgoing
> > traffic is going through only one of the interface. How can I make use of
> > all the 4  network interfaces for outgoing traffic ?
>
> The network topology and intent must be clear. Assuming each of your
> network cards is part of a different subnet, traffic for each of those
> subnets will go to the appropriate interface. Normally all other
> traffic would go out through one interface card/subnet which has the
> gateway to the address space outside your subnets.
>
> Do you have gateways on all the subnets? If you do, then just
> configure multipath static default route via all the interfaces or
> gateway addresses
>
> For interface based:
> ip route add default scope global nexthop dev eth0 nexthop dev eth1 ...
>
> For gateway based:
> ip route add default scope global nexthop via <gw-ip1> nexthop via
> <gw-ip2> ...
>
> -- Mohan Sundaram
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
> ILUGC Mailing List Guidelines:
> http://ilugc.in/mailinglist-guidelines
>
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to