How to configure DHCP Server in centos 7, redhat7, fedora linux (Complete Server & client)

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • How to configure DHCP Server in Ubuntu linux 18.04 (Complete Server & client)
    • How to configure DHCP ...
    #####################################
    What is DHCP Server ?
    DHCP (Dynamic Host Configuration Protocol) is a network protocol that enables a server to automatically assign an IP address and provide other related network configuration parameters to a client on a network, from a pre-defined IP pool.
    This means that each time a client (connected to the network) boots up, it gets a “dynamic” IP address, as opposed to “static” IP address that never changes. The IP address assigned by a DHCP server to DHCP client is on a “lease”, the lease time can vary depending on how long a client is likely to require the connection or DHCP configuration.
    In this tutorial, we will cover how to install and configure a DHCP server in CentOS/RHEL and Fedora distributions.
    Testing Environment Setup
    We are going to use following testing environment for this setup.
    DHCP Server - CentOS 7
    DHCP Clients - Centos 7 and Windows 10
    How Does DHCP Work?
    Before we move any further, let’s briefly explain how DHCP works:
    When a client computer (configured to use DHCP) and connected to a network is powered on, it forwards a DHCPDISCOVER message to the DHCP server.
    And after the DHCP server receives the DHCPDISCOVER request message, it replies with a DHCPOFFER message.
    Then the client receives the DHCPOFFER message, and it sends a DHCPREQUEST message to the server indicating, it is prepared to get the network configuration offered in the DHCPOFFER message.
    Last but not least, the DHCP server receives the DHCPREQUEST message from the client, and sends the DHCPACK message showing that the client is now permitted to use the IP address assigned to it.
    source : www.techmint.com
    #############################
    follow us on facebook :-
    / androidandtechsolutions
    Website Link :-
    www.letslearnte...

