*BSD News Article 32259


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!nodecg.ncc.telecomwa.oz.au!not-for-mail
From: tdwyer@netbsd08.dn.itg.telecom.com.au (Terry Dwyer)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: ep0 problem under FreeBSD-1.1-RELEASE
Date: 1 Jul 1994 13:47:46 +0800
Organization: Telecom Australia
Lines: 72
Message-ID: <2v0amg$1rq@netbsd08.dn.itg.telecom.com.au>
References: <Cs6D0n.Lrq@murdoch.acc.Virginia.EDU>
NNTP-Posting-Host: 144.139.63.32
X-Newsreader: TIN [version 1.2 PL2]

M. Mitchell Smith (mms7r@ascus.micr.Virginia.EDU) wrote:
: I'm having a problem with the ep0 interface with FreeBSD-1.1-RELEASE.
: The machine ``tetrad'' is in domain ``micr.virginia.edu''.  The system
: can make network connections with other systems in the same ``micr''
: subnet, but nothing outside.  Details below.  Any help would be greatly
: appreciated.
: 							-- Mitch

[ Kernel config stuff deleted ]

: (4) Here is the the ifconfig line generated by /etc/netstart:

: 	ifconfig ep0 inet 128.143.16.10 netmask 0xffffff00 broadcast 128.143.16.0 aui

Are you explicitly stating the broadcast address in hostname.ep0?
I don't understand why. I'm sure it is not needed

Have you tried a `netstat -r' to see if routed has learnt about other
networks beyond your gateway.

You don't say so I'll ask; have you pinged your router interface and all
others on the way to your destination to establish the bounds of your 
visible network.

try a traceroute to the host you are trying to ping.

I have seen similar symptoms to your problem when a host has a larger 
netmask than is correct for the subnet it is connected to.  Check with
whoever maintains the router to establish what the netmask is for
your segment.

: (5) Here is what the interface looks like when it's running:

: 	$ ifconfig ep0
: 	ep0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,ALTPHYS>
: 		inet 128.143.16.10 netmask ffffff00 broadcast 128.143.16.0

: (6) I can telnet, rlogin, etc to a machine in the same subnet.  Here is the ping results:

: 	PING ascus (128.143.16.18): 56 data bytes
: 	64 bytes from 128.143.16.18: icmp_seq=0 ttl=255 time=3.117 ms
: 	...
: 	--- ascus ping statistics ---
: 	5 packets transmitted, 5 packets received, 0% packet loss
: 	round-trip min/avg/max = 1.961/2.250/3.117 ms

: (7) But I can't get anywhere else.  Here's the ping results for another nearby machine
: in the ``med.virginia.edu'' domain:

: 	PING dayhoff (128.143.19.17): 56 data bytes
: 	ping: wrote dayhoff 64 chars, ret=-1
: 	ping: sendto: No route to host
: 	...
: 	--- dayhoff ping statistics ---
: 	4 packets transmitted, 0 packets received, 100% packet loss

I gather you either have this host registered in your /etc/hosts file or
you are getting it from a DNS on your own segment.  Whatever the case, a
netstat -r | grep "128.143.19" will tell you if your machine
knows about that network.

Oh nearly forgot,  have you checked that routed is running?

I hope thais wil be of some help

Terry.

-- 
   _-_|\    Terry Dwyer 	  E-Mail: tdwyer@netbsd08.dn.itg.telecom.com.au
  /     \   System Administrator  Phone: +61 9 491 5161     Fax: +61 9 221 2631
  *_.^\_/   Telecom Australia     Telstra Corporation       MIME capable mailer
       v    Perth  WA                 ( I do not speak for Telstra or Telecom )