网络故障排除实战技巧

http://tech.ddvip.com   2007年06月24日    社区交流 收藏本文

内容摘要:我们曾经介绍过一篇关于如何选择网络故障排除方法的文章,介绍了三种网络故障排除方法。这里我们又重拾话题,通过具体实例助您排除网络故障。

  通过表B,我们可以发现尽管网络可以连接,但存在一些第一层的问题。

  方法3:如果这个端口有网络连接而且没有问题该怎么办呢?接下来就应该查看第二层。请看例子

  Switch#show mac address-table interface fastEthernet 0/14

  硬件地址表

  Vlan 硬件地址 类型 端口号

  1 00c0.b768.5409 DYNAMIC Fa0/14

  Total Mac Addresses for this criterion: 1

  Switch#

  如果这一信息符合PC上的MAC地址,接下来就要确定交换机端口上没有不相关的配置。例如:

Switch# show run interface fa0/14
Building configuration...
Current configuration : 82 bytes
interface FastEthernet0/14
switchport mode access
spanning-tree portfast
end
Switch#

  尽管可能还有第二层别的问题存在,至少在这一层看起来情况还不错。接下来,查看第三层。在PC上使用IPCONFIG /ALL命令进行检查,如列表C列所示。

  列表C

C:> ipconfig /all
Windows IP Configuration
    Host Name . . . . . . . . . . . . : PC100
    Primary Dns Suffix . . . . . . . : TechRepublic.com
    Node Type . . . . . . . . . . . . : Peer-Peer
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : TechRepublic.com
Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . : TechRepublic.com
    Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
    Physical Address. . . . . . . . . : 00-C0-B7-68-54-09  
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IP Address. . . . . . . . . . . . : 10.80.2.2
    Subnet Mask . . . . . . . . . . . : 255.255.0.0
    Default Gateway . . . . . . . . . : 10.80.2.1
    DHCP Server . . . . . . . . . . . : 10.2.1.26
    DNS Servers . . . . . . . . . . . : 10.2.1.26
    Primary WINS Server . . . . . . . : 10.2.1.26
    Secondary WINS Server . . . . . . : 10.2.1.21
    Lease Obtained. . . . . . . . . . : Wednesday, November 02, 2005 5:43:55 AM
    Lease Expires . . . . . . . . . . : Thursday, November 10, 2005 5:43:55 AM

责编:豆豆技术应用

正在加载评论...