Комментарии • 68

  • @Dankusez
    @Dankusez 4 года назад +7

    Even if its an old tutorial its still really good, thanks alot my friend, congrats

  • @samihadj-djilani2688
    @samihadj-djilani2688 3 года назад +1

    Some heroes don't wear a cape, you just saved my subject

  • @redmanaaron97
    @redmanaaron97 Год назад +1

    Thank you for the help. I was not able to start the service but you helped me find the errors in my configuration file. My server is running now!

  • @TechByteGuru
    @TechByteGuru 6 лет назад +5

    Red hat Certified Engineer :)

  • @abcreations_official4541
    @abcreations_official4541 4 года назад +2

    very nicely explained, Thanks

  • @bimalacharya9020
    @bimalacharya9020 2 года назад

    fantastic teaching Brother

  • @shahidimran888
    @shahidimran888 2 года назад +1

    Thank you very much today I have watched your video and u have helped me lots

  • @techguy1286
    @techguy1286 5 лет назад +1

    Nice Explanation Sir. Thankx for this video

  • @israel5029
    @israel5029 5 лет назад +1

    Nice video, regards from Mexico!

  • @gomeagle1989
    @gomeagle1989 2 года назад

    Very very good teacher. i like it

  • @hamidouf6253
    @hamidouf6253 Год назад +1

    thank you brother

  • @stalinengoma7680
    @stalinengoma7680 3 года назад +1

    Nice video. Thanks for the nuggets

  • @yasirukaweesha7024
    @yasirukaweesha7024 2 года назад

    Thank You Sir

  • @ayxanbayramzade2305
    @ayxanbayramzade2305 4 года назад +1

    Excellent video,Thanks

  • @sleipnir7446
    @sleipnir7446 5 лет назад +3

    Thanks a lot, very good explanation, but could you please do this with vlans?

  • @jamesfemy
    @jamesfemy 4 года назад +1

    Thank you for this video. However, if I have internet connectivity on my router that the IP address is supplied in the configuration.
    How will I go about this?

  • @reddeppapprp
    @reddeppapprp 5 лет назад +1

    Excellent !!, Thanks very much Bro..

  • @bombayboys100
    @bombayboys100 3 года назад +1

    Hi All,
    I configured DHCP Server in the CentOS7 machine and the range I took was 192.168.0.50 to 192.168.0.125.
    It works when I tried from two CentOS 6.4 machines.
    One of them got an IP of 192.168.0.50 and the other got 192.168.0.53.
    When I am trying from a CentOS7 client , the IP it gets is 192.168.0.10
    I have changed the bootproto to dhcp and onboot to yes .
    So just wondering why it did not get the IP of the DHCP Server range.
    Please help.

    • @irfanulhaq5670
      @irfanulhaq5670 2 года назад

      how can i go from username@localhost to root@server in linux centOS ??
      Guide me please from command.

  • @m.i.m.nowshad863
    @m.i.m.nowshad863 4 года назад +1

    Great

  • @manavdeepsingh4152
    @manavdeepsingh4152 Год назад +1

    thank you ok

  • @GhOstKillah718
    @GhOstKillah718 5 лет назад +1

    Love the way u teach sir!! Any chance you can do pxeboot with kickstart? For centos.. would highly appreciate but ur work is amazing nevertheless!!

  • @crisdiaz5957
    @crisdiaz5957 3 года назад

    Nice video. Thanks a lot

  • @mannyitzhak1972
    @mannyitzhak1972 5 лет назад

    Hi nice video
    wanted to know where in the DHCP server do you see the client table lease?
    Thx

  • @shivushankar2496
    @shivushankar2496 3 года назад +1

    Really not good.......
    It's great video I have ever seen and the way you explained things really really good. Even people from different background can understand

  • @kiruba277
    @kiruba277 5 лет назад

    thank u sir....

  • @jamilkeithdamias914
    @jamilkeithdamias914 3 года назад

    nice bro thank you so much, btw do you have video on how to configure linux centOs ntp,ftp and http?

  • @user-bh1ru8dk7z
    @user-bh1ru8dk7z 3 года назад

    hello are your settings made for virtual machines?
    or for a local network
    just as they told me that when configuring DHCP, 2 physical adapters are needed

  • @devendranabar2510
    @devendranabar2510 4 года назад

    Hello Sir, I have configured the way you explained. However, DHCP is not assigning the IP from the range which I have configured in dhcpd.conf file. It is assigning randomly.
    Plz help.

  • @noprisigit
    @noprisigit 5 лет назад +1

    nais men, tengs

  • @dhudibhai
    @dhudibhai 5 лет назад

    I receive error failed to start dhcp.service unit not found. I think this is due to nic. i have nic enp0s3. What should i do

  • @Signaturebabu
    @Signaturebabu 5 лет назад

    Ru using VMware or which software I also want to try like you for practicing..am new to server so pls help me out to kick start..

  • @anyone2721
    @anyone2721 5 лет назад +1

    Tell me whether client side will have bridge or Nat configuration

  • @nh669
    @nh669 5 лет назад

    hi my server is runnig perfectly, but i have problem at client side. i want to ask if there is any setting or sometithnig that we need to do at client side? also i want to ask about centos client is it different user or different virtual machine? thanks

  • @charithaprabashwara3703
    @charithaprabashwara3703 5 лет назад

    Super

  • @IvanRodriguez-nv6lj
    @IvanRodriguez-nv6lj 3 года назад

    I have do exactly the same as you, step by step and I have this error: "Failed to get D-Bus connection: Operation not permitted." Please, if someone can help me. Thank you very much

  • @cristinasilvera5430
    @cristinasilvera5430 4 года назад

    hola , tengo una consulta , mi centos 7 no corre el yum ni el wget ; estuve intentando y me dice que no puede correr esos comandos , estuve intentando instalarlos y tampoco , sabrás como solucionar ese problema

  • @SANDEEPPATIL-mc6ed
    @SANDEEPPATIL-mc6ed 4 года назад

    job for dhcpd.service failed because the control process exited with error code

  • @benjaminwe4
    @benjaminwe4 3 года назад

    hello boss, do you have an updated version for this ?

  • @shashanksharma9350
    @shashanksharma9350 5 лет назад

    not able to configure dhcp, i m doing on kvm where it is giving the error, while all entries are correct. help me out

  • @SashuMahi
    @SashuMahi 5 лет назад +1

    Sir please explain iscsi configuration

  • @nguyenvanhai2746
    @nguyenvanhai2746 5 лет назад

    Failed to start DHCPv4 Server Daemon . Help me

  • @rajaskarandikar5014
    @rajaskarandikar5014 3 года назад

    Please go slow bro ,

  • @deepaksinghbisht8403
    @deepaksinghbisht8403 Год назад

    Bhai jb tmko sara but khud he krna h To. Video kiu benate ho yr faltu ki
    Peta nhi kaha say kaha ja rahe ho kabhi kahi value add ho rahi h yrr mat he benaya kro ager samjhana nhi aata tm logo ko to pta nhi kya he samajhte h yrr apne aap ko had ho gai

  • @vidyasagar7544
    @vidyasagar7544 4 года назад

    not working dont waste our time