Eric Chamba wrote:
>
> Does someone know a way to get the MAC (hardware) adress of the nic in a PC
> running an emulator connected (NS/VT or telnet) onto a HP3000 _from the
> HP3000 side_ ?
>
> I know how to get the IP adress of the PC and the Port due to variables set
> by the OS, but I would like to get the MAC adress (for security purpose).
Looks like the following IP<->MAC data is probably derived from LAN ARP info:
:xeq nettool.net.sys "nameaddr;mappings;mapping;quit"
NETTOOL Version: B06000A1
Enter HELP HELP for an explanation of the help facility.
Enter HELP OPERATION for guidance on NETTOOL use.
Commands can be abbreviated, HELP keywords cannot.
Menu-specific commands for the ROOT:
>>>nameaddr
>>>mappings
>>>mapping
Subnet name filter: @
No link address filter
Sorting by IP address
SUBNET: LOOP
================
127.0.0.1 Loopback
SUBNET: LAN1
================
192.168.0.1 Ethernet address :0050047F5055
192.168.0.2 Ethernet address :005004769BE8
192.168.0.5 Ethernet address :00108302E4AB
192.168.0.255 Ethernet address :FFFFFFFFFFFF
255.255.255.255 Ethernet address :FFFFFFFFFFFF
Total number of mappings = 6
>>>quit
:
My 3000 is 192.168.0.3 and does not appear above.
192.168.0.1 is my default gateway.
192.168.0.2 is my Win98 PC currently logged on via Reflection telnet.
192.168.0.5 is my NT PC currently logged on via Reflection telnet.
- Mark B.