Skip to contentSkip to conversation

compiling iproute

LARTC Lucas Aimaretto 3 participants 4 messages Apr 24, 2003

lore
Share & tools
lore
#0 lore raw

Hi there. My name is Lucas and I'm from Argentina. Firstly, forgive me for my english since it is not my native languaje. Now, I've been reading on how to compile iproute2 and found that I need to add the following to my kernel, which in my case it is 2.4.20, and it is also the one which this document I read talked about:

CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK=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
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
# CONFIG_ARPD is not set #
CONFIG_INET_ECN is not set

The thing is that I can't find the CONFIG_NETLINK or the CONFIG_RTNETLINK options anywhere along my kernel.

Do I need to add any patch to it?. In the case I need to doit, where can I get it from ?

Thank you
Best Regards

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

#1 lore raw
Quoted 31 lines · Lucas Aimaretto

Hi there. My name is Lucas and I'm from Argentina. Firstly, forgive me for my english since it is not my native languaje. Now, I've been reading on how to compile iproute2 and found that I need to add the following to my kernel, which in my case it is 2.4.20, and it is also the one which this document I read talked about:

CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
# CONFIG_NETLINK_DEV is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_DEBUG=y
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK=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
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
# CONFIG_ARPD is not set #
CONFIG_INET_ECN is not set

Quoted 5 lines

The thing is that I can't find the CONFIG_NETLINK or the CONFIG_RTNETLINK options anywhere along my kernel.

Do I need to add any patch to it?. In the case I need to doit, where can I get it from ?

These options are not available in kernel 2.4.20. I'm not sure what you need, but if you want to use, you have to enable the needed options onder "QoS and/or fair queueing".

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Lucas Aimaretto
Quoted 7 lines
Quoted 2 lines

Do I need to add any patch to it?. In the case I need to doit, where can I get it from ?

These options are not available in kernel 2.4.20. I'm not sure what you need, but if you want to use, you have to enable the needed options onder "QoS and/or fair queueing".

Stef

What I'm willing to do is to shape traffic over an interface. To do that, I believe I need the ip command and the tc command, both included in iproute2, am I right??

If so, I need to enable the NETLINK socket, provided by the kernel. But listen, I may be wrong with all this thinking ... please correct me.

Thank you

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

#3 lore raw
In reply to Lucas Aimaretto

Hi,
Plz install iproute2 package in your system.. if u have redhat then install the rpm it will work Thanks
Joel
----- Original Message -----
From: "Lucas Aimaretto" <[email protected]>
To: <[email protected]>
Sent: Thursday, April 24, 2003 9:13 PM
Subject: Re: [LARTC] compiling iproute

Quoted 16 lines
Quoted 7 lines
Quoted 2 lines

Do I need to add any patch to it?. In the case I need to doit, where can I get it from ?

These options are not available in kernel 2.4.20. I'm not sure what you need, but if you want to use, you have to enable the needed options onder "QoS and/or fair queueing".

Stef

What I'm willing to do is to shape traffic over an interface. To do that, I believe I need the ip command and the tc command, both included in iproute2, am I right??

If so, I need to enable the NETLINK socket, provided by the kernel. But listen, I may be wrong with all this thinking ... please correct me.

Quoted 6 lines

Thank you

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

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