Solved

Routing in RH 6.1

Posted on 2000-05-16
3
202 Views
Last Modified: 2010-03-18
what necesary options have to be enabled in a linux box to make it act as a router ?
i have done the following in the proc filesystem :

ip_forward=1
rp_filter=0
ip_always_defrag=1

(above may differ a little as i am mailing this at 5 in the morning with no sleep :-) )

the linux box is acting strange, it allows ping to certain hosts and does not allow to others and after sometime starts to ping the hosts it was not pinging earlier.

please help

thanks
0
Comment
Question by:sapient
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
linuxwrangler earned 45 total points
ID: 2814147
Is your routing table set up correctly? The output of ifconfig, netstat -nr, and ipchains -L would be useful (substitute fake IP if you are worried about security but keep the substitutions consistent and note what they relate to).

Also, are you running any routing protocols like routd?
0
 

Expert Comment

by:raducu80
ID: 2815989
Post the outputs as linuxwrangler said. Also, are you trying to masquerade other boxes? If so, did you compile tke kernel with the specific options? More info on what is needed in the kernel, in the IP-MASQ HOWTO available at www.linuxdoc.org
0
 
LVL 1

Author Comment

by:sapient
ID: 2817364
thank you both of you. i did manage to solve the problem. the problem was with the host i was trying to ping.
i realized that i could ping the host from behind the linux router but not from outside the linux router.
the problem was that the gateway had not been defined properly on the host.
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question