I get the same error message also, but for a non-related reason, maybe.
I am trying to run RX/TX load balancing on a RedHat a 6.2 download server.
The version of iproute is iproute-2.2.4-2.
When I invoke the command "ip rule list", I get the error message:
RTNETLINK answers: Invalid argument
Dump terminated
My ifconfig output shows that everything is being processed by eth0.
I even downloaded iproute2-current.tar.gz and ran a make, it did not seem
to upgrade the /sbin/ip file. OR, I did not configure it correctly.
My /etc/rc.d/rc.local file reads:
ip rule add from xxx.xx.xxx.xxx table 30
ip rule add from xxx.xx.xxx.xxx table 31
ip rule add from xxx.xx.xxx.xxx table 32
ip route add xxx.xx.xxx.x/28 dev eth0 table 30
ip route add xxx.xx.xxx.x/28 dev eth1 table 31
ip route add xxx.xx.xxx.x/28 dev eth2 table 32
ip route add xxx.xx.xxx.x/28 equalize nexthop dev eth0 nexthop dev eth1
nexthop dev eth2
ip route add default via xxx.xx.xxx.x dev eth0 table 30
ip route add default via xxx.xx.xxx.x dev eth1 table 31
ip route add default via xxx.xx.xxx.x dev eth2 table 32
ip route add default equalize nexthop via xxx.xx.xxx.x dev eth0 nexthop via
xxx.xx.xxx.x dev eth1 nexthop via xxx.xx.xxx.x dev eth2
My /etc/sysconfig/network file has the following:
NETWORKING=yes
HOSTNAME=server.domainname.com
DOMAINNAME=activision.com
GATEWAY=xxx.xx.xxx.xxx
GATEWAYDEV=eth0
CONFIG_IP_ROUTE_MULTIPATH=yes
CONFIG_IP_MULTIPLE_TABLES=yes
CONFIG_IP_ADVANCED_ROUTER=yes
Can the load balancing I am attempting work on RedHat Linux 6.2?
Thanks,
Robert.
+++++++++++++++++++++++++++++++++++++++
-----Original Message-----
From: bert hubert [mailto:ahu@ds9a.nl]
Sent: Tuesday, March 05, 2002 1:53 PM
To: David E. Parks
Cc: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] RTNETLINK answers: Invalid argument
On Tue, Mar 05, 2002 at 04:38:32PM -0500, David E. Parks
wrote:> i''m fairly new to the list and just encountered this problem..
>
> i have 2 machines, one w/ kernel 2.4.2-2 and the other w/ 2.4.12. the
> kernel config files are the same on both machines w/ all the same stuff
> compiled in. however, the 2.4.12 machine can''t run tc, ip, etc
(get
> RTNETLINK answers: Invalid argument) and the 2.4.2-2 machine has no
> problems.
Are you really sure they are the same? Did you run ''make
oldconfig'' on
2.4.12? Do your modules work?
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/