Displaying 20 results from an estimated 3000 matches similar to: "Kernel Packet Traveling Diagram"
2006 Oct 06
12
Two outbound internet links, using one network interface
Hi,
I am trying to categorize the network traffic and to send it out across
two different providers.
For this I mark the packets in the firewall (in the PREROUTING chain of
table mangle),
and then use another routing table for the marked packets, which has a
different gateway
from the main routing table. Basicaly I am following the cookbook
example in this page:
2007 Aug 06
4
Marking and remarking of incoming traffic
I can use DSMARK to mark on the Egress side. Is there a way to
mark/change the DSCP value of an incoming packet on the ingress side?
Thanks.
Jon Flechsenhaar
Boeing WNW Team
Network Services
(714)-762-1231
202-E7
2003 Dec 02
2
forwarding in tcng
Hi!
I am learning tcng without having experiance of tc and I am trying to
build something that shall schedule traffic dependent on the value in the
IPv4 packets ip_ttl field.
I have read the tcng reference manual and cannot find information about
forwarding. Is it possible to farward packets from ingress to egress
without sending them upwards in layers?
2007 Jul 25
3
Patch accurate packet scheduling for ATM/ADSL
Hi,
I use the patch
(http://ace-host.stuart.id.au/russell/files/tc/tc-atm/) for accurate
the packet scheduling on ATM/ADSL link and i think I''ve found a bug.
I tried to write to the author but he didn''t answer me.
I work on a Linux 2.6.17 with the iproute2-2.6.18-061002 package.
I change the type of the cell_align char to short of the struct
tc_ratespec in the file pkt_sched.h
2004 Aug 05
4
NAT & tc filter addresses
Is there a flow diagram as to where tc actions take place with respect
to NAT and other iptables functions on a multihomed box (private &
public NICs) ? Are tc filter rules consulted before or after NATing?
My real interest is in basic understanding first, and then solving a
real problem second.
Example:
Firewall Public NIC 123.123.123.1
Firewall Private NIC 192.168.168.1
Dedicated Video
2004 Jan 28
1
Problems with multipath routing.
Hi all, I have setup two multipath route tables on my system for doing
failover routing, What I want it''s that if GW at route1 of the MP is dead,
traffic goes by route2, for doing that I have created the multipath routes as
follows:
ip route add table mail.traffic proto static nexthop via ${GW1} dev eth1
weight 1 nexthop via ${GW2} dev eth1 weight 250
But it does not run as I
2003 Mar 13
4
howto mark packet''s dscp value
Dear all
can anyone tell me how to mark packet''s DSCP value using tc?
Thanks.
Regards,
philip
--
Hong Kong IP Multicast Initiative (HKIPMI)
Department of Information Engineering
The Chinese University of Hong Kong
Phone : 2603 5240
Fax : 2603 5032
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
2007 Jun 28
1
HTB and ATM patch
Hi all,
I patch my kernel (2.6.17) and my tc (iproute2-2.6.18-061002) utilitie for
an accurate packet scheduling on an ATM link.
I configure my HTB hierarchy on the upload of the link and try with
differents flows.
It works correctly but in some of case I lose about 50% of my bandwith.
I use the overhead (42) configuration for my link (PPPoE, VC/LLC) indicate
in the documentation.
My question
2004 Sep 03
3
traffic queueing and ipsec vpn
Hi all, ive been reading lartc howto, im new about traffic shaping/police.
As far as red (chapter 9 complete) i saw that first the packet passes at the
ingress qdisc, then it passes to the ip stack if the packet is directed to
the box or its forwarded (is my case), then it falls to the egress
classifier/s.
Now, i understand if i have an ipsec vpn at the outside interface, the
egress
2006 Mar 30
5
packet marking: only a ratio, not all
Hi all!
In short:
Anybody wrote a patch for DSMARK to make it capable of marking
only a ratio (a given arg to the tc command) of the packets it gets?
Say, 20%? Or, do I have to hack into the source? Alternatives,
like a filter spitting packets to 2 different DSMARK based on this ratio?
In long:
I''m a hungarian univ student involved in a project (RMD-QoS stuff)
which needs
2005 Aug 16
3
(yet another) HTB question(s)
Hi, I''ve read the documentation about HTB and I pretty much
managed to grasp how it works. In theory. But there still
are some questions and I want to check with you to see if I
understand things correctly. So here goes:
1) when used on a router for shaping traffic done by
clients connected to it, shaping is done on the interface
connected to the cable/dsl modem. If I wanted to create
2004 Jan 15
3
Shaping Device Aliases
Hi.
I understand that device aliases (e.g. eth2:3) are not shapeable. Does
anybody know if this functionality is planned in the future?
Anyway, for the time being the only option that seems to leave is to
fwmark packets differently for each device alias and then shape based
on that.
Is it possible to set multiple marks on the packets? Alternatively, is
it possible to check for a specific
2004 May 25
1
how to borrow bandwith
Hi,All
I am using iproute2 to manage bandwith for ADSL router.High,medium,low priority are needed for different protocol port on the ADSL's upstream side,as following:
LAN --- |ADSL Router|------WAN
When there aren't traffic on the specific priority, its bandwidth should be borrowed by other priorities.But it doesn't work.Here is my script:
/usr/sbin/tc qdisc del dev nas0 root
2004 May 10
8
Packet marking for ingress shapping and NET
Hi,
I have typical situation, local LAN with private addresses, translated
via NAT to internet. I need to shape ingress traffic (from internet to
local LAN) in several HTB queues accorting to destination (private not
public) IP. So I need mark packets to divide them to corresponding
queue. According to http://www.docum.org/stef.coene/qos/kptd/ I thing I
have only one way how to do it, because
2005 Apr 29
1
IMQ on KPTD
Hi!
I would like to thank very much for this great page with Kernel Packet
Traveling Diagram and to suggest small update concerning IMQ.
I think the sentence:
"IMQ in input comes before nat so IMQ does not know the real ip address.
Ingress comes after nat, so ingress knows the real ip address."
could be more precise like that:
"By default IMQ in PREROUTING comes before nat and
2004 Jun 16
6
QOS Script difficulty on bridge
I''m playing with the rather excellent QOS script from Alexander Clouter
at http://digriz.org.uk/jdg-qos-script/
So far I am really impressed with it - a very impressive example of the
power of linux QOS rules (has pretty much everything in it from the
LARTC Howto!) However, the instructions hint that "for QoS to affect
locally generated traffic in a non ethernet bridge setup
2007 Apr 18
1
[Bridge] Problem with Routed mode using br2684ctl tool
Hi,
I am writing this email in sincere hope that somebody
experienced similar/same problem and found solution to
it.
The classical bridge setup could be achieved using
brctl tool, which could be found at:
http://home.regit.org/br2684.html
I have an ADSL CO line card Linux based [2.4.24
kernel] with 8 nas interfaces and eth0. Rather than
having bridge, the decision was to have a router,
which
2004 Jan 14
2
Single/Dual DS3 - anyone seen this?
http://www.imagestream.com/PCI_720.html
Regards,
Andrew
2005 Jan 04
4
Scheduler Mechnisms!
Hello,
Normally, in addition to such qdisc scheduler mechanisms as FIFO, PQ, WRR, WFQ,
are there any more? Then, there is a confusion on scheduler in Linux enviroment:
Assume there is a qdisc, such as RED as a leaf qdisc in a router, we know, if
there is packet which want to enqueue the packet, the Function red_enqueue is
called, but when the packet leave the queue(when the Function red_dequeue
2005 May 30
4
Very simple traffic shaping script for H.323
Hello -
What I want to do seems very simple - I want to make sure any H.323
traffic gets processed before anything else entering or leaving this
network. The network has a videoconferencing device on the LAN at
192.168.16.4. A Linux firewall NATs an external IP Address to this
internal address and I have appropriate SNAT and DNAT rules that work.
The NAT and connection tracking rules all work