I''m having trouble routing on high fwmarks, I want to use a lot of different marks for 2 routes so that I can QoS based on the marks ip rule looks like this: 0: from all lookup local 32751: from all fwmark 31 lookup dslout 32752: from all fwmark 30 lookup dslout 32753: from all fwmark 29 lookup dslout 32754: from all fwmark 28 lookup dslout 32755: from all fwmark 27 lookup dslout 32756: from all fwmark 26 lookup dslout 32757: from all fwmark 25 lookup dslout 32758: from all fwmark 24 lookup dslout 32759: from all fwmark 21 lookup dslout 32760: from all fwmark 11 lookup dslout 32761: from all fwmark 10 lookup fibout 32762: from all fwmark 8 lookup dslout 32763: from all fwmark 7 lookup fibout 32764: from all fwmark 2 lookup dslout 32765: from all fwmark 1 lookup fibout 32766: from all lookup main 32767: from all lookup default now when I mark say web traffic with 8 or 2 it goes to the dslout table, but if I use 11 or 21 it doesn''t. I guess I''ve a limited number of marks to play with? kernel 2.4.20, iptables 1.2.7.a with wrr and imq Thanks _____________________________________________________________ David Watson, Network Manager, Team17 Software Ltd. Phone: +44-1924-267776 Fax: +44-1924-267658 _____________________________________________________________ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
David, I have a hunch that it''s a hexadecimal vs decimal issue. Try converting your fwmark numbers to hex and adding the fwmark rules again. Ciao for now, -Martin : I''m having trouble routing on high fwmarks, I want to use a lot of : different marks for 2 routes so that I can QoS based on the marks : ip rule looks like this: : : 0: from all lookup local : 32751: from all fwmark 31 lookup dslout : 32752: from all fwmark 30 lookup dslout : 32753: from all fwmark 29 lookup dslout : 32754: from all fwmark 28 lookup dslout : 32755: from all fwmark 27 lookup dslout : 32756: from all fwmark 26 lookup dslout : 32757: from all fwmark 25 lookup dslout : 32758: from all fwmark 24 lookup dslout : 32759: from all fwmark 21 lookup dslout : 32760: from all fwmark 11 lookup dslout : 32761: from all fwmark 10 lookup fibout : 32762: from all fwmark 8 lookup dslout : 32763: from all fwmark 7 lookup fibout : 32764: from all fwmark 2 lookup dslout : 32765: from all fwmark 1 lookup fibout : 32766: from all lookup main : 32767: from all lookup default -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Thanks Martin, I needed to specify the ip rules in hex, although I''ve moved them all over to hex now. David At 12:58 04/03/2003 -0600, you wrote:>David, > >I have a hunch that it''s a hexadecimal vs decimal issue. Try converting >your fwmark numbers to hex and adding the fwmark rules again. > >Ciao for now, > >-Martin > > : I''m having trouble routing on high fwmarks, I want to use a lot of > : different marks for 2 routes so that I can QoS based on the marks > : ip rule looks like this: > : > : 0: from all lookup local > : 32751: from all fwmark 31 lookup dslout > : 32752: from all fwmark 30 lookup dslout > : 32753: from all fwmark 29 lookup dslout > : 32754: from all fwmark 28 lookup dslout > : 32755: from all fwmark 27 lookup dslout > : 32756: from all fwmark 26 lookup dslout > : 32757: from all fwmark 25 lookup dslout > : 32758: from all fwmark 24 lookup dslout > : 32759: from all fwmark 21 lookup dslout > : 32760: from all fwmark 11 lookup dslout > : 32761: from all fwmark 10 lookup fibout > : 32762: from all fwmark 8 lookup dslout > : 32763: from all fwmark 7 lookup fibout > : 32764: from all fwmark 2 lookup dslout > : 32765: from all fwmark 1 lookup fibout > : 32766: from all lookup main > : 32767: from all lookup default > >-- >Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com > >_______________________________________________ >LARTC mailing list / LARTC@mailman.ds9a.nl >http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/