Solved

Setting up DHCP on 2nd NIC

Posted on 2009-04-10
2
860 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 500 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
A Cisco router can be configured as a DHCP Server. There are advantages and disadvantages in making your Cisco router work as DHCP Server. Almost all the features for windows DHCP can be configured on Cisco-based DHCP server. Some of the features me…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

762 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