The "iptables index of insertion too big" error is because you don't have any previous rules and the "3" tells iptables to
insert the rule at line three. So that's no problem.
I think the problem might be your default gateway on eth1 and the choice of bridging the networks.
I think that makes MDK send the ping replies to eth0.
The easiest way is probably to try the following:
Change the ip of eth1 to 172.16.0.1 and remove the gateway for it.
Change the XP's ip to 172.16.0.2 & 3 and the gateway to 172.16.0.1
Run 'iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 192.168.1.2' as root.
'route -n' should say:
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
- Peder