Problem implementing split access
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
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi,
----- Original Message -----
From: "Felipe Herrera" <[email protected]>
To: "Andy Hawthorn" <[email protected]>
Sent: Tuesday, January 20, 2004 9:13 AM
Subject: RE: [LARTC] Problem implementing split access
Quoted 5 lines
Hello Andy,
Quoted 3 lines
=== Original Message From Andy Hawthorn <[email protected]> ==> >Hello,
I am attempting to implement load balancing on a firewall to allow me to
use
Quoted 1 line
Quoted 1 line
two ISPs. I have followed the instructions in section 4.2 of the LARTC
HOWTO
Quoted 3 lines
Quoted 3 lines
but have got stuck on the split access section
I have the options
CONFIG_IP_ADVANCED_ROUTERand
CONFIG_IP_MULTIPLE_TABLES
Quoted 1 line
Quoted 1 line
in my kernel (2.4.24) and have added routes to the
/etc/iproute2/rt_tables
Quoted 8 lines
Quoted 8 lines
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
Quoted 8 lines
Quoted 3 lines
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
/
Quoted 8 lines
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?
Quoted 3 lines
Quoted 3 lines
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
Quoted 12 lines
Quoted 12 lines
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
Quoted 7 lines
Quoted 3 lines
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/Felipe Herrera Martínez
Andy
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/