Solved

Setting up DHCP on 2nd NIC

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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 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