LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-25-2011, 06:27 PM   #1
jlregister
LQ Newbie
 
Registered: Feb 2005
Posts: 9

Rep: Reputation: 0
dhcp relay and dhcpd.conf


I need to setup a dhcp server for several subnets. The core switch supports dhcp relay and has VLAN support. What should I do so that all workstations can receive ip config from the dhcp server? I've segment to network into 7 subnets with each of them connecting to a single port on the switch.

These are what I'm going to do:

1. enable dhcp relay on the core switch;

2. tag the ports on the switch with the VLAN id corresponding to the connecting subnets;

3. setup static routes on switch;

3. config dhcpd.conf on the dhcp server. This is what I'm stuck with. What are some of the options I have to put in dhcpd.conf for relay to work? If possible, can someone please post me a sample so that I can follow?

Thank you....
 
Old 11-26-2011, 12:42 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
you just define the additional ranges, you don't need to enable them as anything special to relay them. The relay bootp request defines what subnet the request is for, so it just goes on that.
 
  


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
autodns-dhcp check updates to dhcpd.conf psychobyte Linux - Networking 0 12-23-2009 12:32 PM
How to re-invoke dhcpd after changes were made to dhcpd.conf file. Azazwa Linux - Newbie 3 03-30-2009 05:44 AM
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 11:32 AM
dhcp.conf or dhcpd.conf? rogerbennett Linux - Networking 3 09-03-2003 01:25 PM
Installed DHCP on RH7.2, no dhcpd.conf file??? AnthonyM Linux - Networking 8 07-30-2002 08:21 AM


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

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