In /etc/sysctl.conf:

net.ipv4.ip_forward = 1

Or

echo "1" > /proc/sys/net/ipv4/ip_forward

Also check that you are not blocking the packets with ipchains/iptables

-----Original Message-----
From: rahul b jain cs student [mailto:[EMAIL PROTECTED]]
Sent: 09 September 2002 14:32
To: [EMAIL PROTECTED]
Subject: How to configure a Linux machine as a Router


Hi,

I have a Linux server which I want to configure as a Router. On one end it
is connected to a workstation and on the other to a server both of which
are Linux machines. So the network looks like this

     Workstation -------- Router -------- Server
     192.168.0.1      192.168.0.14    192.168.1.14

I am using a direct connection (using cross over cable) for all the
machines. At the Router eth2 is used to talk to 192.168.0 network and eth3
is used to talk to 192.168.1 network. I am able to ping from the
workstation to the router, from the router to the server. However my ping
from the workstation to the server fails. I have ip forwarding on at the
Router.
Can anyone tell me what I have missed so that I can make the linux machine
work as a router.

Many Thanks,
Rahul.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to