From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence MacIntyre Date: Thu, 04 Sep 2003 17:33:29 +0000 Subject: Re: [LARTC] routing query MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-GUnTerjE//sKW2va21aM" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --=-GUnTerjE//sKW2va21aM Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Payal: What subnet are your users' machines on? Is there a third ethernet address on the linux machine where the user machines connect or are they connected to one of the two given ethernet interfaces (eth0 or eth1)? =20 On Thu, 2003-09-04 at 22:33, Payal Rathod wrote: > Hi, > I have a simple question. I asked a friend about it but he was also not > clear. So, I thought of mailing the list. >=20 > I have a linux box (RH 7.2) which will have 2 net cards. I have 2 types > of connections to that box. One RF at eth0 and 1 ISDN at eth1. > Now I told 10 people from the company to give eth1 as their default > gateway and the rest as eth0. Ok, so far? Now my understanding that with > the routing table below, all traffic coming to eth0 will be routed thru' > RF router and all traffic coming to eth1 will be routed through ISDN > router. Am I right? S, if ISDN fails only 10 people will suffer but the > rest can continue using RF line. Same case with RF line, if it fails the > 10 people can use ISDN without any glitch. This is no load balancing > network. Just a simple routing decision. >=20 > I have, > route add default gw dev eth1 > route add default gw dev eth0 >=20 >=20 > Destination Gateway Genmask Flags Metric Ref Use I= face > 127.0.0.0 * 255.0.0.0 U 0 0 0 l= o > 125.0.0.0 * 255.0.0.0 U 0 0 0 e= th1 > 125.0.0.0 * 255.0.0.0 U 0 0 0 e= th1 > default 203.124.123.111 0.0.0.0 UG 0 0 0 e= th0 > default 125.125.125.3 0.0.0.0 UG 0 0 0 e= th1 > default * 0.0.0.0 U 0 0 0 e= th0 >=20 > Can anyone comment whether I am right in my analysis? >=20 > My friend's comments are given below, >=20 > | I still say that should be necessary. I believe you need to echo 0 > | at some files found by /proc/sys/net/ipv4/conf/*/send_redirects. > | Otherwise devices won't route through your box, they'll be > | redirected straight to one of the routers (at random, as far as I > | know). >=20 > With warm regards, > -Payal --=-GUnTerjE//sKW2va21aM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA/V3dpCNjP8rawCW4RAlHRAKCH71nEzYkiIen5iRvghalqE+yWMQCeLj/B w3FSMMTwf0+0VXBfjkfNTho= =A9wg -----END PGP SIGNATURE----- --=-GUnTerjE//sKW2va21aM-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/