Re: [LARTC] shaping using source IP after NAT

2007-06-13 Thread Ethy H. Brito
On Mon, 11 Jun 2007 22:02:31 +0300 VladSun [EMAIL PROTECTED] wrote: TC is performed after POSTROUTING, so you can not do any IP related TC filtering. You can use CPU friendly patches for iptables like IPMARK or IPCLASSIFY. Take a look at them. Ok. Can someone point me the right direction

Re: [LARTC] shaping using source IP after NAT

2007-06-13 Thread VladSun
Ethy H. Brito написа: On Mon, 11 Jun 2007 22:02:31 +0300 VladSun [EMAIL PROTECTED] wrote: TC is performed after POSTROUTING, so you can not do any IP related TC filtering. You can use CPU friendly patches for iptables like IPMARK or IPCLASSIFY. Take a look at them. Ok. Can someone

RE: [LARTC] Re: multiple routing tables for internal router programs

2007-06-13 Thread Salim S I
I solved it, thought a bit ugly. Have two more rules now in ip ru 32150: from all lookup main 32201: from all fwmark 0x200/0x200 lookup wan1_route 32202: from all fwmark 0x400/0x400 lookup wan2_route 32203: from 10.20.0.137 lookup wan1_route 32204: from 10.2.3.107 lookup wan2_route 32205:

Re: [LARTC] Re: multiple routing tables for internal router programs

2007-06-13 Thread Alex Samad
On Thu, Jun 14, 2007 at 11:50:30AM +0800, Salim S I wrote: I solved it, thought a bit ugly. Have two more rules now in ip ru 32150: from all lookup main 32201: from all fwmark 0x200/0x200 lookup wan1_route 32202: from all fwmark 0x400/0x400 lookup wan2_route 32203: from 10.20.0.137