思科路由器配置基礎(五—七) - 思科路由器配置基礎_7個方面詳解cisco路由器配置
五、配置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服務器
network 192.168.1.0 255.255.255.0 //配置網絡
dns-server 61.177.7.1 //配置dns服務器
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 //內部端口
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 //設置一個可訪問列表
ip nat pool gr-nat-pool 192.168.10.3 192.168.10.254 netmask 255.255.255.0 //設置分配池
ip nat inside resource list 1 pool gr-nat-pool overload
show ip nat traslations
clear ip nat traslation *
七、其它
sh running-config //顯示當前運行配置
sh startup-config //顯示開機配置
sh ip route //顯示路由
sh nat traslations //顯示nat當前情況
- 第 1 頁:思科路由器配置基礎_7個方面詳解cisco路由器配置
- 第 2 頁:思科路由器配置基礎(三—四)
- 第 3 頁:思科路由器配置基礎(五—七)
本文導航
非常好我支持^.^
(38) 97.4%
不好我反對
(1) 2.6%
相關閱讀:
- [電子說] 環旭電子推出Pisces企業級無線路由器助力企業應對高密度數據挑戰 2023-10-24
- [電子說] 拆機看看華為路由器的天線與濾波器 2023-10-24
- [電子說] 工業路由器一般都用哪種協議? 2023-10-24
- [電子說] SR-MPLS是什么?SR-MPLS的實際應用 2023-10-23
- [移動通信] 如何解決局域網ip地址不夠用問題? 2023-10-23
- [電子說] CPE一般支持哪些工作模式?與MIFI相比,優勢在哪里? 2023-10-22
- [電子說] Ai-WB2模組HTTP客戶端HEAD和GET請求方法 2023-10-21
- [電子說] 中興晴天墻面路由器喜獲2023年GMARK設計大獎 2023-10-20
( 發表人:陳翠 )