Do a 'ipchains -l or -L' can remember which. This will tell you what rules are currently running. Look at the Ipchains man page that should tell you how to remove all the rules so that you can continue testing. I think it's 'ipchains -F'. Sorry I don't have a concrete answer for you but it's been a while since I have used ipchains....
-----Original Message----- From: rahul b jain cs student [mailto:[EMAIL PROTECTED]] Sent: Monday, September 09, 2002 3:55 PM To: '[EMAIL PROTECTED]' Subject: RE: How to configure a Linux machine as a Router 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 NOTICE: This message and any attachments are confidential and intended solely for the addressee. If you have received this message in error, please notify the sender at Nanoteq (Pty) Ltd immediately, telephone number +27 (0) 12 672 7000. Any unauthorised use, alteration or dissemination is prohibited. Nanoteq (Pty) Ltd accepts no liability whatsoever for any loss whether it be direct, indirect or consequential, arising from information made available and actions resulting there from. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list