Skip to contentSkip to conversation

ip rule to remove

LARTC Askar 2 participants 3 messages Nov 23, 2004 – Nov 24, 2004

lore
Share & tools
lore

Askar

author
#0 lore raw

hi thanks for your reply heh "Example: ip del rule pref 32742" is syntically wrong :)

and when i tried "ip rule del 32742" it gives me error

# ip rule del 32742
Error: argument "32742" is wrong: Failed to parse rule type

so how to get get of these extra rules?

0:      from all lookup local
32742:  from all fwmark 0x2 lookup squid.out
32743:  from all fwmark 0x2 lookup squid.out
32744:  from all fwmark 0x2 lookup squid.out
32745:  from all fwmark 0x2 lookup squid.out
32746:  from all fwmark 0x2 lookup squid.out
32747:  from all fwmark 0x2 lookup squid.out
32748:  from all fwmark 0x2 lookup squid.out
32749:  from all fwmark 0x2 lookup squid.out
32750:  from all fwmark 0x2 lookup squid.out
32751:  from all fwmark 0x2 lookup squid.out
32752:  from all fwmark 0x2 lookup squid.out
32753:  from all fwmark 0x2 lookup squid.out
32754:  from all fwmark 0x2 lookup squid.out
32755:  from all fwmark 0x2 lookup squid.out
32756:  from all fwmark 0x2 lookup squid.out
32757:  from all fwmark 0x2 lookup squid.out
32758:  from all fwmark 0x2 lookup squid.out
32759:  from all fwmark 0x2 lookup squid.out
32760:  from all fwmark 0x2 lookup squid.out
Signature · 5 lines
(after bouncing head on desk for days trying to get mine working, I'll make
your life a little easier)
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

Hi there Askar,

: and when i tried "ip rule del 32742" it gives me error : so how to get get of these extra rules?

Try:

ip rule del prio 32742 from all fwmark 0x2 lookup squid.out

-Martin

Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
author
#2 lore raw
In reply to Askar

heya Martin
Thanks for the reply its just for archieve to confirm that i'm done with it. I used the following command to get rid of extra entries in routing database

#ip rule del fwmark 2 table squid.out

regards
-Askar

Quoted 18 lines · Martin A. Brown

Hi there Askar,

: and when i tried "ip rule del 32742" it gives me error : so how to get get of these extra rules?

Try:

ip rule del prio 32742 from all fwmark 0x2 lookup squid.out

-Martin

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

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

Signature · 5 lines
(after bouncing head on desk for days trying to get mine working, I'll make
your life a little easier)
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/