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
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
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/
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
"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/
-----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 1023This command did not give an error. Also, Nikolai, eth1 is a valid interface on the device I am using. ..Ram