OK I have fixed it. I will explain what I did I had to manually add routes between the two subnets
route add -net 10.5.5.0 netmask 255.255.255.0 dev eth0 route add -net 192.168.1.0 netmask 255.255.255.0 dev eth1 That's it Thanks Bob for your input > Bob wrote: > >>Are you expecting this machine to be simply dual homed with two IP >>addresses, one on each subnet? Or are you expecting it to become a >>router and to route packets itself from one interface to another? >> >>If you want a machine with multiple interface cards to become a router >>then you will need to enable packet forwarding in the linux kernel. > >> echo 1 > /proc/sys/net/ipv4/ip_forward > >>Bob > > > Thank you Bon for replying. Actually I just want it to be dual homed with > two IP addresses, one on each subnet. I already have a router that > connects the two subnets. Is there any additional configuration for this > case? > > Appreciate your help > > Mostafa > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]