99精品伊人亚洲|最近国产中文炮友|九草在线视频支援|AV网站大全最新|美女黄片免费观看|国产精品资源视频|精彩无码视频一区|91大神在线后入|伊人终合在线播放|久草综合久久中文

您好,歡迎來電子發(fā)燒友網(wǎng)! ,新用戶?[免費注冊]

您的位置:電子發(fā)燒友網(wǎng)>電子百科>網(wǎng)絡(luò)>路由器>

思科路由器配置基礎(chǔ)(五—七) - 思科路由器配置基礎(chǔ)_7個方面詳解cisco路由器配置

2018年05月14日 09:32 網(wǎng)絡(luò)整理 作者: 用戶評論(0

  五、配置DHCP

  命令

  en

  config t //全局模式

  ip dhcp excluded-address 192.168.1.1 //需要排除的ip地址

  ip dhcp pool gr-dhcp-pool //ip地址池名

  default-server 192.168.1.1 //指定dhcp服務(wù)器

  network 192.168.1.0 255.255.255.0 //配置網(wǎng)絡(luò)

  dns-server 61.177.7.1 //配置dns服務(wù)器

  exit

  end

  disable

  可以通過 ip helper-address指定 DHCP中繼代理

  interface FastEthernet0/1

  ip address 192.168.1.1 255.255.255.0

  ip helper-address 192.168.10.2 //配置DHCP中繼代理,DHCP

  六、配置NAT

  命令

  en

  config t //全局模式

  interface f0/0

  ip address 192.168.1.1 255.255.255.0

  ip nat inside //內(nèi)部端口

  no shu

  exit

  interface f0/1

  ip address 192.168.10.1 255.255.255.0

  ip nat outside //外部端口

  no shu

  exit

  access-list 1 permit any //設(shè)置一個可訪問列表

  ip nat pool gr-nat-pool 192.168.10.3 192.168.10.254 netmask 255.255.255.0 //設(shè)置分配池

  ip nat inside resource list 1 pool gr-nat-pool overload

  show ip nat traslations

  clear ip nat traslation *

  七、其它

  sh running-config //顯示當(dāng)前運行配置

  sh startup-config //顯示開機配置

  sh ip route //顯示路由

  sh nat traslations //顯示nat當(dāng)前情況

非常好我支持^.^

(38) 97.4%

不好我反對

(1) 2.6%

( 發(fā)表人:陳翠 )

      發(fā)表評論

      用戶評論
      評價:好評中評差評

      發(fā)表評論,獲取積分! 請遵守相關(guān)規(guī)定!

      ?