* [LARTC] Routing based on fwmark
@ 2003-03-04 18:27 David Watson
2003-03-04 18:58 ` Martin A. Brown
0 siblings, 1 reply; 2+ messages in thread
From: David Watson @ 2003-03-04 18:27 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Routing based on fwmark
2003-03-04 18:27 [LARTC] Routing based on fwmark David Watson
@ 2003-03-04 18:58 ` Martin A. Brown
0 siblings, 0 replies; 2+ messages in thread
From: Martin A. Brown @ 2003-03-04 18:58 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-04 18:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-04 18:27 [LARTC] Routing based on fwmark David Watson
2003-03-04 18:58 ` Martin A. Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.