Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] tc errors
@ 2001-06-28 18:02 Nayak, Ramakrishna
  2001-06-28 19:04 ` Wingtung.Leung
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Nayak, Ramakrishna @ 2001-06-28 18:02 UTC (permalink / raw)
  To: lartc

Hello,

I have built iproute2-2.2.4-now-ss000305.tar and using it on kernel
2.2.14-5.0.

When I execute:

tc qdisc add dev eth1 root handle 1: prio bands 3 priomap 0 1 2

I get the error message:

RTNETLINK answers: No such file or directory.

What causes this error? Am I missing anything in the kernel?

Somebody please HELP!!!

..Ram

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] tc errors
  2001-06-28 18:02 [LARTC] tc errors Nayak, Ramakrishna
@ 2001-06-28 19:04 ` Wingtung.Leung
  2001-06-28 19:24 ` Nayak, Ramakrishna
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Wingtung.Leung @ 2001-06-28 19:04 UTC (permalink / raw)
  To: lartc

On Thu, 28 Jun 2001, Nayak, Ramakrishna wrote:

> tc qdisc add dev eth1 root handle 1: prio bands 3 priomap 0 1 2
>
> I get the error message:
>
> RTNETLINK answers: No such file or directory.
>
> What causes this error? Am I missing anything in the kernel?

Probably. Please check wether you have enabled all QoS parameters in the
current kernel.

(This question comes up far to often, and I don't see it immediatly in the
HOWTO. Anyone to point me to it or fix it?)


-- 
GnuPG public key: http://www.keyserver.net
fingerprint = A3C4 DE50 712D 4FA8 C564  4D96 5E06 C9CC ECFA 19C5



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [LARTC] tc errors
  2001-06-28 18:02 [LARTC] tc errors Nayak, Ramakrishna
  2001-06-28 19:04 ` Wingtung.Leung
@ 2001-06-28 19:24 ` Nayak, Ramakrishna
  2001-06-28 19:53 ` Wingtung.Leung
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Nayak, Ramakrishna @ 2001-06-28 19:24 UTC (permalink / raw)
  To: lartc

I have enabled all the QoS features (except Special RSVP classifier for
IPv6)
Moreover, I had read in the archives that the advanced router options need
to be enabled. I have also enabled all of them. 

Any suggestions?

..Ram

-----Original Message-----
From: Wingtung.Leung [mailto:s965817@uia.ua.ac.be]
Sent: Thursday, June 28, 2001 3:05 PM
To: Linux Advanced Router & Traffic Control
Subject: Re: [LARTC] tc errors


On Thu, 28 Jun 2001, Nayak, Ramakrishna wrote:

> tc qdisc add dev eth1 root handle 1: prio bands 3 priomap 0 1 2
>
> I get the error message:
>
> RTNETLINK answers: No such file or directory.
>
> What causes this error? Am I missing anything in the kernel?

Probably. Please check wether you have enabled all QoS parameters in the
current kernel.

(This question comes up far to often, and I don't see it immediatly in the
HOWTO. Anyone to point me to it or fix it?)


-- 
GnuPG public key: http://www.keyserver.net
fingerprint = A3C4 DE50 712D 4FA8 C564  4D96 5E06 C9CC ECFA 19C5



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://ds9a.nl/2.4Routing/

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [LARTC] tc errors
  2001-06-28 18:02 [LARTC] tc errors Nayak, Ramakrishna
  2001-06-28 19:04 ` Wingtung.Leung
  2001-06-28 19:24 ` Nayak, Ramakrishna
@ 2001-06-28 19:53 ` Wingtung.Leung
  2001-06-28 20:02 ` Nikolai Vladychevski
  2001-06-28 20:05 ` Nayak, Ramakrishna
  4 siblings, 0 replies; 6+ messages in thread
From: Wingtung.Leung @ 2001-06-28 19:53 UTC (permalink / raw)
  To: lartc

On Thu, 28 Jun 2001, Nayak, Ramakrishna wrote:

> I have enabled all the QoS features (except Special RSVP classifier for
> IPv6)
> Moreover, I had read in the archives that the advanced router options need
> to be enabled. I have also enabled all of them.

(Please type your text beneath the quote, it makes messages more
readable.)

Your command works fine here, I only had the change the eth1 parameter to
eth0. What kernel version are you using? Can you cut and paste the "QoS
and queueing" section from the kernel config file?

Can you use other tc commands for creating a simple root class, like:

tc qdisc add dev eth0 root handle 1: cbq bandwidth 100Mbit allot 1514 \
avpkt 1023


-- 
GnuPG public key: http://www.keyserver.net
fingerprint = A3C4 DE50 712D 4FA8 C564  4D96 5E06 C9CC ECFA 19C5



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] tc errors
  2001-06-28 18:02 [LARTC] tc errors Nayak, Ramakrishna
                   ` (2 preceding siblings ...)
  2001-06-28 19:53 ` Wingtung.Leung
@ 2001-06-28 20:02 ` Nikolai Vladychevski
  2001-06-28 20:05 ` Nayak, Ramakrishna
  4 siblings, 0 replies; 6+ messages in thread
From: Nikolai Vladychevski @ 2001-06-28 20:02 UTC (permalink / raw)
  To: lartc

"Nayak, Ramakrishna" wrote:
> 
> I have enabled all the QoS features (except Special RSVP classifier for
> IPv6)
> Moreover, I had read in the archives that the advanced router options need
> to be enabled. I have also enabled all of them.
> 
> Any suggestions?

are you sure eth1 is the correct interface?

Nikolai


> 
> ..Ram
> 
> -----Original Message-----
> From: Wingtung.Leung [mailto:s965817@uia.ua.ac.be]
> Sent: Thursday, June 28, 2001 3:05 PM
> To: Linux Advanced Router & Traffic Control
> Subject: Re: [LARTC] tc errors
> 
> On Thu, 28 Jun 2001, Nayak, Ramakrishna wrote:
> 
> > tc qdisc add dev eth1 root handle 1: prio bands 3 priomap 0 1 2
> >
> > I get the error message:
> >
> > RTNETLINK answers: No such file or directory.
> >
> > What causes this error? Am I missing anything in the kernel?
> 
> Probably. Please check wether you have enabled all QoS parameters in the
> current kernel.
> 
> (This question comes up far to often, and I don't see it immediatly in the
> HOWTO. Anyone to point me to it or fix it?)
> 
> --
> GnuPG public key: http://www.keyserver.net
> fingerprint = A3C4 DE50 712D 4FA8 C564  4D96 5E06 C9CC ECFA 19C5
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
> http://ds9a.nl/2.4Routing/
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [LARTC] tc errors
  2001-06-28 18:02 [LARTC] tc errors Nayak, Ramakrishna
                   ` (3 preceding siblings ...)
  2001-06-28 20:02 ` Nikolai Vladychevski
@ 2001-06-28 20:05 ` Nayak, Ramakrishna
  4 siblings, 0 replies; 6+ messages in thread
From: Nayak, Ramakrishna @ 2001-06-28 20:05 UTC (permalink / raw)
  To: lartc



-----Original Message-----
From: Wingtung.Leung [mailto:s965817@uia.ua.ac.be]
Sent: Thursday, June 28, 2001 3:53 PM
To: Linux Advanced Router & Traffic Control
Subject: RE: [LARTC] tc errors


> I have enabled all the QoS features (except Special RSVP classifier for
> IPv6)
> Moreover, I had read in the archives that the advanced router options need
> to be enabled. I have also enabled all of them.

> (Please type your text beneath the quote, it makes messages more
> readable.)

> Your command works fine here, I only had the change the eth1 parameter to
> eth0. What kernel version are you using? Can you cut and paste the "QoS
> and queueing" section from the kernel config file?


	The config file has the following QoS and Queuing definitions:

		#
		# QoS and/or fair queueing
		#
		CONFIG_NET_SCHED=y
		CONFIG_NETLINK=y
		CONFIG_RTNETLINK=y
		CONFIG_NET_SCH_CBQ=y
		CONFIG_NET_SCH_CSZ=y
		CONFIG_NET_SCH_PRIO=y
		CONFIG_NET_SCH_RED=y
		CONFIG_NET_SCH_SFQ=y
		CONFIG_NET_SCH_TEQL=y
		CONFIG_NET_SCH_TBF=y
		CONFIG_NET_QOS=y
		CONFIG_NET_ESTIMATOR=y
		CONFIG_NET_CLS=y
		CONFIG_NET_CLS_ROUTE4=y
		CONFIG_NET_CLS_ROUTE=y
		CONFIG_NET_CLS_FW=y
		CONFIG_NET_CLS_U32=y
		CONFIG_NET_CLS_RSVP=y
		# CONFIG_NET_CLS_RSVP6 is not set
		CONFIG_NET_CLS_POLICE=y



> Can you use other tc commands for creating a simple root class, like:

>tc qdisc add dev eth0 root handle 1: cbq bandwidth 100Mbit allot 1514 \
> avpkt 1023

	This command did not give an error.

Also, Nikolai, eth1 is a valid interface on the device I am using.

..Ram


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-06-28 20:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-28 18:02 [LARTC] tc errors Nayak, Ramakrishna
2001-06-28 19:04 ` Wingtung.Leung
2001-06-28 19:24 ` Nayak, Ramakrishna
2001-06-28 19:53 ` Wingtung.Leung
2001-06-28 20:02 ` Nikolai Vladychevski
2001-06-28 20:05 ` Nayak, Ramakrishna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox