Skip to contentSkip to conversation

ip rule nat Pathces!?

LARTC Esteban Ribicic 2 participants 2 messages Mar 5, 2003

lore
Share & tools
lore
#0 lore raw

julian,
the patch stuff is making me crazy (i have four servers running iproute2)..

i tryed to apply pathces on 2.4.20 in the following order so multipath, nat, fwmark works:

routes-2.4.20-9.diff
rtmasq-2.4.20-2.diff

is the second patch necesary? i though the first (routes-2.4.20-9.diff) already patched the nat stuff.
besides, if i apply the first patch, the second gives me an error applyeng the patch.

what patches should apply for 2.4.20? thanks.

Quoted 25 lines · Julian Anastasov

Hello,

Quoted 9 lines · Esteban Ribicic

when doing somehitng like
ip rule add fwmark 3 nat 200.42.75.183 table ppp0 prio 1 (the idea is that packets that match the fwmark 3 change their source address to 200.42.75.183)..it first apply the nat and then routes to table ppp0 right?
in such case the, nat, why may be nat not being applyed? cause it doesnt work at all..it goes to that interface but does not nat the src address of the package.
any idea?

It is not supported but there is a patch:

http://www.ssi.bg/~ja/#rtmasq

Regards

--
Julian Anastasov <[email protected]>

Signature · 13 lines
Esteban Ribicic
Network Operation Center
UOL-Sinectis S.A.

Florida 537 Piso 6, Buenos Aires, Argentina 
+54-11-4321-9110 Ext 2503
+54-11-4321-9107 Directo 
[email protected]
www.uolsinectis.com

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

Hello,

Quoted 9 lines · Esteban Ribicic

julian,
the patch stuff is making me crazy (i have four servers running iproute2)..

i tryed to apply pathces on 2.4.20 in the following order so multipath, nat, fwmark works:

routes-2.4.20-9.diff
rtmasq-2.4.20-2.diff

Use rtmasq-2.4.20-routes9-2.diff instead, I just uploaded it.
Apply it after routes-2.4.20-9.diff and let me know offline if it compiles and works.

Regards

--
Julian Anastasov <[email protected]>

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