From: <Alberto.Baragatti@nokia.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] RTNETLINK answers: Invalid argument
Date: Mon, 22 Apr 2002 07:58:17 +0000 [thread overview]
Message-ID: <marc-lartc-101946237800874@msgid-missing> (raw)
In-Reply-To: <marc-lartc-99294681530099@msgid-missing>
Hi All,
concerning the problem when running the "ip ru ls" command.
I faced with the same problem, and I solved it by making sure to include the following settings into the kernel configuration (2.4.18):
CONFIG_IP_ADVANCED_ROUTER=y <===
CONFIG_IP_MULTIPLE_TABLES=y <===
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_LARGE_TABLES=y
The new kernel is then able to perform policy routing in the correct way (iproute2-010824)
ciao
- Alberto
-----Original Message-----
From: ext Richardson, Robert [mailto:RRichardson@activision.com]
Sent: Mittwoch, 6. März 2002 1:53
To: 'bert hubert'; David E. Parks
Cc: lartc@mailman.ds9a.nl
Subject: 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=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/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-04-22 7:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-19 10:38 [LARTC] RTNETLINK answers: Invalid argument Michal Kolesar
2001-06-21 7:48 ` Michal Kolesar
2001-06-21 13:43 ` Wingtung.Leung
2001-06-21 13:44 ` Stef Coene
2001-06-21 13:44 ` Stef Coene
2002-03-05 21:38 ` David E. Parks
2002-03-05 21:53 ` bert hubert
2002-03-06 0:52 ` Richardson, Robert
2002-04-22 7:58 ` Alberto.Baragatti [this message]
2002-04-29 4:08 ` hanhbnetfilter
2002-04-29 8:08 ` Stef Coene
2003-06-20 7:06 ` [LARTC] RTNETLINK answers: invalid argument Trevor Warren
2003-06-20 18:17 ` Ana Carolina Alonso
2003-06-20 18:56 ` Stef Coene
2003-10-28 12:08 ` [LARTC] RTNETLINK answers: Invalid argument usign wondershaper Luciano Lima
2003-10-28 17:52 ` Stef Coene
2005-04-03 16:54 ` [LARTC] RTNETLINK answers: Invalid argument Nicolas Mailhot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-101946237800874@msgid-missing \
--to=alberto.baragatti@nokia.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox