cisco 2600 dhcp配置分析
網絡建設中,它的規劃尤為重要。那么對于cisco 2600 dhcp的配置工作,我們在這里做了一個簡單的設計。如果沒有一個文檔來規劃下你想要做的DHCP。即使是隨便的一張紙,siling在此也建議你最好先規劃下 ,要不在配置到后面的時候是要出問題的。雖然在網上可以找到很多DHCP,比我的這要詳細得多,但是我這是真正的實現了的。
規劃:用221.10.170.5的公網IP做出口。192.168.1.0做內網,做一個動態的NAT來實現地址轉換。在用一個DHCP來實現地址的自動分配!
cisco 2600 dhcp具體配置命令:
- NIC327#show run
- Building configuration...
- Current configuration : 901 bytes
- !
- version 12.2
- service timestamps debug uptime
- service timestamps log uptime
- no service password-encryption
- !
- hostname NIC327
- !
- !
- ip subnet-zero
- !
- !
- ip dhcp excluded-address 192.168.1.1 192.168.1.10
- !
- ip dhcp pool net327
- network 192.168.1.0 255.255.255.0
- dns-server 221.10.251.197
- !
- !
- !
- !
- interface FastEthernet0/0
- ip address 221.10.170.5 255.255.255.248
- ip nat outside
- speed 10
- full-duplex
- !
- interface Serial0/0
- no ip address
- shutdown
- no fair-queue
- !
- interface FastEthernet0/1
- ip address 192.168.1.1 255.255.255.0
- ip nat inside
- speed 100
- full-duplex
- !
- interface Serial0/1
- no ip address
- shutdown
- !
- ip nat pool net327 221.10.170.5 221.10.170.5 netmask 255.255.255.248
- ip nat inside source list 1 pool net327 overload
- no ip classless
- ip route 0.0.0.0 0.0.0.0 221.10.170.1
- ip http server
- !
- access-list 1 permit 192.168.1.0 0.0.0.255
- !
- line con 0
- line aux 0
- line vty 0 4
- login
- !
- end
- NIC327#
以上就是cisco 2600 dhcp的具體配置內容。我這個路由器是用來做實驗的,所以如果你想攻擊我的路由器,那是在做無用功的。siling在此先做聲明。這個DHCP是很精簡的了。