Kenneth Gonsalves wrote:> hi,
>
> I am running shorewall 3.2.9 on Mandriva2007 with 2 ISPs. Certain
> local IPs are directed to a specific ISP in route_rules, and this was
> working perfectly. I had to reinstall Mandriva, and after that this
> redirection is not working. My files are:
>
> masq:
>
> eth1 192.168.10.3 202.71.146.210
> eth2 202.71.146.210 192.168.10.3
> eth1 eth0 202.71.146.210
> eth2 eth0 192.168.10.3
>
> interfaces:
>
> net eth1 detect
> net eth2 detect
> loc eth0 detect
>
> providers:
>
> net4india 2 2 main eth1 202.71.146.209
> track,balance=2 eth0
> bsnl 1 1 main eth2 192.168.10.1
> track,balance=1 eth0
>
> route_rules:
>
> 192.168.2.21 - net4india 1000
>
> here, 192.168.2.21 is not being exclusively sent through net4india.
>
> shorewall dump is attached
>
>
tcp 6 431986 ESTABLISHED src=192.168.2.21 dst=207.158.1.150
sport=34902 dport=6667 packets=23310 bytes=1311023 src=207.158.1.150
dst=202.71.146.210 sport=6667 dport=34902 packets=21324 bytes=9724682
[ASSURED] mark=2 use=1
Looks like it should work, there was no entry showing mark=1 for that
address.
2.6.17-16mdvcustom
Did you compile your own kernel? Perhaps you missed or added an option,
could you compare your kernel .config file with what is recommended on
shorewall''s kernel page: http://www.shorewall.net/kernel.htm
Jerry
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It''s the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace