Well, all is well, but you have also to enable forwarding of the
packets between the networks using either linuxconf:
Networking->Routing and Gateways->Set Defaults->Check enable routing
box.
or from the command line (temporary solution):
echo 1 > /proc/sys/net/ipv4/ip_forward
Mircea C.
Hariharan L Thantry wrote:
>
> Hi,
>
> How do I set up a network where I have the following 2 subnets
>
> 35.9.23.0 and 35.9.24.0 (both class C)and the gateway linking these two
> has two ethernet cards with addresses 35.9.23.1 and 35.9.24.1 with a
> netmask of 255.255.255.0 and is also running red-hat 6.1
>
> I required static routing, so I added the default route on the machines in
> these two subnets using the "route" command. All that my gateway needs to
> do is forward from one subnet to the other. It is currently recognizing
> the two ethernet segments. But a host on one subnet is not able to ping
> one on another.It just times out.
>
> Note: This network is not connected to any other networks.
>
> Any ideas?
>
> Hari
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]