Re: Multihomed router problems

Linux Advanced Routing and Traffic Control

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

 



RaÃl Alexis Betancort Santana wrote:

Hi all, i'm new at LARTC, and after reading the docs I found no solution to my problem ...

On one side I have eth0 conected to the LAN, on the other side I have eth1 conected to a switch and to 3 DSL routers with 3 diferent providers, and also eth2 conected to a cisco 2600 conected to a LDMS line.

I have readed the larct docs about multihomed conections to internet, but I'm been unable to setup the routes with iproute2. I have setup a default multihop route, but if I receive a ssh conection throught one of the DSL lines it get not answered by the same line, it's answered throught the default route, How could I change this? I want to begin by answering the traffic by the line it is coming in.
Well. this should be done automatically otherwise it would break TCP/ip. I think you messed
up your config.
Mine setup with 2 ip's:
rasnet:/etc/blootbot# ip rule
0:      from all lookup local
32760:  from all to 213.226.172.0/24 lookup parabole
32761:  from all to 213.252.224.0/24 lookup parabole
32763:  from all to 213.226.161.0/24 lookup parabole
32764:  from all to 213.226.147.0/24 lookup parabole
32765:  from all to 213.226.146.0/24 lookup parabole
32766:  from all lookup main
32767:  from all lookup default
rasnet:/etc/blootbot# ip route
192.168.20.0/24 dev eth1  proto kernel  scope link  src 192.168.20.59
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.1
81.0.0.0/8 dev eth0  proto kernel  scope link  src 81.7.84.36
default via 81.7.84.1 dev eth0  src 81.7.84.36
rasnet:/etc/blootbot# ip route ls table parabole
default via 192.168.20.1 dev eth1



_______________________________________________
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