Solved

Routing in RH 6.1

Posted on 2000-05-16
3
198 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now