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 12-09-2007, 05:27 AM   #1
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Rep: Reputation: 29
DHCP Server with Multiple networks


I have seven networks with layer 3 switches and layer 2 manageable switches, I have all the routes to my server for these networks. I want to configure a DHCP server for all these seven networks. can some budy help me

Last edited by shahz; 12-09-2007 at 05:29 AM.
 
Old 12-09-2007, 08:37 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Just scroll down to the bottom of this page for many identical questions, like this one... http://www.linuxquestions.org/questi...tworks-392196/ which should tell you all you need to know.
 
Old 12-11-2007, 04:12 AM   #3
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Original Poster
Rep: Reputation: 29
well thanks for redirecting me to the page I have seen. well my all routes are configured already I have added the routes also on my server I can ping my all subnets from my server. do I need to make virutal lans for all subnets and give them IP address for the same subnet okay this will be done also. but how to add all of them to the dhcpd.conf file.

I will be very thanks full if some one could help me urgently.


thanks
 
Old 12-11-2007, 05:34 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
sounds like you don't have the dhcp server itself listening on each subnet or a dhcp relay agent forwarding on. dhcp is based on local broadcast only, it's not possible to obtain DHCP across a router or firewall

and don't be sarcastic. doesn't make you look good.
 
Old 12-11-2007, 05:53 AM   #5
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Original Poster
Rep: Reputation: 29
I don't have any router or physical firewall on my Network, I just have layer 3 switches configured and layer 2 switches which have the static IP. what my question is that if I have all the routes do I need to make virtual LANs to make my DHCP working.
 
Old 12-11-2007, 07:43 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
as above routing is not going to help. you need something listening for DHCP requests on each subnet. this may well be something your layer 3 switches can offer. you've not said what they are, but Cisco IOS offers the "ip helper-address" command to do this.
 
Old 12-15-2007, 09:39 AM   #7
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Original Poster
Rep: Reputation: 29
Dear Sir,


I have allied telesis switches. I have vlans configured what I should do to get working my multiple dhcp server. and what I should do from linux side to configure a multiple dhcp server do I need to have one dhcpd.conf file.

thanks for quick responses
 
Old 12-15-2007, 10:00 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
you haven't read the link that i provided have you? the one where you said you'd already seen it? it very clearly shows you an example config for isc-dhcpd. and check your switches configuration guides for details about being able to do dhcp relay or not... not a vendor i'm familiar with.
 
Old 01-21-2008, 09:50 AM   #9
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Original Poster
Rep: Reputation: 29
I have read the link all followed all the things my dhcp is working but when I go to the subnet out of the server. it doens't work because the clients are not getting IP addresses. okay as you said that I have to tell the core switch about the dchp relay but don't have any idea how to tell it.

The documnetation I have checked but I don't get any idea from that documnentation.

and want to do really
 
Old 01-21-2008, 10:12 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
OK, so issue currently looks to be on your switch. i can't tell you how to configure that. that's between you, the manual, their support, and google...
 
Old 01-21-2008, 11:04 AM   #11
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
On the layer 3 switches, add bootp relay=<ip_address>

<ip_address> = IP address of your dhcp server.

straight from the user manual page 588, all you needed to do was look.
http://www.allied-telesyn.com/media/...g_v220-300.pdf
 
Old 01-21-2008, 11:13 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
all?? doesn't feel much like an "all" from here! ;-)
 
Old 01-21-2008, 03:38 PM   #13
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Hey man don't give me grief, I already put the spoon down !!
 
Old 01-23-2008, 03:19 AM   #14
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Original Poster
Rep: Reputation: 29
oh finally got some answer okay need to ask something more that i have one NIC card with the address of 192.168.0.10
and have virtual address on the NIC

192.168.1.10
192.168.2.10
192.168.3.10

and so on I have 6 layer 3 switches do i check the VLANs on every layer 3 switch which IP address I should give for my DHCP server on bootp relay

thanks
 
Old 01-23-2008, 09:14 AM   #15
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
you never felt like reading your own manual yourself then?

You should only have one relay per vlan, your call which one if you have multiple switches on multiple vlans at layer 3.
 
  


Reply

Tags
perfect, world


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
setting up linux dhcp server with multiple scopes guy_ripper Linux - Server 7 07-09-2007 04:53 PM
Multiple networks/cards on a server jantman Linux - Networking 4 07-27-2006 04:20 PM
DHCP with Multiple Networks srikanthrao_d Linux - Networking 8 12-16-2005 04:23 AM
dhcp server with multiple networks adamantium Linux - Networking 0 03-02-2004 10:16 AM
DHCP server with multiple nics and subnets hawkpaul Linux - Networking 6 12-20-2001 08:32 AM


All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
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