thanks for your reply,
eth0 192.168.10.110 /24 gateway 192.168.10.1
eth1 100.10.10.2/24 gateway 192.168.10.110
eth0 is conected to a CISCO switch
eth1 is connected to a windows pc with the following config
IP 100.10.10.1
mask 255.255.255.0
gateway 192.168.10.110
switch == [(eth0) ---ubuntu ----(eth1)]==windows pc
yes there are 2 phisical interfaces and i used straight cable from the switch to the ubuntu pc and cross between ubuntu and windows pc
---------- Post updated 05-11-12 at 08:33 AM ---------- Previous update was 05-10-12 at 11:16 AM ----------
still no answer
digging through i found about routing. well i have now a big question : is't my problem one which is to be solved by altering the routing table and not by modifying the iptables? I ask this because iptables i think deals with firewalling and the firewall check if some trafic is to be allowed or not but it does't say how to route it. and if my hypotesis is true why when implementing masquerading everything worked great.
looking forward to hearing some opinion.