LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IP_forward? Static route (-host)? HELP! (https://www.linuxquestions.org/questions/linux-networking-3/ip_forward-static-route-host-help-483149/)

haiders 09-13-2006 11:15 AM

IP_forward? Static route (-host)? HELP!
 
I have two desktops that access a cluster from a 10. network. Only the head node of that cluster goes from 10. to production. The two desktops need access to the production network but their home drives are on the cluster that need to be access via the 10. network. When i put in a static route in the head node to take connections from the desktop and forward them to production, users cant log in because they cant access home drivess. I also tried to enable ip_forwarding by echo 1 > ip_forward but that doesn't work either!

Can someone PLEASE HELP!

amitsharma_26 09-14-2006 06:57 AM

You have

2 Desktops --- Cluster of 10 boxes (1 head node) --- 1 Production box

Quote:

Originally Posted by haiders
When i put in a static route in the head node to take connections from the desktop and forward them to production, users cant log in because they cant access home drivess.

Which connections are your forwarding ? What do you mean by '^^^^' ?

Can you imitate your case with some example in more graphical or a bit with ip's & more verbose.

haiders 09-18-2006 01:45 PM

Hey Amit,

My problem is solved. I had to add a 'nat' rule to masquerade the incoming packets on eth0 interface to eth1 using iptables.

I was attempting to have internal desktops go out using a static route. As it is the nature of static routes ALL requests were being forwarded to the external interface. Users log in to the desktops using their mapped home drives on the internal network. So when they attempted to log in, they're home drives couldn't be located.

IPtables worked.

Thanks for the response.

Sy


All times are GMT -5. The time now is 09:52 AM.