Results 1 to 5 of 5

Thread: DHCP general question

  1. #1
    Join Date
    Oct 2009
    Beans
    10

    Question DHCP general question

    I'm going to load ubuntu server to a computer just for testing and learning. There is one ethernet card on this computer that will only be used occasionally to connect to the internet. This computer will not have any computers or routers connected to it.

    So my question is, once installed and running, will DHCP just sit quietly and wait for a request or is it going to complain a lot that it is not finding any other computers?

  2. #2
    Join Date
    Nov 2009
    Location
    Chennai, India
    Beans
    116
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: DHCP general question

    Are you talking about setting up a DHCP Server or a DHCP Client?
    Regards,
    Kiran Murari
    Open Thoughts | CSS OSS

  3. #3
    Join Date
    Oct 2009
    Beans
    10

    Re: DHCP general question

    Thank you kiranmurari for the reply.

    It is the default installation of "DHCP server" for the ubuntu server edition 9.04.

    I just want to know how the default installation of the DHCP server will behave once installed on a computer with no other computer or routers. I also wonder if it will be sending requests to my ethernet card when I am connected to the internet.

    Thank you sir for the reply!

  4. #4
    Join Date
    Nov 2009
    Location
    Chennai, India
    Beans
    116
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: DHCP general question

    Installing DHCP server (sudo apt-get install dhcp3-server) alone is not sufficient. You need to have a valid DHCP configuration file (/etc/dhcpd.conf). If a valid dhcp.conf file is not found, the server wouldn't run at all. For more details on setting up a DHCP server, please refer the following link: https://help.ubuntu.com/community/dhcp3-server

    Assuming you have a working DHCP server, the server will not send any requests. But will simply wait for a DHCP request from a client, say from a host running dhclient.

    If you intend to learn about DHCP and other network services, installing VirtualBox (http://virtualbox.org) will give you the ability to run multiple VMs, using which you can simulate and test various scenarios.
    Regards,
    Kiran Murari
    Open Thoughts | CSS OSS

  5. #5
    Join Date
    Dec 2009
    Location
    Panama City, FL, USA
    Beans
    543
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: DHCP general question

    +1

    Set up a whole little network in VirtualBox if you like. It's a great way to learn how network services work without downing the network on your host accidentally.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •