Solved

Routing in RH 6.1

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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