China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 07:39
中国DOS联盟论坛 » DOS媒体世界 & 网络技术 (多媒体室) » [Original] How to use network commands under DOS? View 1,672 Replies 9
Original Poster Posted 2003-10-27 00:00 ·  中国 浙江 宁波 鄞州畅联信息技术有限公司
初级用户
Credits 114
Posts 4
Joined 2003-10-27 00:00
22-year member
UID 11993
Gender Male
Status Offline
Hello, great experts! May I ask how to use the network commands under DOS to obtain the hostname and MAC address of a host with a known IP address? In short, it's the user information corresponding to the IP, thank you!
冷血衣云
Floor 2 Posted 2004-08-29 00:00 ·  中国 福建 龙岩 电信
初级用户
Credits 115
Posts 4
Joined 2004-08-29 00:00
21-year member
UID 30941
Gender Male
Status Offline
Got it, and I'll tell you by the way.
Floor 3 Posted 2004-08-30 00:00 ·  中国 广东 惠州 电信
初级用户
Credits 103
Posts 1
Joined 2004-08-30 00:00
21-year member
UID 30965
Gender Male
Status Offline
In Windows 2000, you can use `nbtstat -a IPaddress`
Floor 4 Posted 2004-10-27 00:00 ·  中国 浙江 温州 电信
初级用户
Credits 103
Posts 1
Joined 2004-10-25 00:00
21-year member
UID 32908
Gender Male
Status Offline
Then, what is the command to find out the IP address given the hostname?
Floor 5 Posted 2005-04-29 00:00 ·  中国 辽宁 阜新 中移铁通
中级用户
Credits 268
Posts 40
Joined 2004-03-06 00:00
22-year member
UID 19388
Gender Male
Status Offline
I'm not an expert either
Floor 6 Posted 2005-05-25 00:00 ·  中国 江苏 泰州 电信
初级用户
Credits 103
Posts 1
Joined 2005-04-15 00:00
21-year member
UID 38219
Gender Male
Status Offline
I'm not either
Floor 7 Posted 2005-06-09 00:00 ·  中国 陕西 西安 教育网
初级用户
Credits 110
Posts 3
Joined 2005-06-02 00:00
21-year member
UID 39265
Gender Male
Status Offline
After installing the MS Network Client for MS-DOS, network commands will be provided in the net directory
Floor 8 Posted 2005-06-23 00:00 ·  中国 广东 茂名 电信
初级用户
Credits 109
Posts 3
Joined 2005-06-22 00:00
21-year member
UID 39977
Gender Male
Status Offline
You want to know the IP? Just use the ping command! For example: D:\reload>ping www.163.com
Pinging www.cache.split.netease.com with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Floor 9 Posted 2005-06-23 00:00 ·  中国 吉林 长春 联通
初级用户
Credits 107
Posts 2
Joined 2005-06-23 00:00
21-year member
UID 40017
Gender Male
Status Offline
ping -a the host
Floor 10 Posted 2005-07-23 00:28 ·  中国 广东 广州 黄埔区 电信
初级用户
Credits 138
Posts 18
Joined 2005-07-07 00:00
20-year member
UID 40599
Gender Male
Status Offline
You can also use the command: nslookup known hostname, and you can know its IP address~~
Forum Jump: