From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Richardson, Robert" Date: Wed, 06 Mar 2002 00:52:37 +0000 Subject: RE: [LARTC] RTNETLINK answers: Invalid argument MIME-Version: 1 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C1C4A9.35A69030" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1C4A9.35A69030 Content-Type: text/plain 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/ ------_=_NextPart_001_01C1C4A9.35A69030 Content-Type: text/html Content-Transfer-Encoding: quoted-printable RE: [LARTC] RTNETLINK answers: Invalid argument

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=3Dyes
HOSTNAME=3Dserver.domainname.com
DOMAINNAME=3Dactivision.com
GATEWAY=3Dxxx.xx.xxx.xxx
GATEWAYDEV=3Deth0
CONFIG_IP_ROUTE_MULTIPATH=3Dyes
CONFIG_IP_MULTIPLE_TABLES=3Dyes
CONFIG_IP_ADVANCED_ROUTER=3Dyes


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    &nb= sp;     Versatile DNS Software & = Services
http://www.tk      &= nbsp;           &= nbsp;           the = dot in .tk
http://lartc.org     &nbs= p;     Linux Advanced Routing & Traffic Control = HOWTO
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc = HOWTO: http://lartc.org/

------_=_NextPart_001_01C1C4A9.35A69030-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/