Displaying 20 results from an estimated 500 matches similar to: "how to change classful netem loss probability?"
2006 Apr 27
1
Unsubscribe
> Send LARTC mailing list submissions to
> lartc@mailman.ds9a.nl
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> or, via email, send a message with subject or body ''help'' to
> lartc-request@mailman.ds9a.nl
>
> You can reach the person managing the list at
>
2006 Apr 16
9
how to do probabilistic packet loss in kernel?
Hi,
I am using iproute2 to setup fowarding, adding routes like "ip route add 192.168.1.3 via 192.168.1.2"
I was wondering where in the kernel I can insert probabilistic packet loss only for forwarded packets? So that for instance I can drop 5% of all forwarded packets?
I don''t need help with the actual code, just need help finding where to insert this code :)
Thanks!
George
2004 Aug 31
1
netem usage example
I''m trying to setup a netem delay with no luck (using iproute2-2.6.8,
compilation broke during arpd compile, so I use the
tc binary in the tc/ subdir, there''s also a q_netem.so there).
kernel is 2.6.8.1, compile with CPU cycle counter as time reference.
I was using sch_delay of 2.6.7 happily with something like:
tc qdisc add dev eth0 root 1: delay latency 1ms rate 35M
now I use:
2006 Jul 17
1
How to add multiple filters and netem rules on a single interface?
Hi!
We want to run TCP streams to several port numbers through one interface,
each with a different delay set by Netem.
E.g. TCP streams to port 80 could have 50ms delay, while TCP streams to port
81 could have 100 ms delay and so on.
We have tried to solve this by using a combination of tc filter and netem
rules, but we can''t get it quite right.
We are considering one class per port,
2007 Mar 30
1
Please Help: applying multiple different delays with netem
I''m trying to use tc and netem to delay packets from several different
machines as they exit via eth0. Assume two source IPs, 10.0.0.122 and
10.0.0.133. I''d like to delay packets from the first one by 200ms, and
packets from the second one by 300 ms. Any other traffic should be sent
out normally. Here''s what I tried:
# make three classes, 1:1, 1:2, and 1:3:
tc qdisc add
2005 May 24
3
four tc filter and netem questions
The following (occuring on debian/testing with kernel-image-2.6.8-2-386 version
2.6.8-13 and iproute version 20041019-3) confuses me:
# tc qdisc add dev eth0 root handle 1: prio
# tc filter add dev eth0 parent 1: proto ip pref 1 handle 1 fw classid 1:2
# tc filter ls dev eth0
filter parent 1: protocol ip pref 1 fw
filter parent 1: protocol ip pref 1 fw handle 0x1 classid 1:2
# tc filter del dev
2005 Mar 30
5
netem with prio hangs on duplicate
hi
i tried the example given on the examples page to
duplicate selected traffic like
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:3 handle 3: netem
duplicate 40%
tc filter add dev eth0 protocol ip parent 1:0 prio 3
u32 match ip dst 11.0.2.2 flowid 1:3
when i ping from 11.0.2.2 to this interface my machine
hangs. the same thing works for drop or delay.
i would
2005 Jan 27
2
netem bug?
Hi all,
I''m running some tests with netem and I noticed some strange behaviour
that looks like a bug: I''m pinging another machine and adding delay with
netem. When I tell netem to give me a 10ms delay, it works fine. The
problem is that when I ask for a 11ms delay, it gives me 20ms! It
happens for any value between 11ms an 20ms, and it repeats for values
over 20ms, now
2006 May 23
11
how to debug RTNETLINK invalid argument?
Hey,
I am getting an invalid argument trying to insert a qdisc:
[root@emu-5 iproute2]# tc qdisc add dev eth0 root xcp capacity 50Mbit
limit 500
RTNETLINK answers: Invalid argument
I''m not sure whats wrong here, because i can successfully insert this
qdisc on other computers of mine.
How can i debug this?
Thanks!
George
2006 Mar 08
2
ath(4) and 802.11g speed
So, with the updated HAL, I'm now able to negotiate an IP address via DHCP
over the WLAN. Huzzah!
But I've got two questions (now that I can use the card):
ath(4) doesn't contain a list of media nor mediaopt settings that can be
used. Some are detailed down in EXAMPLES, but there's no comprehensive
list. (As well, and this is minor, the speeds are explicitly listed for
802.11a
2006 Apr 11
10
created new q_disc, inserted module, tc tells me unknown qdisc
Hi,
I am trying to install a proprietary qdisc made for research, it is not publically released yet, however its been used several times so i know it works.
The files included are:
q_xcp.c:
static int xcp_parse_opt()
static int xcp_print_opt()
static int xcp_print_xstats()
struct qdisc_util xcp_util = { "NULL", "xcp" ..... };
sch_xcp.c:
static int
2008 Jul 13
3
Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7
Hi Sam,
do you know if there is anything done about cbb(4)? I have many
wireless adapters with ath(4), but only the one based on PCMCIA is
making problems on FreeBSD.
I cannot boot my notebook with the device inserted into the port, or it
will render the system unusable (100% load on cbb(4)).
And all I can see is the following:
Jul 12 14:58:39 link kernel: ath0: ath_chan_set: unable to reset
2005 Jul 12
0
Teql and NetEm can''t work together
Thanks in advance!
Summary: when I load netem and teql together, teql doesn''t work
correctly. (If I load teql only, everything is fine)
I loaded both netem and teql. Netem is associated with eth0, and teql is
associated with both eth0 and eth1. But traffic only goes out of eth1.
Attached are the commands that I used to configure teql and netem (on
machine 1), and commands to
2005 May 26
2
Leaky bucket in TC
Hi,
I am trying to control bandwidths of the connections by using TC with
HTB. But I want to implement Leaky Bucket on this structure so as to
have a straight flow.
Due to being new in this area, could anyone help me how I could do this?
Does TC support leaky bucket?
Best regards,
Fatih Duzova
2007 Apr 24
0
OSPF with Netem
Hi all,
I am currently trying to emulate a satellite link, via Netem, on a testbed which is OSPF-enabled.
I''d like to set up a Netem box between two routers.
Since all routing between routers is dynamic, I''m wondering how to set up OSPF on my Netem box?
Could someone indicate me if it is feasible and give me some guidelines to possibly do so?
Thanks in advance,
Vincent.
2009 Feb 23
3
Recommended wireless card (or is there a chance to get either iwi or ath fixed)?
Hi,
after some time without FreeBSD I installed 7.1 on an IBM Thinkpad T30
(with ZFS root on encrypted geli, works great).
Config is:
FreeBSD hasking.alashan.nongo 7.1-STABLE FreeBSD 7.1-STABLE #3: Thu
Feb 5 21:10:45 CET 2009
root@hasking.alashan.nongo:/usr/obj/usr/src/sys/HASKING i386
I tried using my ath based D-Link DWL G650, which still seems to have
some issues in regard to interrupt
2005 Jun 22
0
Help: NIST Net or NetEm ?
Hi,
I want to study the multi-path TCP behavior (single TCP connection over
multi-paths), and I am setting up the test bed. I have two machines,
each with two network cards. I have directly connected two eth0, and I
am trying to figure out how connect two eth1 to control the properties
of this connection, so that I can study the TCP on multiple different
paths (different in terms of latency,
2001 Mar 07
0
Problems upgrading samba
I have inheirited a samba-1.9.18p4 running on an alpha machine. I want
to upgrade it to something newer. The machine serves a disk filled with
network installs of our commercial software.
I have tried installing both samba-2.0.7 and samba-2.2.0-alpha2, but
both cause failures on the DOS machines. In specific, Corel WordPerfect
8 exits with an illegal instruction if a newer version of Samba is
2008 Jul 16
3
Lost my madwifi setup
I rebuilt my notebook that has the atheros card in it, and forgot to
save all of my setup to get it working.
I am using dkms and the madwifi rpms from rpmforge.
My modprobe.conf has a line:
alias wifi0 ath_pci
I can ifconfig wifi0 up
But the command:
/usr/sbin/wpa_supplicant wpa_supplicant -dd -D madwifi -i wifi0 -c
/etc/wpa_supplicant/wpa_supplicant.conf
fails.
Now some of my old
2008 May 13
1
Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7
I seem to be able to lock my machine by going into wpa_cli and asking it
to 'reassoc'. The reason for question mark after "hard" is that debug
information (caused by wlandebug and athdebug) is being printed on the
console. The only way to get machine's attention is to hold power button
for 8 seconds.
Note: manual reassociation is just the handy way to reproduce the
problem