暗组
Would you like to react to this message? Create an account in a few clicks or log in to continue.

DHCP......

向下

DHCP...... Empty DHCP......

帖子  Spectators4 周四 七月 26, 2012 2:57 am

R1>en
R1#conf t
R1(config)#line console 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#int s0/0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#int s0/1
R1(config-if)#ip add 192.168.2.1 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R1(config-if)#exit
R2>en
R2#conf t
R2(config)#line console 0
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#line vty 0 4
R2(config-line)#password cisco
R2(config-line)#login
R2(config-line)#exit
R2(config)#int s0/0
R2(config-if)#ip add 192.168.1.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#int s0/1
R2(config-if)#ip add 192.168.3.1 255.255.255.0
R2(config-if)#clock rate 64000
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#int f1/0
R2(config-if)#ip add 172.16.10.1 255.255.0.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#int f2/0
R2(config-if)#ip add 172.17.10.1 255.255.0.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#ip dhcp pool dhcp1
R2(dhcp-config)#network 172.16.10.0 /24
R2(dhcp-config)#default-router 172.16.10.1
R2(dhcp-config)#dns-server 123.123.123.123 123.123.123.12
R2(dhcp-config)#exit
R2(config)#ip dhcp pool dhcp2
R2(dhcp-config)#network 172.17.10.0 /24
R2(dhcp-config)#default-router 172.17.10.1
R2(dhcp-config)#dns-server 123.123.123.123 123.123.123.12
R2(dhcp-config)#exit
R2(config)#
R3>en
R3#conf t
R3(config)#line console 0
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#exit
R3(config)#line vty 0 4
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#exit
R3(config)#int s0/0
R3(config-if)#ip add 192.168.2.2 255.255.255.0
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#int s0/0
R3(config-if)#ip add 192.168.3.2 255.255.255.0
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#int s0/1
R3(config-if)#ip add 192.168.2.2 255.255.255.0
R3(config-if)#no shut
R3(config-if)#exit

Spectators4

帖子数 : 2
注册日期 : 12-07-26

返回页首 向下

返回页首


 
您在这个论坛的权限:
不能在这个论坛回复主题