Re: routing query

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 04, 2003 at 01:33:29PM -0400, Lawrence MacIntyre wrote:
> 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)?  

All machines are 125.125.125.0/24. They are either connected t eth0 r
eth1.
HTH,
-Payal

> 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.
> > 
> > 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.
> > 
> > I have,
> > route add default gw <ISDN router ip> dev eth1
> > route add default gw <RF router ip> dev eth0
> > 
> > 
> > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> > 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> > 125.0.0.0       *               255.0.0.0       U     0      0        0 eth1
> > 125.0.0.0       *               255.0.0.0       U     0      0        0 eth1
> > default         203.124.123.111 0.0.0.0         UG    0      0        0 eth0
> > default         125.125.125.3   0.0.0.0         UG    0      0        0 eth1
> > default         *               0.0.0.0         U     0      0        0 eth0
> > 
> > Can anyone comment whether I am right in my analysis?
> > 
> > My friend's comments are given below,
> > 
> > | 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).
> > 
> > With warm regards,
> > -Payal



-- 
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux