In the previous article, we explained the troubleshooting ideas of the DHCP service. I don't know if you already have a clear understanding of it? Here we will focus on the client issues.
Client troubleshooting:
DHCP faults mainly involve two aspects: client problems and server problems. First, we will introduce the troubleshooting methods on the client.
Step 1: Go to Start-> Run-> Enter CMD in the task bar to enter the command line mode.
Step 2: Enter ipcon
the network address of the target host in the IP address format.-n count specifies the number of ping attempts, and the count parameter specifies the number of ping attempts, -l size indicates the size of the data packet sent to the target host.
2) winipcfg/ipconfig
Winipcfg/ipconfig is used to display the specific configuration information of the IP protocol. If the winipcfg/
found no viruses. I thought it would be okay. Open the browser and try to access the Internet. All of a sudden, IE prompts that the search page cannot be found. When ipconfig is called, all returned values are 0.0.0.0. The error message "ipconfig/renew" indicates that the file cannot be found. It's hard to explain. Was it because a system file was deleted when the virus was eliminated? I quickly pulled out
First, environment variables are actually a group of variables, just like the variables you defined in Java. They are used for systems and applications. Program Provide parameters. Specific to the details, such as path, which is an important variable in the system, it tells the system and application the storage location of some essential programs in the system, for example, if you want to use the ipconfig command in the command line window to view yo
the subprocess, and when shell = True , the subprocess is executed by the shell, and it is recommended that the args parameter use a String object.If args is a string, the string specifies the command to execute through the shell.
in [[]: P = subprocess. Popen ("Ipconfig/all", stdout = subprocess. pipe,shell=true) #args = "Ipconfig/all" in
[m]: PRet = P.stdout.read () #父进程获得执行结果
#On Windows with Shell=
One: This batch processing has the flaw, sometimes cannot realize the true meaning double binds!
@echo off
:: Reading native MAC address
If exist Ipconfig.txt del Ipconfig.txt
Ipconfig/all >ipconfig.txt
If exist Phyaddr.txt del Phyaddr.txt
Find "Physical Address" ipconfig.txt >phyaddr.txt
for/f "skip=2 tokens=12"%%m in (phyaddr.txt) do set mac=%%m
:: Reading native IP address
If exist IPAddr.txt del IPaddr.txt
Find "IP address" ipconfig.txt >ipaddr.t
there is no unrelated configuration on the switch port. For example:
switch# Show run interface FA0/14
Building configuration ...
Current configuration:82 bytes
interface FASTETHERNET0/14
switchport mode access
Spanning-tree portfast
Even though there may be a second tier of problems, at least it looks good at this level. Next, look at the third layer. Use the Ipconfig/all command on your PC for checking, as shown in column C of the list.
List C
The following is reproduced from the Internet source code, but I test can not be carried out, do not know how, turn around you can exchangeGet CPU information from your computerfunction Onlyu () {$a = ";$b = Array ();if (function_exists (' exec ')) {if (Mailto:[email protected] (/all ", $b)) {return false;}}elseif (function_exists (' system ')) {Ob_start ();if (Mailto:[email protected] (/all ")) {return false;}else{//...}$b = Ob_get_contents ();Ob_end_clean ();$b = explode ("\ n", $b);//print_r
How can I check router settings? Here we will mainly introduce the detailed steps for checking vro settings and the practical application of ping commands. Open the "control panel-Network-configuration" option to view the installed network protocols. You must configure the following: NetBEUI protocol and TCP/IP protocol, Microsoft friendly logon, and dial-up network adapter. If all of the preceding items exist, check whether the TCP/IP settings are correct.
Check vro setting method 1. ping 127.0
executed the run command from the Start Menu, open the run dialog box for the system, enter the cmd string command in it, click OK, switch the system interface to the MS-DOS work window; In the doscommand line of the window, enter the string command "ipconfig/all" and click the Enter key. The result information that appears later shows that the IP address used by the workstation is "169.254.0.8" 1 ), the result shows that the local workstation does n
Many Windows administrators are very familiar with the ipconfig command line tool, which is used to obtain and modify network interface configuration information. Linux has a similar tool, ifconfig, which is a common tool of most Linux system administrators. However, there are some obvious differences between ipconfig and ifconfig. for example, DOS/Windowsipconfig does not allow you to modify the network
Ma
Ethernet0.3 172.16.3.1/32 Direct 0 0 127.0.0.1 LoopBack0Edit single-arm route settings for one vlan in this sectionIn a vlan, you can set the computer's secondary ip addressPhysical NetworkLast twoChina Unicom with different IP address segments.1. Set the IP address of the computer's PCA[Root # PCA root] # ipconfig eth0 10.65.1.1 netmask 255.255.0.0 [root # PCB root] # ipconfig eth0 10.66.1.1 netmask 255.2
0.
(4) lpprotocolinfo: a pointer to the protocol_info structure, which defines the features of the interfaces created. If this parameter is not zero, the first three parameters (AF, type, Protocol) are ignored.
(5) G: reserved for future socket groups. The identifier of the Set interface group.
(6) dwflags: Set interface attribute description.
Generally, we use the first three, and all the following are null. If the request succeeds, a socket is returned. If an error is returned, socket_
Http://www.x5dj.com/Blog/00534041/00389986.shtml
The original batch processing file is as follows:
@ Echo offIf exist ipconfig.txt del ipconfig.txtIpconfig/All> ipconfig.txtIf exist phyaddr.txt del phyaddr.txtFind "physical address" ipconfig.txt> phyaddr.txtFor/F "Skip = 2 tokens = 12" % m in (phyaddr.txt) do set MAC = % mIf exist ipaddr.txt del ipaddr.txtFind "ip address" ipconfig.txt> ipaddr.txtFor/F "Skip = 2 tokens = 15" % I in (ipaddr.txt) do set IP = % IARP-S % IP % Mac %
Del ipaddr.txtDel
Netsh interface ip dump> c: \ pc1.txt
This command is an interface IP Address Configuration that displays "Local Connection" of course, and is stored in the pc1.txt text file.
Check the file c: \ pc1.txt.
The IP configuration of the current "Local Connection" interface is displayed. We can use the command ipconfig/allto check that the configuration of the current interface is the same as that of pc1.txt.
The two are the same. open the PC1.TXT file, c
The design problem of some intranet dialing software, after dialing in an accidental situation can not automatically obtain DHCP to update the intranet IP, and later found that by manually releasing and regain IP can solve this problem, but each time before the operation also to see whether the IP address has been updated to the intranet address, if the update is not necessary to operate, Otherwise you have to manually release the update, every time you knock a bunch of commands is really troubl
VMware is a very popular virtual machine, in our usual work needs to be used frequently, this article simply summed up the usual use of the three kinds of network configuration, the specific principle did not go deep.The virtual machine system is installed on a Linux system.First, we view all network configuration connections on this computer, using the command: ipconfig
C:\Documents and Settings\user>ipconfig
Troubleshooting:Because the author of the company's clients are automatically obtained through the DHCP server IP address, so this message should be the client is not assigned to the IP address. In the "Run" type "cmd", enter the "command Window", enter "ipconfig" carriage return, found that this computer is currently using the IP address is "169.254.0.6", this result confirms the author's previous judgment, because if the client sent a request to the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service