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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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.
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.