DHCP

作者: NamasAmitabha | 来源:发表于2017-12-12 09:38 被阅读0次

    cp /usr//share/doc/dhcp*/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
    service dhcpd start

    vi /var/lib/dhclient/dhclient-eth1.leases
    vim /etc/sysconfig/dhcpd
    [root@clientlinux ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
    DEVICE=eth0
    NM_CONTROLLED=no
    ONBOOT=yes
    BOOTPROTO=dhcp <==就是他!指定這一個就對了!

    [root@clientlinux ~]# /etc/init.d/network restart
    net-tools
    ether-wake
    [root@www ~]# ether-wake -i eth1 11:22:33:44:55:66

    更多功能可以這樣查閱喔:

    [root@www ~]# ether-wake -u

    相关文章

      网友评论

          本文标题:DHCP

          本文链接:https://www.haomeiwen.com/subject/ijsgixtx.html