Do anybody explain this theme a bit? Please, I need help with this. Thanks!!!! El Vie, 12 de Enero de 2007, 21:26, ArcosCom Linux User escribió: > Hi, > could anyone provides any example about the use of ip route command to > force the use of one route using masks in the mark? > > The configuration is: > 1 LAN (zlan0) iface > N WAN (wan0 ... wanN) ifaces with static IPs and load balanced. > iptables 1.3.7 > kernel 2.6.19.2 > iproute 2.6.19 > > I'm yet setting marks into packets for QoS and its working, I now want to > set some bits (OR) at the end of the mark. > > For example, I want to use 0x8000 to add another mark to the packet for > routing. The packet is market yet with a QoS mark (--set-mark), 0x5 (for > example). > > I need: > 1) The packet been marked with 0x8000 OR 0x0005 = 0x8005 > 2) Route the packet with 0x8005 AND 0x8000 = 0x8000 over wan0 (for > example) > 3) Classify the packet with 0x8005 AND 0x0005 into wan0 1:4 class (for > example) > > I know how to do this not having sense about MASKs, but ... Could anybody > put here how to do it with them? > > Another question: What is the length of the mask? 16bit? 32bit? > > Thanks!! > > > > > > _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc