Link to home
Start Free TrialLog in
Avatar of sapient
sapient

asked on

Routing in RH 6.1

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
ASKER CERTIFIED SOLUTION
Avatar of linuxwrangler
linuxwrangler

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of raducu80
raducu80

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
Avatar of sapient

ASKER

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.