Re: [LARTC] multiple gateway problem

Linux Advanced Routing and Traffic Control

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

 



How many ethernet adaptors do you have on linuxbox ?
Can you draw a squeme ?

Jorge ;)

----- Original Message -----
From: "Ross Simpson" <simpsora@xxxxxxx>
To: <lartc@xxxxxxxxxxxxxxx>
Sent: Monday, December 03, 2001 8:15 PM
Subject: [LARTC] multiple gateway problem


> Hello,
>
> I'm trying to implement a multiple gateway solution on my redat 2.2.16
box,
> and am running into troubles.
>
> I have IDSL service from two providers, and have both routers doing port
> forwarding of selected ports to my linux box.
> Currently, only requests coming from router #1 (the router specified as
> GATEWAY in /etc/sysconfig/network) are being fulfilled -- I assume that
> requests from router #2 are being sent to router #1 as a gateway, and
> therefore never getting to the client.
>
> I have installed iproute-2.2.4-14, and followed the instructions from the
> advanced routing howto:
>
> echo 199 lucent >> /etc/iproute2/rt_tables (router #1)
> echo 200 speed >> /etc/iproute2/rt_tables (router #2)
> ip rule add from 10.4.44.1 table lucent
> ip rule add from 10.4.44.2 table speed
>
> ip rule ls:
> 0:      from all lookup local
> 32764:  from 10.4.44.2 lookup speed
> 32765:  from 10.4.44.1 lookup lucent
> 32766:  from all lookup main
> 32767:  from all lookup 253
>
> ip route add default via 10.4.44.1 dev eth0 table speed
> ip route add default via 10.4.44.2 dev eth0 table lucent
> ip route flush cache
>
>
> I can access forwarded ports on the external ip of the 'lucent' router,
but
> forwarded ports on the 'speed' router are not answering.
> I've verified that port forwarding on the speed router works.
>
>
> Any ideas?  Am I missing a step here?
>
> thx
>
> Ross
>
>
> _______________________________________________
> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://ds9a.nl/2.4Routing/
>




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