?
Solved

Setting up DHCP on 2nd NIC

Posted on 2009-04-10
2
Medium Priority
?
872 Views
Last Modified: 2013-11-08
I have a CentOS 5.3 server running Spacewalk (OSS RHEL Satellite Server) v0.4 for handling/monitoring our CentOS environment. The 1st NIC (eth0) is part of the internal network and has a static IP address assigned to it (i.e. 192.168.1.5). I want to utilize the 2nd NIC on the server to be a 'private' DHCP server dedicated just for PXE provisioning needs.

My question is how do I setup a private DHCP server on the 2nd NIC (eth1) and have it assign addresses like 10.1.x.x for PXE bare-metal provisioning needs.

I tried to follow the instructions at the following sites, but it doesn't show how to setup DHCP server on the 2nd NIC only.

http://www.astahost.com/info.php/Howto-Setup-Dhcp-Server-Linux_t2602.html
https://fedorahosted.org/spacewalk/wiki/kickstartingLabNetworkingSetup

NOTE: The internal network already has another DHCP server already active on it, thus needs to remain totally separated from my intended 'private' DHCP network. The 'private' network should be able to see the Spacewalk server but not navigate/access the rest of the internal network.
0
Comment
Question by:Michael Worsham
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 2000 total points
ID: 24121039
I think You missing the dhcpd argument to listen only on eth2

[root@dhcserver ~]$ cat /etc/sysconfig/dhcpd
DHCPDARGS=eth1
0
 
LVL 29

Author Closing Comment

by:Michael Worsham
ID: 31571652
Made the change and restarted the dhcpd daemon as well to pick it up. Worked like a charm!
0

Featured Post

ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question