Building a linux router - cannot access computers on other side of the network
I have built a linux router with a pc having two network cards. I am running ubuntu 8.10.
I have enabled forwarding on the router. One network (192.168.1.0/24)is connected to eth0 and another (192.168.2.0/24) is connected to eth1.
The interfaces have addresses 192.168.1.1 and 192.168.2.1.
On any side side of the network, I can ping both interfaces on the router.
However when I ping a machine on the other side of the network, I get 100% packet loss.
I have not touched iptables on the router or any machines.
What I am doing wrong?
Any help would be really appreciated.