From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zealous" Date: Tue, 06 May 2003 10:18:46 +0000 Subject: [LARTC] 2 gateway on linux MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0040_01C313E5.4D870A40" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0040_01C313E5.4D870A40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=20 eth0 =3D 192.168.0.10/ 255.255.255.192 isp 1 (public ip) gateway =3D = 192.168.0.1=20 eth1 =3D 172.16.0.10/ 255.255.255.240 isp 2 (public ip) gateway =3D = 172.16.0.1 now i m giving=20 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=20 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. ------=_NextPart_000_0040_01C313E5.4D870A40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi friends,
 
I have linux box redhat 8.0. it has = four port dlink=20 card. I have 2 isps. now i want to configure 2 ips on this ethernet=20 card.
 
example
eth0 =3D 192.168.0.10/ = 255.255.255.192  isp 1=20 (public ip)  gateway =3D 192.168.0.1
eth1 =3D 172.16.0.10/ = 255.255.255.240  isp 2=20 (public ip)    gateway =3D 172.16.0.1
 
now i m giving
 
ip route add default via = 192.168.0.1  then=20 ....all traffic is going to isp1 link
but then from www.tracert.com i cant ping or trace = my isp2=20 ip that is 172.16.0.10
 
if i do  this
 
ip route add default via 172.16.0.1 = then ...all=20 traffic is going to isp2 link
but then from www.tracert.com i cant ping or trace = my isp1=20 ip that is 192.168.0.10
 
so can any body tell me what should i = do in this=20 case. I want this both isps ip address to live on internet. i want to = pass some=20 traffic on isp1 link and some traffic on isp2 link.
 
what will the routing???  how do i = configure 2=20 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.
 
------=_NextPart_000_0040_01C313E5.4D870A40-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/