Setup Linux as a router

Setup Linux as a router

Post by wdhw.. » Fri, 03 Jul 1998 04:00:00



Question:

 I tried everything (that I could think of), but cannot
 solve this problem alone...
 I've got a RedHat machine with two ethernetcards. One
 side has been configured with ip adress 192.168.8.241,
 the other with 210.61.245.100. I compiled ip forwarding
 etc. in the kernel. I can ping from both sides, both
 interfaces of the Linux machine, but not other machines
 at the other side.

 Example:

 192.168                        210.61

 8.30              8.241        245.100                245.126
 Host A <--------> Linux Eth0 : Linux Eth1 <---------> Host B
 (Linux)                                               (Win95)

 On Host A, Linux Eth0 has been configured as route to the
 192.168.8.0 network
 On Host B, Linux Eth1 has been configures as route to the
 210.61.245.0 network
 In Host B, I have add the gateway 210.61.245.100

 Host A can ping both Eth0 and Eth1
 Host B can ping both Eth0 and Eth1
 Host A can't ping Host B
 Host B can't ping Host A

 It looks like the Linux box is not forwarding any packets out of the
 interfaces..., and I have started the routed...

 Should I turn anything on I forgot ???

 Thanks,

--

                                                Sincerely yours
                                                Wen-Dwo Hwang
==================================
Wen-Dwo Hwang
E-mail :


==================================