偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

路由DHCP設(shè)置經(jīng)典實(shí)例

網(wǎng)絡(luò) 網(wǎng)絡(luò)管理
在DHCP以及路由設(shè)置中,是比較復(fù)雜的。這里我們就來(lái)看一個(gè)小型辦公網(wǎng)絡(luò),有兩家公司(A、B)在一個(gè)寫字樓辦公,共申請(qǐng)一條4M獨(dú)享VDSL專線(其中A是繳3M的專線費(fèi)用,B是繳1M的專線費(fèi)用),共60臺(tái)電腦左右,各30臺(tái)電腦,各三臺(tái)非網(wǎng)管24口D-LINK交換機(jī),一臺(tái)華為1821路由器(1wan口,4lan口)。

在DHCP以及路由設(shè)置中,是比較復(fù)雜的。這里我們就來(lái)看一個(gè)小型辦公網(wǎng)絡(luò),有兩家公司(A、B)在一個(gè)寫字樓辦公,共申請(qǐng)一條4M獨(dú)享VDSL專線(其中A是繳3M的專線費(fèi)用,B是繳1M的專線費(fèi)用),共60臺(tái)電腦左右,各30臺(tái)電腦,各三臺(tái)非網(wǎng)管24口D-LINK交換機(jī),一臺(tái)華為1821路由器(1wan口,4lan口)。

用戶特殊需求:

(1)、A、B不能互訪。

(2)、A、B都通過(guò)華為路由器DHCP獲取地址。

(3)、A、B帶寬必須劃分開,A享受3M帶寬,B享受1M帶寬(原來(lái)的時(shí)候B公司網(wǎng)絡(luò)流量過(guò)大經(jīng)常影響到A公司網(wǎng)絡(luò)辦公)。

簡(jiǎn)單解決方案:

根據(jù)現(xiàn)有網(wǎng)絡(luò)條件,實(shí)際上僅通過(guò)華為1821路由器可以實(shí)現(xiàn)以上功能,具體實(shí)施如下:

(1)、在華為路由器1821內(nèi)部網(wǎng)關(guān)口(eth1/0)劃分子接口(eth1/0.1、eth1/0.2),分別配置兩個(gè)網(wǎng)關(guān)(192.168.0.1、192.168.0.2),并分別進(jìn)行封裝與vlan2、vlan3相對(duì)應(yīng)。

(2)、在華為路由器1821兩個(gè)lan口(eth1/1、eth1/2)劃分兩個(gè)vlan(vlan2、vlan3)。

(3)、分別在兩個(gè)不同的邏輯子接口(eth1/0.1、eth1/0.2)配置nat并應(yīng)用。

(4)、分別在兩個(gè)不同的邏輯子接口(eth1/0.1、eth1/0.2)配置dhcp,在同一物理接口針對(duì)兩個(gè)vlan網(wǎng)絡(luò)應(yīng)用dhcp來(lái)分配兩個(gè)不同的網(wǎng)段。

(5)、由于該路由器lan口為二層端口,無(wú)法實(shí)現(xiàn)qos car限速,只能考慮在其唯一的內(nèi)部網(wǎng)關(guān)接口(eth1/0)的子接口上實(shí)現(xiàn)qos car限速達(dá)到帶寬限制的作用。

(6)、配置wan口地址(X、X、X、X),配置static route地址,大功告成。

(7)、配置用戶登錄(super、console、vty等)用戶名及密碼(這里僅配置密碼模式)。

(8)、測(cè)試并觀察端口信息、負(fù)載信息等,隨時(shí)調(diào)整相應(yīng)策略,由于考慮到其設(shè)備處理能力及時(shí)間緊迫,并未增加太多策略(如ACL等)和功能。

華為1821路由器具體配置如下:

  1. #  
  2. sysname Quidway  
  3.  
  4. #  
  5. clock timezone gmt-12:000 minus 12:00:00  
  6.  
  7. #  
  8. cpu-usage cycle 1min  
  9.  
  10. #  
  11. connection-limit disable  
  12. connection-limit default action deny  
  13. connection-limit default amount upper-limit 50 lower-limit 20  
  14.  
  15. #  
  16. web set-package force flash:/http.zip  
  17.  
  18. #  
  19. radius scheme system  
  20.  
  21. #  
  22. domain system  
  23.  
  24. #  
  25. local-user *******  
  26. password cipher .]@*********  
  27. service-type telnet terminal  
  28.  
  29. level 3  
  30. service-type ftp  
  31.  
  32. #  
  33. acl number 2000    \\ 配置nat Acl  
  34. rule 0 permit source 192.168.0.0 0.0.0.255  
  35.  
  36. #  
  37. acl number 3000    \\ 配置nat Acl  
  38. rule 0 permit ip source 192.168.1.0 0.0.0.255  
  39.  
  40. acl number 3001    \\配置 Firewall Acl  
  41. rule 0 deny ip destination 192.168.1.0 0.0.0.255  
  42.  
  43. acl number 3002   \\配置 Firewall Acl  
  44. rule 0 deny ip destination 192.168.0.0 0.0.0.255  
  45.  
  46. #  
  47. interface Ethernet1/0  
  48. ip address dhcp-alloc  
  49.  
  50. #  
  51. interface Ethernet1/0.1  
  52. ip address 192.168.0.1 255.255.255.0  
  53.  
  54. dhcp select interface   \\ dhcp 應(yīng)用于子接口  
  55.  
  56. dhcp server dns-list 202.106.0.20 202.106.196.115  
  57.  
  58. firewall packet-filter 3001 inbound   \\ firewall ACL過(guò)濾應(yīng)用于接口  
  59.  
  60. vlan-type dot1q vid 2    \\子接口封裝dot1q  
  61.  
  62. qos car inbound any cir 3072000 cbs 153600 ebs 1000 green pass red discard  
  63. \\流量限速qos car 配置  
  64.  
  65. qos car outbound any cir 3072000 cbs 153600 ebs 1000 green pass red discard  
  66. \\流量限速qos car 配置  
  67.  
  68. #  
  69. interface Ethernet1/0.2  
  70. ip address 192.168.1.1 255.255.255.0  
  71.  
  72. dhcp select interface       \\ dhcp 應(yīng)用于子接口  
  73.  
  74. dhcp server dns-list 202.106.0.20 202.106.196.115  
  75.  
  76. firewall packet-filter 3002 inbound     \\ firewall ACL過(guò)濾應(yīng)用于接口  
  77.  
  78. vlan-type dot1q vid 3     \\子接口封裝dot1q  
  79.  
  80. qos car inbound any cir 1024000 cbs 51200 ebs 1000 green pass red discard  
  81. \\流量限速qos car 配置  
  82.  
  83. qos car outbound any cir 1024000 cbs 51200 ebs 1000 green pass red discard  
  84. \\流量限速qos car 配置  
  85.  
  86. #  
  87. interface Ethernet1/1  
  88. port access vlan 2       \\將e1/1端口加入vlan2  
  89.  
  90. #  
  91. interface Ethernet1/2  
  92.  
  93. port access vlan 3                                    \\將e1/1端口加入vlan2  
  94.  
  95. #  
  96. interface Ethernet1/3  
  97.  
  98. #  
  99. interface Ethernet1/4  
  100.  
  101. #  
  102. interface Ethernet2/0     \\進(jìn)入wan口配置  
  103.  
  104. ip address X、X、X、X 255.255.255.224  
  105. nat outbound 3000  
  106. nat outbound 2000  
  107.  
  108. #  
  109. interface NULL0  
  110.  
  111. #  
  112. FTP server enable  
  113.  
  114. #  
  115. ip route-static 0.0.0.0 0.0.0.0  y、y、y、y  preference 60  
  116.  
  117. #  
  118. user-interface con 0                                     \\用戶登錄配置  
  119.  
  120. authentication-mode password  
  121. set authentication password cipher 0HB8%-MB%I^[Q1R','&6NQ!!  
  122. user-interface vty 0 4  
  123. user privilege level 3  
  124. set authentication password cipher 0HB8%-MB%I^[Q1R','&6NQ!!  
  125. #  
  126. return  
  127. [Quidway] 

 

責(zé)任編輯:佟健 來(lái)源: 網(wǎng)絡(luò)整理
相關(guān)推薦

2010-09-06 13:50:01

PPPOEDHCP

2010-09-29 14:30:54

路由DHCP設(shè)置

2010-08-23 17:02:12

DHCP路由

2010-09-29 16:00:22

思科路由DHCP設(shè)置

2010-09-29 14:30:54

Cisco路由DHCP

2010-09-27 10:14:13

路由器DHCP功能

2009-12-04 17:05:18

Routeros軟路由

2010-01-28 15:58:50

路由交換設(shè)備

2011-08-16 10:50:35

DHCP路由器配置

2009-12-16 10:22:52

2009-11-19 15:01:58

2009-12-21 16:52:52

靜態(tài)路由設(shè)置

2010-08-26 15:44:26

DHCP路由器

2010-08-23 17:07:40

DHCP服務(wù)器

2009-11-10 11:01:15

無(wú)線路由器設(shè)置

2010-08-26 15:36:30

DHCP路由

2011-04-02 10:26:04

2009-12-23 13:42:22

無(wú)線路由安全功能

2010-09-26 14:42:58

路由器DHCP設(shè)置

2010-08-31 16:47:43

DHCP服務(wù)器
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)