pc1:配置静态ip地址,掩码,网关
路由器R1:配置ip地址192.168.1.254 24;配置dhcp
int gi 0/0
ip add 192.168.1.254 24
qu
dhcp enable
dhcp server ip-pool 1
network 192.168.1.0 mask 255.255.255.0
gateway-list 192.168.254
int gi0/0
dhcp select server