dns,dhcp,gatway,and nat for linux server

Discussion in 'Installation/Configuration' started by aaa999, Feb 18, 2008.

  1. aaa999

    aaa999 New Member


    I need to setup a linux server for following.

    dns,dhcp,gateway and nat, personal use.

    what linux os.

    can you point me to the right direction.

    new to LINUX.

  2. Ben

    Ben ISPConfig Developer ISPConfig Developer

    first of all, if you are new to linux, you should already keep in mind to invest lots of time, to find out solutions for you questions, other may have answers or not.

    Which distribution is up to you. For server use I would prefer CentOS or Debian (or Debian-"likes", e.g. Ubuntu for Server).

    Especially for the tasks you described, you might think of projects like fli4l, etc. that use linux + config only for such purpose.

    You also may find howto for each purpose you described here at howtoforge.
    DNS: http://www.howtoforge.com/howtos/dns
    DHCP+Router/NAT: http://www.howtoforge.com/home-gateway-firewall-with-dhcp-server-for-connection-sharing-centos5
  3. thecaoticone

    thecaoticone New Member

    Just about any Linux distro can do what you need. I personally have had better luck with Ubuntu and Debian. I am currently running Ubuntu 7.10 server edition (no gui).

    If you prefer a GUI then you can use Ubuntu, Kubuntu, or Xubuntu. Each one has a terminal for using command line copy and paste used in most server related guides. For desktops I prefer to use the "Alternate Install CD" .

    Ubuntu ( server and desktop versions ) :



    If you use the Ubuntu 7.10 server install, follow this guide to page 3 stop when you finish step 8.


    For setting up network cards:

    For the gateway / nat initial setup:


    and for the firewall script at boot:


    For DHCP server:
    ( this uses synaptic for a desktop gui to install dhcp3-server, for a server set-up use "sudo apt-get install dhcp3-server" on the terminal command line )


    For DNS server:


    Hope this helps.
  4. aaa999

    aaa999 New Member

    Ben and Coaticone

    Thanks for all your info.

    I will try centos.

    thanks again.

Share This Page