Results 1 to 3 of 3

Thread: How to configure a Linux Router to consist two default gw ?

  1. #1

    How to configure a Linux Router to consist two default gw ?


    I have a question hope jim or and visitor here can guide me to the solution !
    the question is:
    i have two adsl lease line connected to two router and then connect to a subnet.
    lease line1 lease line2
    __l__ __l__
    l l l l
    l_LR1_l l_LR2_l
    l l
    __l___________________l____192.168.0.0 network

    if i connect my network as shown at diagram above,
    every client pc inside network can configure there default gateway to LR1 or LR2 (nic) ip address depends on which lease line they want to use.right? (each linux router consist 2 ethernet card)
    __________________________________________________ __
    and now,

    lease line1 lease line2
    l l
    l l
    l____ ____l
    l l
    l LR l
    ___l____ network

    if i configure my network as shown at above, can i choose some's subnet use lease line1 and some subnet use lease line2 without change the client pc default gateway? and so that i can save a linux router. (linux router here consist 3 ethernet card).

    let assume, i have seubnet and now i want subnet use lease line 1 and use lease line 2. all network stated here are connectted to a D-Link (DES 1024R) 10/100 Fast/Ethernet switch. how can i do that or which external program can perform this function?

    i'm using Redhat 7.3 (valhalla).



  2. #2

    Re:How to configure a Linux Router to consist two default gw ?

    Yes it is possible to route by source address. There isn't much documentation out there about these features of the linux kernel and what there is could be improved.

    I read some of this howto a couple of months ago.

    Take a look at sections 3 & 4. It doesn't really go into a lot of depth and there are not many examples, but you can get a idea of how it works.

    Jim H

  3. #3

    Re:How to configure a Linux Router to consist two default gw ?

    thanks JimH,

    finally, i got what i needed.

    thanks a lot.

Similar Threads

  1. Configure Router
    By prabahar in forum Linux Distros
    Replies: 1
    Last Post: 09-04-2014, 03:17 PM
  2. how to connect and configure router on linux system
    By pansarevaibhav in forum Linux - General Topics
    Replies: 1
    Last Post: 08-30-2005, 08:00 PM
  3. Linux router
    By GNEEOT in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 05-09-2005, 07:11 AM
  4. redhat default passwords for the default inbuilt users
    By kaushalsp in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 12-31-2004, 04:49 AM
  5. Linksys Router how to configure???
    By DMAN in forum Mandriva
    Replies: 4
    Last Post: 09-20-2002, 02:55 AM


Posting Permissions

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