注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 配置审核的实施
 帮助

路由器的DHCP(自动分配IP地址)


2008-01-08 19:31:35
router(config)#int ethernet0/0
router(config-if)#ip address 192.168.1.1 255.255.255.0
router(config-if)#no shutdown
router(config-if)#exit
router(config)#ip dhcp pool test(随便起一个名字)
router(dhcp-config)#network 192.168.1.0 /24
router(dhcp-config)#default-server 192.168.1.1
router(dhcp-config)#dns-server 1.1.1.1
 
不允许用户更改PC机的IP地址,如果更改的则无法上网
router(config)#ip dhcp pool test
router(dhcp-config)#update arp(记录每台PC机的IP地址和MAC地址)
router(config)#int e0/0
router(config-if)#arp authorized(关闭arp学习功能)




    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: