HP3000-L Archives

November 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"HOFMEISTER,JAMES (HP-USA,ex1)" <[log in to unmask]>
Reply To:
HOFMEISTER,JAMES (HP-USA,ex1)
Date:
Fri, 9 Nov 2001 00:07:20 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (107 lines)
Hello Folks,

Re: PING by NAME on 3000

Yep, Lars hit the nail on the head (or the head of the nail?)...

----------

The nslookup I use is "/BIND/PUB/bin/nslookup" which "only" performs the
"arpa" name lookup.

The ":netcontrol status" command returns the "ns" node name of a
system as configured in NMMGR.

:netcontrol status
...
NODE NAME               : ECTOR.ATL.HPCOM

If I use the 'ns" node name with the nslookup it will fail:

:nslookup ECTOR.ATL.HPCOM

*** l3107ns1.ssr.hp.com can't find ECTOR.ATL.HPCOM: Non-existent host/domain

----------

The ":netcontrol status;net=lan1" command returns the IP address of
a system as configured in NMMGR.

:netcontrol status;net=lan1
...
NETWORK IP ADDRESS        : $0F2C3034   15.44.48.52

If I use the IP address with the nslookup, it will return the "arpa"
name for the system (assuming a working/configured Domain Name Server).

:nslookup 15.44.48.52

Name:    ector.atl.hp.com
Address:  15.44.48.52

----------

The ping in NET.SYS does not offer a ping by name, only IP (Sorry).

----------

The ping in NETTOOL supports lookup by both "ns" name and "arpa" name:

:nettool.net.sys;info="ping;ping ector.atl.hpcom;quit"
...
Pinging ECTOR.ATL.HPCOM
64 bytes from 15.44.48.52    : icmp_seq=    1 time=    4 ms
...
64 bytes from 15.44.48.52    : icmp_seq=    5 time=    2 ms

------------- FINAL STATISTICS -------------
5 packets transmitted, 5 packets received,0 % packet loss
round-trip (ms) min/avg/max = 2/2/4


:nettool.net.sys;info="ping;ping ector.atl.hp.com;quit"
...
Pinging ECTOR.ATL.HP.COM
64 bytes from 15.44.48.52    : icmp_seq=    1 time=    5 ms
...
64 bytes from 15.44.48.52    : icmp_seq=    5 time=    2 ms

------------- FINAL STATISTICS -------------
5 packets transmitted, 5 packets received,0 % packet loss
round-trip (ms) min/avg/max = 2/2/5

----------

Also, some one on the 3000-l list asked about a reverse lookup...
Yes, the "/BIND/PUB/bin/nslookup" will return an IP address if the
input is the "arpa" node name and will return the "arpa" node name
if the input is the IP address:

:nslookup 15.44.48.52

Name:    ector.atl.hp.com
Address:  15.44.48.52

:nslookup ector.atl.hp.com

Name:    ector.atl.hp.com
Address:  15.44.48.52

Note:  On my machine I have done a newlink command for nslookup.


I hope this helps!

Regards,

James Hofmeister
Hewlett Packard
Worldwide Technology Network Expert Center
P.S. My Ideals are my own, not necessarily my employers.

FYI: I have returned from my month with the Pumpkins.  Pictures are at:
  http://www.heritagepres.com/pumpkins.htm

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2