Skip to contentSkip to conversation

iproute2 and RTNETLINK error

LARTC TJ <stable> 2 participants 4 messages Nov 30, 2001 – Dec 2, 2001

lore
Share & tools
lore
#0 lore raw

Hello...

I'm getting the following error when I try to run and of the ip rule commands:

root@minkdev:/etc/iproute2# ip rule ls
RTNETLINK answers: Invalid argument
Dump terminated

Does that mean that there is a problem with RTNETLINK or iproute2? I've recompiled my kernel to be sure that NETLINK and RTNETLING are both there.

I'm running Slackware 8.0 with kernel version 2.2.19 I believe and I just downloaded iproute2-current.tar.gz yesterday.

any suggestions or pointers to any documentation will be helpfull or if you can point me to a previous posting to this list in archives. Thanks alot

TJ Cuddy <stable>

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#1 lore raw
Quoted 10 lines · TJ

Hello...

I'm getting the following error when I try to run and of the ip rule commands:

root@minkdev:/etc/iproute2# ip rule ls
RTNETLINK answers: Invalid argument
Dump terminated

Does that mean that there is a problem with RTNETLINK or iproute2? I've recompiled my kernel to be sure that NETLINK and RTNETLING are both there.

Hmm. Can you do a strace?

And check this: CONFIG_IP_ADVANCED_ROUTER=y

Regards,

bert

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#2 lore raw
In reply to TJ <stable>

----- Original Message -----
From: "bert hubert" <[email protected]>
To: "TJ <stable>" <[email protected]>
Subject: Re: [LARTC] iproute2 and RTNETLINK error

Quoted 11 lines · TJ
Quoted 10 lines

Hello...

I'm getting the following error when I try to run and of the ip rule commands:

root@minkdev:/etc/iproute2# ip rule ls
RTNETLINK answers: Invalid argument
Dump terminated

Does that mean that there is a problem with RTNETLINK or iproute2? I've recompiled my kernel to be sure that NETLINK and RTNETLING are both

there.

Quoted 2 lines

Hmm. Can you do a strace?

I can run strace. Though what variables to that command I don't know what you want me to run. I appologise I'm new to both slackware and iproute2.

Quoted 2 lines

And check this: CONFIG_IP_ADVANCED_ROUTER=y

In my kernel I do have CONFIG_IP_ADVANCED_ROUTER=y

Quoted 3 lines

Regards,

bert

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#3 lore raw
In reply to TJ <stable>
Quoted 8 lines · TJ
Quoted 2 lines
Quoted 2 lines

Does that mean that there is a problem with RTNETLINK or iproute2? I've recompiled my kernel to be sure that NETLINK and RTNETLING are both

there.

Quoted 2 lines

Hmm. Can you do a strace?

I can run strace. Though what variables to that command I don't know what you want me to run. I appologise I'm new to both slackware and iproute2.

Just prepend this to your ip command:

strace -o log

And send us the log!

Regards,

bert hubert

Signature · 8 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
Trilab                                 The Technology People
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/