Skip to main content

 路由器设置 > 路由器问答 >

如何用centos配置DHCP服务器(2)

2013-07-05 00:37 浏览:
      range 172.16.1.100 172.16.1.200;      //分配的IP范围

4.配置监听的网卡

vim /etc/sysconfig/dhcpd

DHCPDARGS="eth1"   //内网卡

 

5.启动DHCP服务并设置成开机启动

/etc/init.d/dhcpd start

chkconfig dhcpd on
 

6.租约地址池查看:

cat /var/lib/dhcp/dhcp.leases