[LARTC] ipchains + mark in output chain ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi !

I'm marking packets to classify them with ipchains.
For example, to mark packets which will go to the internet (ppp0)
I do:

/sbin/ipchains -A input -i eth0 -s 192.168.0.0/16 -d ! 192.168.0.0/16 -b 
-m 100

Can I do mark them on the output chain (ipchains -A output -i ppp0 -m 
100) and still have QoS working properly ?

In other words, what does the kernel:
- packet -> input(mark) -> forward -> output(mark) -> qos/egress
- or packet -> input -> forward -> qos/egress -> output(mark) ?

TIA,

-- 
Ludovic DROLEZ                                       Free&ALter Soft
152, rue de Grigy - Technopole Metz 2000                  57070 METZ
tel : 03 87 75 55 21                            fax : 03 87 75 19 26

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux