LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DHCP Server with Multiple networks (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-server-with-multiple-networks-605555/)

shahz 12-09-2007 04:27 AM

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

acid_kewpie 12-09-2007 07:37 AM

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.

shahz 12-11-2007 03:12 AM

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

acid_kewpie 12-11-2007 04:34 AM

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.

shahz 12-11-2007 04:53 AM

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.

acid_kewpie 12-11-2007 06:43 AM

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.

shahz 12-15-2007 08:39 AM

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

acid_kewpie 12-15-2007 09:00 AM

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.

shahz 01-21-2008 08:50 AM

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

acid_kewpie 01-21-2008 09:12 AM

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...

farslayer 01-21-2008 10:04 AM

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

acid_kewpie 01-21-2008 10:13 AM

all?? doesn't feel much like an "all" from here! ;-)

farslayer 01-21-2008 02:38 PM

Hey man don't give me grief, I already put the spoon down !! :)

shahz 01-23-2008 02:19 AM

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

acid_kewpie 01-23-2008 08:14 AM

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.


All times are GMT -5. The time now is 12:18 PM.