HI, 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. thanks.
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 etc.
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 ) : http://osmirrors.cerias.purdue.edu/pub/ubuntu-releases/7.10/ Kubuntu: http://osmirrors.cerias.purdue.edu/pub/ubuntu-releases/kubuntu/gutsy/ Xubuntu: http://mirror.anl.gov/pub/ubuntu-iso/CDs-Xubuntu/7.10/release/ If you use the Ubuntu 7.10 server install, follow this guide to page 3 stop when you finish step 8. http://howtoforge.com/perfect_server_ubuntu7.10 For setting up network cards: http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html For the gateway / nat initial setup: https://help.ubuntu.com/community/InternetConnectionSharing and for the firewall script at boot: http://www.debuntu.org/iptables-how-to-share-your-internet-connection 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 ) http://www.linuxtopia.org/online_books/system_administration_books/ubuntu_starter_guide/ch07s04.html For DNS server: http://howtoforge.com/mydns_name_server Hope this helps.