cisco 2600 dhcp配置分析
網(wǎng)絡(luò)建設(shè)中,它的規(guī)劃尤為重要。那么對(duì)于cisco 2600 dhcp的配置工作,我們?cè)谶@里做了一個(gè)簡(jiǎn)單的設(shè)計(jì)。如果沒(méi)有一個(gè)文檔來(lái)規(guī)劃下你想要做的DHCP。即使是隨便的一張紙,siling在此也建議你最好先規(guī)劃下 ,要不在配置到后面的時(shí)候是要出問(wèn)題的。雖然在網(wǎng)上可以找到很多DHCP,比我的這要詳細(xì)得多,但是我這是真正的實(shí)現(xiàn)了的。
規(guī)劃:用221.10.170.5的公網(wǎng)IP做出口。192.168.1.0做內(nèi)網(wǎng),做一個(gè)動(dòng)態(tài)的NAT來(lái)實(shí)現(xiàn)地址轉(zhuǎn)換。在用一個(gè)DHCP來(lái)實(shí)現(xiàn)地址的自動(dòng)分配!
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的具體配置內(nèi)容。我這個(gè)路由器是用來(lái)做實(shí)驗(yàn)的,所以如果你想攻擊我的路由器,那是在做無(wú)用功的。siling在此先做聲明。這個(gè)DHCP是很精簡(jiǎn)的了。