Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Setting up 2 network cards with 2 gateways

    I have 2 internet service providers and hence 2 public ip address. I have a server with 2 identical network cards. Its it possible to setup the server in such a way:


    I hope the server will be able to serve different request through different gateways such that the server is effectively more responsive. I tried this setup but the server does not work correctly. And only does so when i deactivated one of the cards.

    Can someone shed some light on this issue?

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    Normally you'd keep both network cards on different subnets - i.e. numbers that fall within the subnet mask are different.

    I doubt you'd be able to much to share incoming requests between the IP addresses as they're provided by different ISP's. The best you can do is to set one up as a default gateway, and the other as a gateway to any IP's hosted by the other ISP. Then set apache (or whatever services you're running) to field requests on the appropriate network card.
    Linux user #126863 - see

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts