才子佳人博客

我的故事我讲述

Windows XP/2000网络连接修复的步骤
 
来源:xjh  编辑:xjh  2006-12-15

What actions occur when I click Repair on a network connection in Windows XP and later?

A.If you right-click a network connection and select Status, Windows displays information about the connections speed, duration of connection, and packet activity. For XP and later, a Repair option appears on the Support tab. When you click Repair, Windows attempts to resolve a range of problems. Specifically, the OS

Attempts to renew the DHCP lease, if the connection obtains its IP address through DHCP, using a broadcast message.

Flushes the Address Resolution Protocol (ARP) cache using the command
arp -d *

Flushes the NetBIOS cache using the command
nbtstat -R

Flushes the DNS cache using the command
ipconfig /flushdns

Reregisters the NetBIOS name and IP address with WINS using the command
nbtstat -RR

Reregisters the computer name and IP address with DNS using the command
ipconfig /registerdns

Windows XP网络修复的步骤

右键点击网络本地连接,然后点击"修复",Windows将会尝试修复你的网络连接。特别地说,操作系统按照以下步骤执行(实际上是调用内部的函数实现,本文只是模拟一个类似的命令行流程):

1、如果此连接通过广播方式从DHCP获得了一个IP地址的话,修复过程首先会尝试更新DHCP租用。

2、刷新ARP缓存(arp -d *)

3、刷新NetBIOS缓存(nbtstat -R)

4、刷新DNS缓存(ipconfig /flushdns)

5、重新在WINS上注册NetBIOS名称和IP地址(nbtstat -RR)

6、重新在DNS上注册计算机名称和IP地址(ipconfig /registerdns)


分类:网络日志| 查看评论
相关文章
文章点击排行
本年度文章点击排行
发表评论:
  • 昵称: *
  • 邮箱: *
  • 网址:
  • 评论:(最多100字)
  • 验证码: