On Wed, 27 Oct 1999, Agim Cami wrote:
> Hello,
>
>
> I am trying to setup a IP router with a Linux 2.0.35 computer (Slckware
> release).
> Two Lan card are installed in this PC, known by the kernel as eth0 and eth1.
> Having two networks to route (193.254.174.0 and 192.168.1.0) I have
> configured my Linux router as follow:
>
Is routing compiled into the kernel?
> ifconfig eth0 193.254.174.50 netmask 255.255.255.0 up
> ifconfig eth1 192.168.1.1 netmask 255.255.255.0 up
>
> route add -net 193.254.174.0 netmask 255.255.255.0 eth0
> route add -net 192.168.1.0 netmask 255.255.255.0 eth1
>
>
> To test my router on a other linux "test" machine connected to 192.168.1.0
> network (IP=192.198.1.2) I have done:
>
> route add default gw 192.168.1.1 eth0
>
> So, with this configuration I can see (ping) from "test" the 193.254.174.50
> Lan interface, but I am not able to see other hosts in that network
> (193.254.174.0).
>
> What is it wrong in my configuration?
>
does the computer/s on the other other side of the linux box know how to
route to the box on this side. Routing is a 2-way deal. You need to route
packets in both directions correctly before a connection can be made
Beau Kuiper
[EMAIL PROTECTED]
> Thanks,
>
> Agim
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]