On Fri, 16 Oct 1998 10:54:17 -0700 (PDT) Renzo Alejandro Granados
<[EMAIL PROTECTED]> writes:

>---John C Cusick <[EMAIL PROTECTED]> wrote:
>>
>> I recently set up my laptop to connect with my
>> main mome computer on a small ethernet system using
>> plip. No sweat. Easy as pie. However ...
>> 
>> It can only communicate with the particular box I plug it into.
>> Is this normal ?? In otherwords, if I try to ping one of the
>> other boxes i recieve an error telling me no route to host.
>> 
>> Can this be cured or is this inherent to plip ??
>> 
>> TIA
>> JC
>> 
>
>try "route add default dev plip0" or "route add default gw IP_remote"
>and check if the box you plug it into has ip forwarding enabled, if it
>doesn't and your kernel is a stable one try "echo "1"
>/proc/sys/net/ipv4/ip_forward" if it's a development one try "echo "1"
>/proc/sys/net/ipv4/ip_forwarding" then it has to work... 
>

shortline's address is 192.168.192.3
laptop's address is 192.168.192.4
mainline's address is 192.168.192.1


(I'm not exactly sure I have the command syntatically correct
in this e-mail, they are correct at home where I am not at this time.
I'm sure they are correct because they work between the two boxes)

The commands I run on the laptop (off the top of my head) are:
# ifconfig add laptop pointopoint shortline dev plip1
# route add default dev plip1

On shortline:
# ifconfig add shortline pointopoint laptop dev plip1

Both etc/hosts files have all boxes listed on the net.

ipforwarding is turned on on shortline.

an ifconfig command shows the plip1 devices on both boxes
connected to the proper ip addresses

I telnet to shortline from laptop with no problems. I telnet from
shortline to mainline with no problems, but when I try to
telnet to mainline from laptop::
# telnet mainline
or
# telnet 192.168.192.1
and I get "no route to host" error

I tried route add default gw 192.168.192.3 on laptop. I am assuming
this is telling the 'laptop' that the point-to-point connection
'shortline' is
the gateway to the network, right?

I'm missing something real obvious and I don't have a clue. Can anyone
out.

Thanks in advance.
JC

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

Reply via email to