LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-14-2010, 09:36 AM   #1
linux_newb
Member
 
Registered: Aug 2009
Distribution: Windows 7, RHEL 5.4, CENTOS 5.4, RHEL 6
Posts: 55

Rep: Reputation: 15
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?
 
Old 01-14-2010, 01:23 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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.
 
Old 01-14-2010, 03:08 PM   #3
linux_newb
Member
 
Registered: Aug 2009
Distribution: Windows 7, RHEL 5.4, CENTOS 5.4, RHEL 6
Posts: 55

Original Poster
Rep: Reputation: 15
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 View Post
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.
 
Old 01-14-2010, 10:53 PM   #4
Smartpatrol
Member
 
Registered: Sep 2009
Posts: 196

Rep: Reputation: 38
...

Last edited by Smartpatrol; 03-11-2010 at 09:59 PM.
 
Old 01-15-2010, 09:05 AM   #5
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Setup OpenVZ Virtualization under RHEL / CentOS Linux LXer Syndicated Linux News 0 08-07-2009 01:41 PM
Good small-footprint linux live CD image compatible with RedHat / CentOS 5? slinx Linux - Software 1 01-02-2009 03:12 PM
RHEL Gnome GUI Network Configuration tool pellicle Linux - Networking 3 07-16-2008 11:16 AM
Is CentOS RHEL or RHEL Server? mikes63737 Linux - Distributions 1 02-28-2006 04:35 PM


All times are GMT -5. The time now is 02:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration