Hi, I tried the suggested changes but it still is not able to communicate. How do I check whether packets are not being blocked by ipchains/iptables ?
I had one more question. To eth2 I have given the addr. 192.168.0.13 and to eth3, 192.168.0.14. Since eth3 is also given a 192.168.0 network addr., during startup the routing table has the following entry for eth3 Destination Gateway Genmask ------ iface 192.168.0.0 0.0.0.0 255.255.255.0 eth3 I have to manually delete this entry and make the destination 192.168.1.0. Cant I do this permanently ? Many thanks, rahul. On Mon, 9 Sep 2002, Skuse, Phil wrote: > 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 > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list