similar to: Ip rule add tos 0x30

Displaying 20 results from an estimated 20000 matches similar to: "Ip rule add tos 0x30"

2005 Feb 16
9
DSCP, ToS and Egress
I''m successfully using HTB + GRED to shape traffic based on the DSCP field. I would like to strip the DSCP and possibly replace it with normal ToS bits on egress traffic leaving my network. Leaving DSCP set is pointless, and could potentially cause problems with some ISPs that use DSCP internally I suppose. Setting ToS bits would seem ideal as most networks still honor it to varying
2005 Jan 19
0
ip route, rule and TOS
Hello, if I use : # ip rule add tos reliability iif lo lookup table_1 # ip route add default via <@IP> table table_1 It seems that the response packets for the ones send with a TOS of "reliability" need to have the same TOS or they are drop by the kernel (2.4.25). Why ? Francois-Xavier _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl
2007 Aug 16
3
Unable to match/classify non-icmp traffic with TOS bigger than 0x10
This problem is driving nuts, so I am seeking help here. Your help will be deeply appreciated. I have made myself a Linux bridge with eth1 and eth0 to form br0. Then I run a script to configure tc with htb on it. But I can never match non-icmp traffic ( such as tcp and udp ) with TOS or DSCP values such as 0x68. The full story as follows :- 1. On the source testing machine, I do this to set
2006 Feb 01
0
prio test results
Hi, below are some test results from implementing a prio qdisc ''that is also below''. The qdisc is attacted to a vlan interface for my external network. Both tests were run at the same time. The links are policed at 6.0M ''by our provider''. 192.168.70.1 --> 192.168.30.1 My question is: If using a prio qdisc should''nt the iperf run with a tos of b8 have
2008 Feb 22
0
is tos=ef same as tos=0xb8 same as DSCP ef ?
Trying to figure out how to prefer voip traffic on a dsl line. Found a great howto: http://www.howtoforge.com/voip_qos_traffic_shaping_iproute2_asterisk but I'm trying to figure out the relationship between the tos of iax.conf and tos of tc from Iproute2. my traffic goes from my linux router to a CPE cisco box. I understand Cisco uses tos ( usually referred to as DSCP, just to keep us on
2007 Sep 25
2
How to delete DSCP setting using iptable command.
Hi, Can anybody tell me how to delete DSCP or TOS setting using iptable command. iptables --list OUTPUT --table mangle Chain OUTPUT (policy ACCEPT) target prot opt source destination DSCP tcp -- anywhere anywhere tcp spt:http DSCP s et 0x08 DSCP udp --
2004 Jun 24
0
Difficulties with filtering based on TOS byte
Hi all, I want to setup link sharing with a filter that places traffic into different queues based on values within the TOS byte. Strangely I can''t get this to work. I use the following command for the filter: tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip tos 0x10 0xff flowid 1:10 I then mark the packets on the user machine using the ''mangle''
2007 Jan 30
0
Problems matching tos on port 554
Hi There, I am trying to match mac address and tos at the same time. It mostly works for all ports, but recently I discovered that it doesn''t, for example it does not work on port 554. For each client I have two classes, one is the "good" traffic that I mark using iptables with the line, for example: /sbin/iptables -t mangle -A PREROUTING -p tcp --sport 554 -j TOS
2010 Feb 06
1
TOS bits, DSCP, Asterisk & Polycom
Has anyone figured this out yet? Lots of places say to add the following to sip.conf of an Asterisk 1.2 system (current production machine/Asterisk as root): tos=0xB8 (Hex B8 = Decimal 184 = Binary 10111000) or if you are running Asterisk v1.4 or newer: tos_sip=cs3 ; Sets TOS for SIP packets. tos_audio=ef ; Sets TOS for RTP audio packets. tos_video=af41 ;
2004 Sep 06
0
example/dsmark+policing => tcsim outputs are different
Hi folks I have created a script file (dsmark+policing.sh attached) to check graphic an text outputs of simutations, against original examples/dsmark+policing coding (see TCNG Reference Manual-pg.90). It uses tcng coding (*.tcsim file attached) and old tc coding (*.tcsim_old file attached) inserted in tcsim files. Observation 1: The graphic outputs from (*.tc included in *.tcsim) and (*.tc_old
2011 Dec 18
10
[Bug 1964] New: QoS/DSCP names false translated to ToS hex value
https://bugzilla.mindrot.org/show_bug.cgi?id=1964 Bug #: 1964 Summary: QoS/DSCP names false translated to ToS hex value Classification: Unclassified Product: Portable OpenSSH Version: 5.9p1 Platform: amd64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ssh
2004 Nov 29
1
TOS Settings to DSCP
I am assuming that the TOS values directly map to DSCP values in the ip header. Is this a correct assumption? If so, can someone tell me the correct setting to set call control packets with a DSCP of AF31(011010) and media with EF(101110)? So would the setting for AF be TOS=46?? Is it possible to mark the media and call control separately?? -------------- next part -------------- An HTML
2005 Jul 23
1
TOS in IP Header set to Minimize-Dealay - no difference
Hi I have a 1024/128 ADSL connection. I wanted to test the TOS field in IP Header. So I started aMule and let it use the whole upstream (16KB). Then I did: #iptables -A OUTPUT -t mangle -p tcp --dport 22 -j TOS --set-tos Minimize-Dellay (like here: http://lartc.org/howto/lartc.cookbook.interactive-prio.html) Then I ssh to one of my server on the Internet. The delay was awful. I could use
2005 Nov 15
3
can I use tos and fwmark at the same time?
Hello lartc maintainers and users! I have a router with two NICs. One NIC is connected to the Internet and the other to my internal LAN. I made a script for priorizing interactive traffic. The script matches TOS Minimize-Delay for priorizing interactive trafic, and fwmark for metropolitan packets. I have two root classes (simulating two circuits) : 1:1 for internet and 1:3 for metropolitan.
2005 Oct 29
0
Mangling TOS, or Precedence/SecurityOpts/Compartment?
Hi there LARTC, We are running a set of three systems for semiconductor technology, and would like to finalize our work in getting them to interoperate properly, but have run into some issues that touch on the very fabric of TCP/IP expertise. Iptables has already been used to solve "part of this", can we somehow use Diffserv capabilities to acheive the aims of modfiying packets such
2006 Jan 08
1
unexpected drop
Hello everybody, I have a Linux router with an ethernet adapter and a ADSL device. My router has a GRE tunnel connected to a remote IP address. Using "tc" I have configured 3 different classes: 1. 290kbit rate (used for Voip Services) 2. 180kbit rate (used for GRE tunnel) 3. 80kbit rate (for generic data traffic) For each class, using "iperf", I send some data from a PC
2009 Jul 20
0
No subject
running in root. Mine is running as asterisk. I found one post that says to run at boot: #!/bin/bash=20 /sbin/iptables -A OUTPUT -t mangle -p udp -m udp --sport 4569 -j DSCP = --set-dscp-class ef /sbin/iptables -A OUTPUT -t mangle -p udp -m udp --sport 10000:20000 -j = DSCP --set-dscp-class ef /sbin/iptables -A OUTPUT -t mangle -p udp -m udp --sport 5060 -j DSCP = --set-dscp-class ef Does this
2002 Aug 15
0
conditional routing based on tos/fwmark not working with ipsec
Hello all, I am working with kernel 2.2.20 with the necessary options configured into the kernel to support all of the wonderfully fancy routing features: - routing based on ToS - routing based on fwmark - multiple routing tables This same kernel is in use elsewhere, and is routing based on fwmark with success. This leads me to believe that my kernel is OK and that I have another
2002 Dec 08
0
TOS filed and pfifo_fast
I would like to use HTB''s prio parameter as the sole priority value for pfifo_fast. Is the TOS field in packets honored by an HTB class with the default pfifo_fast qdisc enqueued when coming from a child class with a prio parameter?! If yes, what''s the least expensive way (in terms of CPU cycles) of stripping all packets from the TOS field?!
2002 Jun 19
1
Problem: DSCP target
Hello everybody, I have tried several iptables versions (from 1.2.4 to 1.2.6a) to mark outgoing packets (change the DSCP field) with no success. #iptables -A OUTPUT -t mangle -d 10.0.0.3 -j DSCP --set-dscp 0x2 iptables v1.2.6a: unknown arg ''--set-dscp'' TOS target is working fine, but I want to create different codes for EF and AF classes in a diffserv