terareport 发表于 2011-12-18 19:42:31

DHCP_LAB




DHCP_SERVER的命令---------------------------------------------------------------------------------------------

serv dhcP
ip dhcp excluded-address 192.168.3.1 192.168.3.10
ip dhcp pool vlan3
network 192.168.3.0 255.255.255.0
dns 65.65.65.3
dom cisco
default-rout 192.168.3.1
le 3
exit

ip dhcp excluded-address 192.168.4.1 192.168.4.10
ip dhcp pool vlan4
network 192.168.4.0 255.255.255.0
dns 65.65.65.4
dom cisco
default-rout 192.168.4.1
le 3
exit

ip dhcp excluded-address 192.168.5.1 192.168.5.10
ip dhcp pool vlan5
network 192.168.5.0 255.255.255.0
dns 65.65.65.5
dom cisco
default-rout 192.168.5.1
le 3
exit

ip dhcp excluded-address 192.168.6.1 192.168.6.10
ip dhcp pool vlan6
network 192.168.6.0 255.255.255.0
dns 65.65.65.6
dom cisco
default-rout 192.168.6.1
le 3
exit

in f1/0
no ip add
int f1/0.3
enca dot1q 3
ip add 192.168.3.1 255.255.255.0
end

conf t
int f1/0.4
enca dot1q 4
ip add 192.168.4.1 255.255.255.0

int f1/0.5
enca dot1q 5
ip add 192.168.5.1 255.255.255.0

int f1/0.6
enca dot1q 6
ip add 192.168.6.1 255.255.255.0
end
conf t
in f1/0
no shutdown
end
sw1 的配置命令------------------------------------------------------------------------------------------------
vlan database
vlan 3 name v3
vlan 4 name v4
vlan 5 name v5
vlan 6 name v6
exit
conf t
int f1/3
switchport mode access
switchport access vlan 3
int f1/4
switchport mode access
switchport access vlan 4
int f1/5
switchport mode access
switchport access vlan 5
int f1/6
switchport mode access
switchport access vlan 6
int f1/0
sw encap dot1q
sw mode trunk
end

client端的命令------------------------------------------------------------------------------------------------

int f0
ip address dhcp
no sh

client A,B,C,D命令行一样





hongxuelei 发表于 2011-12-18 21:03:16

学习一下

qfswordman 发表于 2011-12-18 21:49:45

学习学习

简__单 发表于 2011-12-21 09:57:27

学习下

minghan 发表于 2012-1-25 22:43:46

thanks...
thank your share thing.
this is a very good information...

wen360 发表于 2012-4-27 10:22:03

{:6_267:}{:6_267:} 多谢啊 学习了

costyle9088 发表于 2012-5-9 10:00:56

http://bbs.hh010.com/forum.php?mod=attachment&aid=MTQ5NzZ8NzI4NmY0MjM4NmFmOWEyYTQ5ZmI5NGMzN2Y1MDJkZTB8MTMzNjUyODc2OA

ywq1122 发表于 2012-5-23 20:52:41

{:6_268:}
学习学习,利害

YDD283579898 发表于 2012-12-16 11:54:04

啥也不说了,楼主就是给力!
页: [1]
查看完整版本: DHCP_LAB