[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux router problem
Hi,
By default RH is not configured as a router, that is, IP_Forwarding is
off, edit /etc/sysconfig/network and change the "forward_ipv4=false" to
"=yes" then issue: "/etc/rc.d/init.d/network restart"
That ought to do it.
Vadim Dostman wrote:
>
> Hi,
>
> I setup an intel Linux box with two NE2000 nics and try to use it as a
> router for our test subnet here at VocalTec. The test subnet is 15.15.15.0
> and the main LAN is 209.117.177.0. Here's what my table looks like:
>
> [root@lab /root]# route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 209.117.177.1 0.0.0.0 255.255.255.255 UH 0 0 2
> eth0
> 209.117.177.0 0.0.0.0 255.255.255.0 U 0 0 10
> eth0
> 15.15.15.0 0.0.0.0 255.255.255.0 U 0 0 5
> eth1
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 4 lo
> 0.0.0.0 209.117.177.1 0.0.0.0 UG 0 0 3
> eth0
>
> As you could have guessed both nics are on same physical network.... If I
> do load routed it doesn't help. But I beleive I don't need it...
>
> For some reason I can't get beyond the box (make it act as a router), but I
> can ping both nics from inside both subnets (weird). What could be the
> problem?
>
> There's a couple of other things that might give you a tip: first of all I
> only installed the minimum packages from RedHat 5.2 CD, since I don't want
> any extra stuff on it; second -- my telnet sessions get disconnected after
> 1 minute of inactivity (which is extremely annoyn and I don't notice that
> on other RedHat boxes)
>
> Thanks for any help!!!!
>
> Vadim Dostman
--
Gilad Ben-Yossef <gby@gtek.co.il>
G.Tek Technologies ltd http://www.gtekil.com
'This email virus has infected your mind with the thought of itself.
It will not harm your computer' -- Ashley Pomeroy,(void)