*BSD News Article 91704


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!128.230.129.106!news.maxwell.syr.edu!news.mathworks.com!howland.erols.net!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.lan.awfulhak.org (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.2-RELEASE + PLIP = problem
Date: 21 Mar 1997 14:40:06 GMT
Organization: Awfulhak Ltd.
Lines: 49
Message-ID: <5gu6k6$bm9@ui-gate.utell.co.uk>
References: <5gm6f1$ukc@hecate.umd.edu> <5gmguh$icd@ui-gate.utell.co.uk>
    <5grfr6$bip@ui-gate.utell.co.uk> <5gsgpd$4pa@hecate.umd.edu>
Reply-To: brian@awfulhak.demon.co.uk, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37460

In article <5gsgpd$4pa@hecate.umd.edu>,
	marat@Glue.umd.edu (Marat Fayzullin) writes:
> Brian Somers (brian@shift.lan.awfulhak.org) wrote:
>: If telnet from the router to the laptop works, it means packets can
>: travel both ways.  Try attempting a telnet from the laptop to the
>: router and waiting for a long time.  It may be the case that the
> Ok, here is what happens:
> 
> 1. Doing
>    ifconfig lp0 <gateway_addr> <laptop_addr> at the gateway
> 2. Doing
>    ifconfig <laptop_addr> <gateway_addr>
>    route add default <gateway_addr>
>    at the laptop
> 3. Trying to ping/telnet/etc. gateway from the laptop --> it works
> 4. Trying to ping/telnet/etc. router from the laptop --> nothing happens
> 5. Manually adding a route to laptop at the router.

Yep, this is necessary.

> 6. Trying to ping/telnet/etc. router from the laptop --> nothing happens

???

> 7. Logging onto router and telnetting t laptop --> it works
> 8. Trying to ping/telnet/etc. router from the laptop --> it works now

And should have done last time.... does this happen if you just ping
with just IP numbers too ?  It's possible that there's a DNS problem
- unrelated to the routing issue.  If you just use ping and IP numbers
rather than machine names, step 6. should work first time.

> 
> Any ideas? At this point I'm almost sure something is wrong in this
> sequence. The gateway has two IP addresses: Ethernet and PLIP ones.
> All addresses are taken from the same class-C group.

Can you "draw" what's going on (in ascii) ?  ie. what are the IP
numbers and netmasks of each machine.  It may be that the laptop
has an IP number that's part of the network that the other machines
share - this should not work.....

> 
> Marat

-- 
Brian <brian@awfulhak.demon.co.uk> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !