不为失败找借口,只为成功找方法!
分类:
2011-05-13 16:02:29
#enconfig host R1
int f0/0
ip add 192.168.1.1 255.255.255.0
no shut
int s1/0
ip add 192.168.2.1 255.255.255.0
clock rate 64000
no shut
router rip
version 2
no auto-sum
netw 192.168.1.0
netw 192.168.2.0
exit
ip dhcp pool cisco
netw 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 202.102.240.65
exit
ip dhcp exclu-add 192.168.1.1 192.168.1.3
exit
R2:
#en
config
host R2
int f0/0
ip add 192.168.3.1 255.255.255.0
no shut
int s1/1
ip add 192.168.2.2 255.255.255.0
no shut
router rip
version 2
no auto-sum
netw 192.168.2.0
netw 192.168.3.0
ip dhcp pool nyist
netw 192.168.3.0 255.255.255.0
default-router 192.168.3.1
dns-server 202.102.240.65
exit
ip dhcp exclu-add 192.168.3.1 192.168.3.3