Ping and general network weirdness

Christopher Black cblack at securecrossing.com
Thu Jun 30 00:22:14 GMT 2005


It depends where fragile is mapped to the IP.  If it's only in the hosts
file, the other machines have no way of knowing, and will probably fail
to resolve 'fragile' to an IP.  If it's in DNS somewhere, you just need
to correct the DNS record.

Try pinging by IP?

On Thu, 2005-06-30 at 01:10 +0100, Phil Cooper wrote:
> Thanks;
> 
> I checked with ifconfig, and fragile's IP is actually 192.168.0.224,  
> and I put this in the hosts file.
> 
> Now, I can ping and ssh into fragile using the IP address, but  
> pinging "fragile" still assumes 192.168.0.116 is it's IP - so does  
> the fault now lie with the other machines on the network? How do I  
> get them to realise that fragile==192.168.0.224 and not .116?
> 
> - P
> 
> 
> On 30 Jun 2005, at 00:57, fbsd_user wrote:
> >
> > Do you have fragile.mshome.net in the /etc/hosts  file?
> >
> > To ping using fragile.mshome.net you would need a DSN server
> > to resolve that name to an internal IP address.
> >
> > Look in the ports collection for djbdns
> >
> >
> > -----Original Message-----
> > From: owner-freebsd-questions at freebsd.org
> > [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Phil Cooper
> > Sent: Wednesday, June 29, 2005 7:43 PM
> > To: freebsd-questions at freebsd.org
> > Subject: Ping and general network weirdness
> >
> >
> > Hi everybody;
> >
> > Not doing too well with my first freeBSD install. I have a machine
> > set up with the name "fragile", no ipv6, DHCP, no ipfw, and sshd on.
> >
> > Problem is, I can ping out to other machines on the network, or to
> > another machine on the Internet ('net connection via another winXP
> > machine), but neither of the other machine on the network can ping
> > fragile. Fragile can ping itself via localhost, but not by name.
> >
> >  From any machine, or fragile itself, pinging "fragile" or the IP
> > gives:
> >
> > bramley:~ phil$ ping fragile
> > PING fragile.mshome.net (192.168.0.116): 56 data bytes
> > ping: sendto: No route to host
> > ping: sendto: Host is down
> > ping: sendto: Host is down
> > ping: sendto: Host is down
> > ping: sendto: Host is down
> > ^C
> > --- fragile.mshome.net ping statistics ---
> > 10 packets transmitted, 0 packets received, 100% packet loss
> > bramley:~ phil$
> >
> > Any ideas?
> >
> >
> >
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
> >
> >
> 
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
-- 
Christopher Black
Chief Security Engineer
Secure Crossing
22750 Woodward Suite 304 - Ferndale, MI 48220
Tel (800) 761-4299 | Direct (248) 658-6120
cblack at securecrossing.com | www.securecrossing.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050629/001c6648/attachment.bin


More information about the freebsd-questions mailing list