Skip to contentSkip to conversation

Routing based on fwmark -solved

LARTC David Watson 1 participant 1 message Mar 5, 2003

lore
Share & tools
lore
#0 lore raw

Thanks Martin,
I needed to specify the ip rules in hex, although I've
moved them all over to hex now.

David

Quoted 32 lines · you

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
Quoted 6 lines

--
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/