วันพุธที่ 25 สิงหาคม พ.ศ. 2553

คำสั่ง DOS ในการเช็คNETWORK

> ipconfig ... Show information.
> ipconfig /all ... Show detailed information
> ipconfig /renew ... renew all adapaters
> ipconfig /renew EL* ... renew adapters named EL....
> ipconfig /release *ELINK?21* ... release all matching adapters,
eg. ELINK-21, myELELINKi21adapter.
Options
/? Display this help message.
/all Display full configuration information.
/release Release the IP address for the specified adapter.
/renew Renew the IP address for the specified adapter.
/flushdns Purges the DNS Resolver cache.
/registerdns Refreshes all DHCP leases and re-registers DNS names
/displaydns Display the contents of the DNS Resolver Cache.
/showclassid Displays all the dhcp class IDs allowed for adapter.
/setclassid Modifies the dhcp class id.


แค่นี้ก็พอมั้ง

มี ping [ip or name]
มี tracert [ip] ไว้ trace ว่าถ้าจะติดต่อไป ip ดังกล่าว จะผ่าน gateway หรือ router ใดบ้าง
มี finger
Displays information about a user on a specified system running the
Finger service. Output varies based on the remote system.

FINGER [-l] [user]@host [...]

มี netstat ตัวนี้คล้ายกับ netstat บนลีนุก
Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]

-a Displays all connections and listening ports.
-e Displays Ethernet statistics. This may be combined with the -s
option.
-n Displays addresses and port numbers in numerical form.
-p proto Shows connections for the protocol specified by proto; proto
may be TCP or UDP. If used with the -s option to display
per-protocol statistics, proto may be TCP, UDP, or IP.
-r Displays the routing table.
-s Displays per-protocol statistics. By default, statistics are
shown for TCP, UDP and IP; the -p option may be used to specify
a subset of the default.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press CTRL+C to stop redisplaying
statistics. If omitted, netstat will print the current
configuration information once.

มี arp อันนี้เผื่ออยากรู้ว่าเครื่อง ip นั้นๆมี MAC-Address อะไร
Displays and modifies the IP-to-Physical address translation tables used by
address resolution protocol (ARP).

ARP -s inet_addr eth_addr [if_addr]
ARP -d inet_addr [if_addr]
ARP -a [inet_addr] [-N if_addr]

-a Displays current ARP entries by interrogating the current
protocol data. If inet_addr is specified, the IP and Physical
addresses for only the specified computer are displayed. If
more than one network interface uses ARP, entries for each ARP
table are displayed.
-g Same as -a.
inet_addr Specifies an internet address.
-N if_addr Displays the ARP entries for the network interface specified
by if_addr.
-d Deletes the host specified by inet_addr. inet_addr may be
wildcarded with * to delete all hosts.
-s Adds the host and associates the Internet address inet_addr
with the Physical address eth_addr. The Physical address is
given as 6 hexadecimal bytes separated by hyphens. The entry
is permanent.
eth_addr Specifies a physical address.
if_addr If present, this specifies the Internet address of the
interface whose address translation table should be modified.
If not present, the first applicable interface will be used.
Example:
> arp -s 157.55.85.212 00-aa-00-62-c6-09 .... Adds a static entry.
> arp -a .... Displays the arp table.


แค่นี้ก่อง

เมื่อ: 11 ธันวาคม 2006, 14:33:14
--------------------------------------------------------------------------------
telnet ,ftp

พื้นฐานงะ สำหรับพวกนี้สำหรับ client ติดต่อ ไป server นะ
สำหรับ server ไม่รู้คำสั่งบน dos เหมือนกัน
รู้แต่ต้องลง IIS แล้วเซ็ทเอาจาก control panel
ถึงจะรันพวก telnet server ,ftp server ได้หรือไม่ก็ใช้โปรแกรมเสริมที่ต้องโหลดเอง

1 ความคิดเห็น:

  1. ถ้าได้รับคำอธิบายอีกก็คงจะดีไม่น้อย ผมไม่ค่อยรู้เรื่องเท่าไรพอเริ่มเล่นได้ไม่นานแต่สนใจมากเรื่องคอมพิวเตอร์
    ขอบคุณมากครับ

    ตอบลบ