Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Zealous" <zealous@bonbon.net>
To: lartc@vger.kernel.org
Subject: [LARTC] 2 gateway on linux
Date: Tue, 06 May 2003 10:18:46 +0000	[thread overview]
Message-ID: <marc-lartc-105221603102461@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

Hi friends,

I have linux box redhat 8.0. it has four port dlink card. I have 2 isps. now i want to configure 2 ips on this ethernet card.

example 
eth0 = 192.168.0.10/ 255.255.255.192  isp 1 (public ip)  gateway = 192.168.0.1 
eth1 = 172.16.0.10/ 255.255.255.240  isp 2 (public ip)    gateway = 172.16.0.1

now i m giving 

ip route add default via 192.168.0.1  then ....all traffic is going to isp1 link
but then from www.tracert.com i cant ping or trace my isp2 ip that is 172.16.0.10 

if i do  this

ip route add default via 172.16.0.1 then ...all traffic is going to isp2 link
but then from www.tracert.com i cant ping or trace my isp1 ip that is 192.168.0.10

so can any body tell me what should i do in this case. I want this both isps ip address to live on internet. i want to pass some traffic on isp1 link and some traffic on isp2 link.

what will the routing???  how do i configure 2 gateways so that both ip can be live on internet.

waiting for kind reply.
Thanks,
Joel n.Solanki

Systems Engineer
D2V ISP Pvt Ltd.
Vadodara.


[-- Attachment #2: Type: text/html, Size: 2808 bytes --]

             reply	other threads:[~2003-05-06 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06 10:18 Zealous [this message]
2003-05-06 14:06 ` [LARTC] 2 gateway on linux Martin A. Brown
2003-05-06 16:09 ` Kenneth Porter
2003-05-09 12:21 ` Martin A. Brown
2003-05-10  4:23 ` Zealous

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-105221603102461@msgid-missing \
    --to=zealous@bonbon.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox