自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

如何做到路由器限速 讓網(wǎng)絡(luò)更加合理

網(wǎng)絡(luò) 路由交換
其實(shí)很多用戶在是使用路由器過程中,很不注重路由器限速問題,對(duì)路由器進(jìn)行限速,能夠很好的安排我們的網(wǎng)絡(luò)流量,上網(wǎng)的同時(shí)也不影響下載速度。

怎樣才能進(jìn)行有效的路由器限速?讓我們的網(wǎng)絡(luò)更加的合理,前一段時(shí)間一直有客戶問我路由器可不可以做到限制內(nèi)部某些機(jī)子的下行速率,我很自然的答了句:可以做路由器限速的,其實(shí)限速肯定是可以的,但是需要考慮一個(gè)具體的問題。

一般接入路由器都作了地址轉(zhuǎn)換,但是了解到路由器的操作步驟會(huì)發(fā)現(xiàn)如下的執(zhí)行步驟:check input rate limits ------->nat outside to inside------->check output rate limits,所以針對(duì)內(nèi)部部分主機(jī)做路由器限速策略,由于必須在ACL里面指定inside local 地址,所以應(yīng)該在內(nèi)網(wǎng)接口上應(yīng)用service-policy output xxx,而不是在外網(wǎng)接口上的service-policy input xxx!下面是一個(gè)具體路由器配置例子:

 

  1. Router#sh run  
  2. Building configuration...  
  3. Current configuration : 1026 bytes  
  4. !  
  5. version 12.2  
  6. service timestamps debug datetime msec  
  7. service timestamps log datetime msec  
  8. no service password-encryption  
  9. !  
  10. hostname Router  
  11. !  
  12. !  
  13. ip subnet-zero  
  14. !  
  15. !  
  16. no ip domain lookup  
  17. !  
  18. !  
  19. class-map match-all test-class  
  20. match access-group 100  
  21. !  
  22. !  
  23. policy-map speed  
  24. class test-class  
  25. police cir 80000 bc 32000  
  26. conform-action transmit  
  27. exceed-action drop  
  28. interface FastEthernet0/0  
  29. ip address 192.168.1.111 255.255.255.0  
  30. ip nat outside  
  31. duplex auto  
  32. speed auto  
  33. !  
  34. interface FastEthernet0/1  
  35. ip address 172.16.1.1 255.255.255.0  
  36. ip nat inside  
  37. duplex auto  
  38. speed auto  
  39. service-policy output speed  
  40. !  
  41. ip nat inside source list 1 interface FastEthernet0/0 overload  
  42. !  
  43. ip classless  
  44. ip route 0.0.0.0 0.0.0.0 192.168.1.1  
  45. no ip http server  
  46. !  
  47. !  
  48. access-list 1 permit any  
  49. access-list 100 deny ip any host 172.16.1.100  
  50. access-list 100 permit ip any any  
  51. !  
  52. line con 0  
  53. line aux 0  
  54. line vty 0 4  
  55. !  
  56. !  
  57. end  
  58.  

 

責(zé)任編輯:王曉東 來源: 計(jì)世網(wǎng)
相關(guān)推薦

2011-09-14 17:16:14

2011-08-08 09:10:09

2013-07-15 10:45:42

2009-12-03 11:04:57

路由器限速

2009-11-23 14:37:47

路由器設(shè)置方法

2009-12-16 14:05:51

路由器故障分析

2009-12-01 11:19:02

路由器IP限制

2011-08-29 17:55:25

2011-09-08 11:15:51

思科路由器如何限速路由器設(shè)置思科路由器

2009-11-19 15:10:23

路由器設(shè)置

2009-12-14 11:18:59

無線路由器

2012-06-05 09:34:47

2010-08-05 11:00:15

2010-08-04 10:26:24

路由器

2009-12-03 14:16:36

思科路由器

2010-08-04 11:30:33

路由器設(shè)置

2010-08-13 10:24:03

思科路由器限速

2010-08-06 10:33:32

思科路由器限速

2009-11-09 15:35:47

2009-12-03 11:19:39

路由器設(shè)置路由器限速
點(diǎn)贊
收藏

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