View Single Post
Old 08-25-2011, 08:39 AM   #2
t3hbvfdyp
 
Posts: n/a
Default

| Back to logs list

2125552 2009 年 12 月 07 日 09:07 Reading (loading. ..) Comments (0) Category: Technical Digest
If it is pure DOS, then DOS-card program to prepare, xxxx.dos, and then make a autoexec.bat file in the net xxxx.dos followed by a 16-hexadecimal address, such as the 0X75 and so on. Just more than one computer file to change the ip wattcp.cfg to:
IP = 192.168.100.44
NETMASK = 255.255.255.0
GATEWAY = 192.168.100.1
======= ==========================================
; in the DOS window under windows,belstaff outlet, to use Netsh commands into the state of the network configuration under DOS, you can achieve a variety of network configuration.

1, enter the IP setting mode

in the DOS environment,belstaff leather, set the network parameters, you must first set the mode before they can enter the IP. Open the Run dialog box before the system,belstaff online, the implementation of \\In this mode, you can use the \and so on.

2, set the IP address

set in the IP mode, the implementation of \IP address, netmask address, gateway address. One, \that set a static address, \Gateway is a specific metric, under normal circumstances, this value should be set to \
example, now is a Win2000 workstation in the LAN, assign a fixed IP address \255.0 \Then you can set the IP mode, the implementation of the string command \successfully set.
If you are a dial-up users, the need to assign your computer a dynamic IP address to be set in the IP mode, enter the command string \set address Internet connection source = dhcp \

3, set the DNS server

set in the IP mode, you can specify the network connection settings for the DNS server, as long as the implementation of \Which \
example, the computer now to the current DNS server is set to \\At this point, you can run \If the computer starts
need dynamic DNS server, you can do \

4, query configuration information

we know that in DOS environment, the use of \information is limited, only IP address,belstaff coat, netmask address, gateway address. In the IP Settings mode, you can view the various network configuration information. For example, the implementation of \
the implementation of \is turned off, or listening state.
flexible use of the command, you can discover whether the system has been invasive, and if there is a strange strange host and local host port, a connection is established, that the system likelihood under attack, this time you must quickly take measures to ensure system security.
course, Netsh also provide you with a lot of information in order to query the network, for example, IP statistics query command, query TCP statistics command, query UDP, ICMP statistics orders, these commands are relatively simple to use, not one by one here described in detail.

5, quickly change configuration

If your laptop requires a different network environment, then before each work, the total need to modify the network parameters, it is too much trouble. Now, you can Netsh mode,belstaff sale, it's easy to quickly modify network configuration to achieve the purpose of specific steps:
in the DOS command line mode, enter the string command \-c interface dump> c: \ net1.txt \Internet parameters); following open net1.txt file, you can see the configuration shown in Figure 5, including the workstation IP address, mask IP address, gateway IP address. Now, you can use laptop computers may be used to configure other network environment parameters, replacing the corresponding parameters here, the rest remain unchanged, then the text file as \2, the Internet network environment parameters); Similarly, you can generate net3.txt,belstaff jackets outlet, net4.txt ... ... netn.txt, save the file with these 3 network, the network 4 ... ... n the environment of the Internet network parameters.
later, notebook computers regardless of which network access to the environment, as long as the DOS command line mode, the implementation of \The purpose of rapid change the network configuration (where the \
  Reply With Quote

Sponsored Links