国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

解決IP地址沖突的完美方法

2020-05-13 13:47:08
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

   使用的方法是采用DHCP方式為用戶分配IP,然后限定這些用戶只能使用動(dòng)態(tài)IP的方式,如果改成靜態(tài)IP的方式則不能連接上網(wǎng)絡(luò);也就是使用了DHCP SNOOPING功能。

  例子:

  version 12.1

  no service pad

  service timestamps debug uptime

  service timestamps log uptime

  no service password-encryption

  service compress-config

  !

  hostname C4-2_4506

  !

  enable password xxxxxxx!

  clock timezone GMT 8

  ip subnet-zero

  no ip domain-lookup

  !

  ip dhcp snooping vlan 180-181 // 對(duì)哪些VLAN 進(jìn)行限制

  ip dhcp snooping

  ip arp inspection vlan 180-181

  ip arp inspection validate src-mac dst-mac ip

  errdisable recovery cause udld

  errdisable recovery cause bpduguard

  errdisable recovery cause security-violation

  errdisable recovery cause channel-misconfig

  errdisable recovery cause pagp-flap

  errdisable recovery cause dtp-flap

  errdisable recovery cause link-flap

  errdisable recovery cause l2ptguard

  errdisable recovery cause psecure-violation

  errdisable recovery cause gbic-invalid

  errdisable recovery cause dhcp-rate-limit

  errdisable recovery cause unicast-flood

  errdisable recovery cause vmps

  errdisable recovery cause arp-inspection

  errdisable recovery interval 30

  spanning-tree extend system-id

  !

  !

  interface GigabitEthernet2/1 // 對(duì)該端口接入的用戶進(jìn)行限制,可以下聯(lián)交換機(jī)

  ip arp inspection limit rate 100

  arp timeout 2

  ip dhcp snooping limit rate 100

  !

  interface GigabitEthernet2/2

  ip arp inspection limit rate 100

  arp timeout 2

  ip dhcp snooping limit rate 100

  !

  interface GigabitEthernet2/3

  ip arp inspection limit rate 100

  arp timeout 2

  ip dhcp snooping limit rate 100

  !

  interface GigabitEthernet2/4

  ip arp inspection limit rate 100

  arp timeout 2

  ip dhcp snooping limit rate 100

  注:DHCP Snooping

  DAI,Dynamic ARP Inspection

  IP Source Guard

  DHCP Interface Tracker (Option 82)

  設(shè)備局限很大,3550---4000系列之間能用,用來(lái)防止基于內(nèi)部的2層攻擊,同一VLAN防止私自建立DHCP SERVER。

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 长顺县| 克什克腾旗| 柘城县| 宜春市| 石首市| 凤庆县| 上杭县| 陇南市| 岐山县| 木里| 菏泽市| 望谟县| 荔浦县| 基隆市| 洛隆县| 岳池县| 西充县| 墨江| 徐闻县| 光泽县| 延寿县| 秦皇岛市| 财经| 绩溪县| 龙州县| 石渠县| 贺州市| 金乡县| 威信县| 同仁县| 青海省| 张掖市| 建水县| 乐陵市| 临泽县| 霞浦县| 鱼台县| 邹平县| 平度市| 华池县| 阜新|