*BSD News Article 96640


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!uwm.edu!chi-news.cic.net!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!worldnet.att.net!news.dra.com!news2.interlog.com!news.interlog.com!patrick.interlog.com!patrick
From: Patrick McConnell <patrick@patrick.interlog.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problem with FreeBSD to Win 95 connection
Date: 31 May 1997 22:54:33 GMT
Organization: InterLog Internet Services
Lines: 87
Message-ID: <5mqa79$363@news.interlog.com>
NNTP-Posting-Host: patrick.interlog.com
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970516; i386 FreeBSD 2.2.2-RELEASE]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41984

I'm having a problem getting my FreeBSD 2.2.2-RELEASE machine to connect via 
TCP/IP to a 
Windows 95 machine. I followed the tutorial, then went through it again to 
try and find the problem. I can't make any type of connection (ping, even) 
between the computers. Since going through the tutorial, I've played around 
with it to try and get it going...

There are only three computers on the local 
network (but one is NetWare so it doesn't count :)). The FreeBSD machine 
is properly configured for a PPP Internet connection. It is named 
patrick.interlog.com, and uses the static IP address assigned to me by my ISP. 
The Windows 95 machine is named patti.interlog.com with IP 192.168.1.1.
I manually added a route to patti (Win95) on patrick (FBSD) using patrick 
as the gateway. The gateway option is enabled on patrick. 

The rest of this message is more detail in case it might help. Sorry about 
the length. I greatly appreciate any advice you can offer.

Patrick


This console message comes up when I do the command ...
	'route add -llinfo -local patti patrick':
"/kernel: arp_rtrequest: bad gateway value"
... but it makes the route (below) anyway.

If I do 'ping patti', the ping header comes up (PING patti.interlog.com, 
IP addr, etc), and then I get the following console message:
"/kernel: arpresolve: can't allocate llinfo for 192.168.1.1"
... that's why I put '-llinfo' in the route com line - just guessing.

While connected to my ISP, I get this message:
"/kernel: arplookup: 192.168.1.1 failed: gateway route is not ours"
... I think that's because someone is using 192.168.1.1 on the Internet?

And following is the output of a few related commands to show the config 
details:

### ifconfig -a

ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 206.108.68.58 netmask 0xffff0000 broadcast 206.108.255.255
	ether 00:40:33:34:42:92 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
	inet 206.108.68.58 --> 207.34.202.208 netmask 0xffffff00 
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 


### netstat -r (while connected to ISP)

Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            ts8.cc             UGSc        2        0      tun0
localhost.Berkeley localhost.Berkeley UH          0        0       lo0
patti              patrick            UHLS        0       54       ed0
206.108/16         link#1             UC          0        0 
patrick            0:40:33:34:42:92   UHLW        1       26       lo0
ts8.cc             patrick            UH          3        0      tun0


### route get patrick

   route to: patrick
destination: patrick
  interface: lo0
      flags: <UP,HOST,DONE,LLINFO,WASCLONED,LOCAL>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
   16384     16384         0         0         0         0      1500         0 


### route get patti

   route to: patti
destination: patti
  interface: ed0
      flags: <UP,HOST,DONE,LLINFO,STATIC>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
   16384     16384         0         0         0         0      1500         0 


(Why wouldn't patti have the LOCAL flag?)