LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   CentOS/RHEL Linux small network configuration help (http://www.linuxquestions.org/questions/linux-networking-3/centos-rhel-linux-small-network-configuration-help-782195/)

linux_newb 01-14-2010 09:36 AM

CentOS/RHEL Linux small network configuration help
 
Hi guys,

I want to create a small network of 3-5 computers. I want to have one computer as my server and have services like NFS, DHCP, NTP, etc. I want to connect it to 2-4 other clients that have the bare minimal installation of linux on them. I would like 1 client computer to have a static ip address and I would like another to receive a dynamic ip address from the server. How would I go about doing all of this without the assistance of GUI's? I want to be able to do all this with the ks.cfg and network config files. Where would I even begin with all of this?

acid_kewpie 01-14-2010 01:23 PM

well start with the server, and plug them all into the same switch. configure DHCP, configure NFS etc... just one bit at a time, break it up and it's trivial.

linux_newb 01-14-2010 03:08 PM

I need the whole process automated. I want to be able to pop in 5 seperate disks with ks.cfg and centos built into one dvd. I want to be able to walk away from the installation for 45 minutes and come back with a fully configured working network. Is there anyway I can do that?

Quote:

Originally Posted by acid_kewpie (Post 3826622)
well start with the server, and plug them all into the same switch. configure DHCP, configure NFS etc... just one bit at a time, break it up and it's trivial.


Smartpatrol 01-14-2010 10:53 PM

...

beadyallen 01-15-2010 09:05 AM

Whenever you install RHEL it creates a ks.cfg specific for that installation. So you want to use that as a starting point. Edit it as you see fit (e.g. network configuration and packages for clients and server). Also, it's a log time since I messed with kickstart, but I'm sure you can specify a post installation script to run. This could do specific stuff for your server like configuring nfs and dhcpd.

One question though. Is it worth spending the effort working all this out? For just 5 PC's it's probably not, and it'd be faster overall to do everything by hand. On the other hand, if you want to repeat this at 100 different sites, then it's worth looking into. You can set up some really advanced installation mechanisms, it's just a question of time really. A while ago I built an automated installation system that installed Debian and ubuntu servers and clients, along with XP and Vista clients, all over the network using PXE/GPXE and a webserver, database and a bit of php. The only reason to do all the work though was that we had to install and configure >200 machines in 24 hours.

Good luck.


All times are GMT -5. The time now is 09:21 PM.