Displaying 20 results from an estimated 2000 matches similar to: "How does tc communicate with the kernel?"
2001 Dec 13
14
tc: u32 match in nexthdr not working?
Hello,
it seems, that filtering on nexthdr (TCP/UDP) content, especially
src or dst port, is not working.
The following has no effect on 2.4.16 or older (even 2.2) kernels:
# tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match tcp
dst 3128 0xffff police rate 40kbit burst 10k drop flowid :1
Even if
# tc filter ls dev eth0 parent ffff:
filter protocol ip pref 50 u32
filter protocol
2001 Nov 11
2
delete tc entries
I''m a newbie to tc and after some experimenting I have the following
problem:
# tc qdisc show
qdisc sfq 8006: dev ipsec0 quantum 1514b perturb 15sec
I can''t get rid of this entry. Is there a way to clear all entries? I
tried all sorts of "tc qdisc del xxx" but nothing seems to work. It
says:
RTNETLINK answers: No such file or directory
What syntax do I need to
2001 Dec 13
3
How to MARK NATtted packets coming from external interface to an internal host ?
Hi,
I would like to control download bandwidth from the Internet for
clients inside a network. The gateway is a Linux box using
''iptables nat''.
I would like to use ''iptables mangle'' to mark the packets coming
from the Internet and going to specific clients and then use CBQ
to shape it:
+-----------+
Internal network | Linux
2001 Dec 06
3
Anti-CBQ Statements in Howto
I find the negative attitude toward CBQ to be distracting and
non-professional in the HOWTO. I''ve re-read it for the first time in
about a month and comments like "This can be configured in a variety of
ways, which I do not understand. Use HTB" do not encourage me about the
writer.
This is not a personal critique, as I can imagine this being said on a
personal website,
2001 Dec 07
1
dividing traffic equally towards 2 default gateways?
Hello all.
I am not 100% familiar with the Linux advanced routing capbalieties yet, so I thought , after reading source code, documentation and more that I might be better off asking the experts on this list. I am not using this ina production environment, but at home, as a test case. First of all, here is the network topology.
Internal LAN <--> Switch <--> [NAT/FIREWALL/INTERNAL LAN
2000 Oct 29
3
TCP traffic
Hi all,
Does anybody know a package to control the bandwidth using "TCP Congestion
Control" method?
Best Regards
Hoomaan Naimi
Afranet Network Administrator
2001 Nov 26
2
basic ip problem
Hi,
I am creating some routing policy and I am having a basic problem with ip.
I am starting with 2 hosts to test the configuration.
---------- ----------
| host A |------------| Host B |
---------- ----------
IP: 10.0.100.1 IP: 10.0.100.2
On hostA:
# ip address add 10.0.100.1/24 dev eth0 brd +
On hostB:
# ip address add 10.0.100.2/24 dev eth0 brd +
2000 Nov 02
1
tc: weight, defmap and split usage?
Some (non urgent) questions about "tc" parameters:
What is "weight" for? We''ve seen that leaving it out of our script causes
error/warnings like:
CQB: class 00010012 had bad quantum==0, repaired.
Which values should it have and why?
When should one use the "split" and "defmap" parameters? I guess they can
be used to specify the best effort
2001 Mar 24
2
Stealth Router
Hi,
in FreeBSD kernel is options that make router stealth, packet passed throw
router have no change in TTL value.
Is a posibility to make similar thing in Linux, I think that in traceroute
isn''t this hop, no asteris, no router, no change in TTL, nothing ...?
PSIkappa
psi@atlantis.sk
2001 Feb 02
2
TBF settings
I presently use TBF with this syntax:
tc qdisc add dev eth0 parent 1:100 tbf buffer=15000/8 LIMIT=30000 MTU=1500
parent class is a cbq with rate=128Kbit
when I want to add PEAK, I get always RTNETLINK error: Invalid argument. Maybe be I don''t understand this parameter. What I know about it, it''s that it can control short-term burst traffic, and it''s what I need to do.
2001 Feb 19
2
How can I create qdisc, class, and filter inside the kernel?
Hi,
I am writing a kernel module which works with netfilter.
If a certain condition matches,
I want to create a qdisc, a class and a filter inside
the kernel module.
How can I create qdisc, class, and filter inside the kernel?
Thanks,
Byung-Gon Chun
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
2000 Oct 10
3
TEQL: 2 Mbit eth1 + 2Mbit eth2 = 1Mbit teql0
Hi there,
I have two ethernet connections of 2Mbit/s each and I''m trying to add them
together to one 4Mbit/s connection but I cannot get more than approximate
1Mbit/s!
My setup:
I have a LAN (10.2.18.0/24), connected to a larger network (10.0.0.0/8) by
two WAN-connections with 2Mbit/s each. On each end I have a Linux router. I
first setup the routers to use TEQL with one of the
2013 Mar 01
1
NSD compressing RP content
Hello,
while investigating a report from Jan-Piet Mens (resulting in http://wiki.powerdns.com/trac/changeset/3109), we discovered that NSD (both 3.2.15 and 4.0.0b4) compresses labels in RP content. As far as I can see, this is not allowed by RFC3597 section 4 paragraph 1/2.
PowerDNS Recursor, like Unbound and BIND, now deals with this as 3597 section 4 paragraph 4 says we SHOULD. Nevertheless,
2005 Sep 21
5
test 1 2 3 4
Second test after big upgrade..
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
2001 Mar 18
1
Suggestion to the Advanced Routing HOWTO
I''d like to make a suggestion to the Advanced Routing HOWTO. I
have read parts of it some months ago and I had a hard time
following it and I think that I know the reason: the HOWTO
doesn''t give the background on the subjects it discusses.
This difficulty was particularly evident when I was reading
the part about Quality of Service/Bandwidth Shaping. I got the
impression
2000 Nov 03
1
invalid table ID
Greetings
The ip route how-to describes the following for setting up source routing
#echo 501 uras.out >> /etc/iproute2/rt_table
#ip rule add from 10.0.0.0/24 table uras.out
The first line complains of a missing directory, which is simple fixed
(create dir iproute2 in etc)
The second line then reports
Error: argument "uras.out" is wrong: invalid table ID
The op sys is RH 7. I
2001 Mar 15
1
transport multicast traffic through a gre tunnel.
Hi All,
As it is written in the "Linux 2.4 Advanced Routing HOWTO" GRE tunneling
has some benefits compare to IP-in-IP, on of it benefits is the ability to
transport multicast traffic through a GRE tunnel.
I used the mrouted daemon and I know that the daemon supports tunneling but
I don''t want to use its tunneling method.
Assuming I have gre0 as my tunneling device I did the
2001 Jul 14
1
pseudo-bridge
Hello,
I''m working on the french tanslation of the howto and i''m asking some
questions about the chapter pseudo-bridge / Implementing it
Here the list of that we need to do :
1.Assign an IP address to both interfaces, the ''left'' and the ''right''
one
Is it the address on the differents interfaces ? Or is it two different
address of the same
2000 Oct 16
3
QoS over ISDN
Hi all,
Has anyone experienced QoS over an ISDN connection? Have you found any
trouble setting this ? In fact, I hasn''t to exist any trouble but not in
my case. I have tried something and it seems doesn''t work every time.
Besides, I need more tests. But for the moment, any experience
information will be useful.
Thanks all in advance.
Esteve Camps
2001 Feb 10
1
iproute and 2.4.0 kernel.
You guys are my last resort...
When i do ip rule add/ls/del i get this message:
RTNETLINK answers: Invalid argument
I use 2.4.0 kernel with ip:adv. route, and pol. routing compiled in.