*BSD News Article 89646


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news.nacamar.de!news1.best.com!nntp2.ba.best.com!not-for-mail
From: bsampley@vip.best.com (Burton Sampley)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Mini-Network ?'s
Date: 19 Feb 1997 21:26:00 GMT
Lines: 155
Message-ID: <5efr58$191$1@nntp2.ba.best.com>
References: <5dbio1$91b$1@nntp2.ba.best.com>
NNTP-Posting-Host: bsampley.vip.best.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.7
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35771

Thanks to everyone who has tried to help me.  My mini-network is still
not working!  I have read and attempted to follow the "Pedantic PPP Primer".

Here's what I've done:

On Lose95 box:

Added Linksys Ether16 LAN CARD.  Lose95 recognizes it and loaded appropriate
drivers from both the Lose95 CDROM and the Linksys disk.

Here's a copy of the c:\Windows\Hosts file:

[deleted Micor$oft comments]

127.0.0.1	localhost
192.168.1.2	ppp.best.com
206.184.160.196	bsampley.vip.best.com
204.156.128.1	www.best.com

----

Here's the info from the TCP/IP --> Linksys Ether16 LAN Card dialog box:

IP Address: 	192.168.1.2
netmask:	255.255.255.0
Gateway:	206.184.160.196

DNS Configuration:
Host:	ppp	Domain:	best.com

DNS Server Search Order:
204.156.128.1
204.156.128.10
204.156.128.20

Binding:
Client for MS Networks
File and Print Sharing for MS Network

I can ping only ping the lcoalhost.  If I try a valid IP address Lose95
keeps puking up:

Request timed out [repeated 5 times]

If I try a named host like www.best.com it will just hang until ^C is 
entered.

Telnet fails to connect to the FBSD box.  Since both Telnet and ping fail
I haven't bothered to try FTP.

______

On the real machine I have done the following:

I've edited the /etc/sysconfig with the following:

added de0 to the network_interfaces= line
added: ifconfig_de0="inet 192.168.1.1 netmask 0xffffff00"
changed: gateway=YES from gateway=NO

verified my host name is correct.

Here's the output of ifconfig -a:

bash$ ifconfig -a
de0: flags=c843<UP,BROADCAST,RUNNING,SIMPLEX,LINK2,MULTICAST> mtu 1500
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:00:c0:5d:65:0e 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet 206.184.160.196 --> 204.156.128.1 netmask 0xffffff00 
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
bash$ 

I can successfully ping the localhost, www.best.com and the Lose95 box
from the FBSD side:

bash$ ping ppp.best.com
PING ppp.best.com (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=32 time=2.167 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=32 time=1.167 ms
^C
--- ppp.best.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 1.167/1.667/2.167 ms
bash$ 

bash$ ping 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=32 time=20.236 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=32 time=1.206 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=32 time=1.184 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=32 time=1.188 ms
^C
--- 192.168.1.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1.184/5.954/20.236 ms
bash$ 

and...

bash$ ping www.best.com
PING www.best.com (206.184.139.12): 56 data bytes
64 bytes from 206.184.139.12: icmp_seq=0 ttl=252 time=228.680 ms
64 bytes from 206.184.139.12: icmp_seq=1 ttl=252 time=180.361 ms
64 bytes from 206.184.139.12: icmp_seq=2 ttl=252 time=190.344 ms
64 bytes from 206.184.139.12: icmp_seq=3 ttl=252 time=160.391 ms
^C
--- www.best.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 160.391/189.944/228.680 ms
bash$ 

Here's my /etc/hosts file:
127.0.0.1               localhost localhost.my.domain
206.184.160.196         bsampley.vip.best.com bsampley
192.168.1.2             ppp.best.com

Here's my /etc/resolv.conf file:
bash$ cat /etc/resolv.conf 
domain  vip.best.com
nameserver      204.156.128.1
nameserver      204.156.128.10
nameserver      204.156.128.20

Here's /etc/host.conf:
bash$ cat host.conf
# $FreeBSD$
# Default is to use the nameserver first
bind
# If that doesn't work, then try the /etc/hosts file
hosts
# If you have YP/NIS configured, uncomment the next line
# nis

What am I doing wrong?????

User-ppp works fine form the FBSD box to best.com.

Oh, BTW, the Ethernet cards are connected with a 50 ft thin coax cable w/ 2 'T'
connecters and terminated on the ends w/ 50 ohm terminators.

Other notes of interest:

206.184.160.196 is the static IP address wwww.best.com has assigned to me.
204.156.128.1   is the DNS and gateway address at www.best.com.

I believe Best Internet Services is using FBSD on some of their boxes.  

Burton Sampley
Email: bsampley@best.com | home page: http://www.best.com/~bsampley
Alternate Email: bsampley@haywire.csuhayward.edu