bilgiz.org

Linux Client makinalarda dhcp sunucuya hostname bilgisinin gönderilmesi için gerekli ayar

  • RHEL / CentOS / Fedora Linux DHCP Client Configuration



  • Tarih09.07.2017
    Büyüklüğü3.42 Kb.

    Indir 3.42 Kb.

    Linux Client makinalarda, DHCP sunucuya hostname bilgisinin gönderilmesi için gerekli ayar

    http://www.cyberciti.biz/faq/howto-get-linux-static-dhcp-address/

    Debian / Ubuntu Linux DHCP Client Configuration


    Open configuration file, enter:
    $ sudo vi /etc/dhcp3/dhclient.conf
    Set hostname as follows:
    send host-name "vivek-laptop";
    Save and close the file. Test new settings, enter:
    $ sudo dhclient eth0
    $ sudo dhclient interface-name

    RHEL / CentOS / Fedora Linux DHCP Client Configuration


    Open configuration file, enter:
    # vi /etc/sysconfig/network-scripts/ifcfg-eth0
    Append hostname, enter:
    DHCP_HOSTNAME=vivek-laptop
    Save and close the file. Restart network service:
    # service network restart
    Please refer to dhclient.conf man page for more information, enter:
    $ man dhclient.conf






        Ana sayfa


    Linux Client makinalarda dhcp sunucuya hostname bilgisinin gönderilmesi için gerekli ayar

    Indir 3.42 Kb.