LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-07-2011, 01:00 AM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Linux dhcp server


Is this possible that one Linux DHCP server in a virtual environment can serve multiple VLANs ????
 
Old 09-07-2011, 02:57 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
In IT in general a HUUUUUUUUUGE thing to appreciate is what aspects of an environment relate to what other ones. You've asked about a few different things here, DHCP, Virtualisation and VLAN's. These things really seldom have anything at all to do with any of the other things, in terms of what they actually are. DHCP is a layer 2 protocol, it doesn't know *anything* about VLAN's, it knows about layer 2 and 3 networks. These may tend to be implemented on a 1:1 basis with a vlan (i.e. vlan 123 may well be used for subnet 10.0.123.0) but they are not aware of each other at all. Similarly virtualisation can not matter here either, what if it did? That'd be pretty messed up wouldn't it? Running VMware would suck if you had to run different networks and protocols just because a server is a vm.

So, all that's relevant is whether ISC DHCP can server multiple subnets. And yes it can very trivially. Note though that you need to serve it *directly* on that network. Either by the server being connected to it or by having a relay agent on that network to pass the requests on. You just define the each network config correctly within your dhcpd.conf and give it a whirl.
 
Old 09-07-2011, 06:18 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
Yes ... virtualization cant matter here. Forget this.

In my case a small magik-dhcp freeware can serve multiple subnet to multiple vlans on any machine(virtual/physical) but in case of linux dhcp, it is only able to serve the vlan within which it is.

While there is no configuration related to dhcp is enabled in L3 switch which connects all VLANs, the freeware can do things that a linuxdhcp cant.
 
Old 09-07-2011, 07:08 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it can do it. It's part of the DHCP rfc, it's not possible to not be able to do it and still be a dhcp server.
 
  


Reply



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
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
Instead of Router DHCP Server, Pass DHCP Server control to Slackware orbit Slackware 6 05-11-2009 02:00 AM
How to update Windows DDNS server by Linux DHCP server Zebrastreifen Linux - Networking 1 08-02-2006 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:36 PM.

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
Open Source Consulting | Domain Registration