解決使用者手動設定IP造成IP衝突問題

這個是一個很常見的問題. 總是會有使用者自己手動設定IP使得別人的電腦造成IP衝突. 當發生IP衝突的時候記得抄一下那個使用者的MAC address. 進去 Cisco Switch 找該網路孔. 用下列指令列出MAC address

3750#show mac address-table
         Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
 All    0100.0aaa.bbbc    STATIC      CPU
 All    0100.0aaa.bbbd    STATIC      CPU
 All    0180.cc00.0000    STATIC      CPU
 All    0180.c200.0001    STATIC      CPU
 All    0180.c200.0002    STATIC      CPU
 All    0180.c200.0003    STATIC      CPU
 All    0180.c200.0004    STATIC      CPU
 All    0180.c200.0005    STATIC      CPU
 All    0180.c200.0006    STATIC      CPU
 All    0180.c200.0007    STATIC      CPU
 All    0180.c200.0008    STATIC      CPU
 All    0180.c200.0009    STATIC      CPU
 All    0180.c200.000a    STATIC      CPU
 All    0180.c200.000b    STATIC      CPU
 All    0180.c200.000c    STATIC      CPU
 All    0180.c200.000d    STATIC      CPU
 All    0180.c200.000e    STATIC      CPU
 All    0180.c200.000f    STATIC      CPU
 All    0180.c200.0010    STATIC      CPU
 All    ffff.ffff.ffff    STATIC      CPU
  2    00e0.812d.xxxx    DYNAMIC     Gi1/0/16
  2    00e0.812d.xxxx    DYNAMIC     Gi1/0/20
  2    00e0.812d.xxxx    DYNAMIC     Gi1/0/18
  5    000c.298d.xxxx    DYNAMIC     Gi1/0/19
  5    000d.93c8.xxxx    DYNAMIC     Gi1/0/2
  5    000e.7fe0.xxxx    DYNAMIC     Gi1/0/19
  5    000e.7fe8.xxxx    DYNAMIC     Gi1/0/19
Total Mac Addresses for this criterion: xx

在上列的結果比對是否有該使用者的MAC address. 假設使用者的MAC address 出現在 Gi1/0/19 孔上面. 然後就把它關掉.

3750#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
3750(config)#interface Gi1/0/19
3750(config-if)#shutdown

這樣那個使用者就不能用那個孔上網路. 沒多久使用者就會來說他不能上網. 這樣就搞定了.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.