Re: Problem implementing split access

Linux Advanced Routing and Traffic Control

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

 



Hi,

----- Original Message ----- 
From: "Felipe Herrera" <2084964@xxxxxxxxxxxxx>
To: "Andy Hawthorn" <lartc@xxxxxxxxxxx>
Sent: Tuesday, January 20, 2004 9:13 AM
Subject: RE:  Problem implementing split access


> Hello Andy,
>
> >===== Original Message From Andy Hawthorn <lartc@xxxxxxxxxxx> =====
> >Hello,
> >
> >I am attempting to implement load balancing on a firewall to allow me to
use
> >two ISPs. I have followed the instructions in section 4.2 of the LARTC
HOWTO
> >but have got stuck on the split access section
> >
> >I have the options CONFIG_IP_ADVANCED_ROUTER and
CONFIG_IP_MULTIPLE_TABLES
> >in my kernel (2.4.24) and have added routes to the
/etc/iproute2/rt_tables
> >file but when I try a command in the form of:
> >
> >    ip route add $P1_NET dev $IF1 src $IP1 table T1
> >
> >such as:
> >
> >    ip route add 192.168.10.0/24 dev eth0 src 192.168.10.250 table myisp
> >
> >I get the error:
> >
> >    RTNETLINK answers: Invalid argument
>
>
> probe with:
>
>     ip route add 192.168.10.0/24 dev eth0 src 192.168.10.250 proto static
/
>
>     table myisp
>
>
> Good Luck;
>
>
>


Thanks for ths tip, but this still comes up with the same "RTNETLINK
answers: Invalid argument" eror that I got before. What should the proto
argument actualy do?


> >
> >This sounds like I have missed something that  I need in the kernel but
> >everything that was listed in the HOWTO has been included in my kernel.
If I
> >try the command without the src argument such as:
> >
> >    ip route add 192.168.10.0/24 dev eth0 table myisp
> >
> >.then I get no errors which would seem to sugest that the src argument is
> >the problem here.
> >
> >Any insight someone might have would be most apreciated!
> >
> >Thanks,
> >Andy
> >
> >_______________________________________________
> >LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> >http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
> Felipe Herrera Martínez
>

Andy

_______________________________________________
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