LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-24-2005, 08:42 AM   #1
wesleywestervel
LQ Newbie
 
Registered: Aug 2004
Posts: 13

Rep: Reputation: 0
DHCP server with MAC authentication on different V-LAN'S


Ok, so i have to develop a DHCP server for my school, but it has apply to some rules.
I know you can download for every popular distro an easy DHCP-server and install it en get it working, no problem there.

The problem here is:

it has to filter computers by mac address

it has to work in different VLANS and by different VLANS i mean that i has to get an IP-ADDRRS that is assinged to that VLAN.

It has to have a GUI interface for adding/ blocking/ deleting mac addresses.

who can help me out here. Money isn't a problem
 
Old 03-24-2005, 12:17 PM   #2
jeickal
Member
 
Registered: Oct 2004
Distribution: Mandrake, DSL, SuSE, RedHat
Posts: 71

Rep: Reputation: 15
Just a quick tip regarding the mult-VLANS environment:

To have the DHCP server distribute addresses belonging to the right VLANs is not a problem.
On the default router of each VLAN you need to redirect DHCP broadcast into a unicast towards the DHCP server (as broadcasts stay inside the VLAN, they would never reach the DHCP server if it is in another one).
Once you do this, the DHCP server will recieve a DHCP request coming for the IP@ of the PC's default gateway. So that the server will know in which VLAN is the requester is and will offer the 1st IP@ available for this VLAN. Get it?
Now to redirect DHCP broadcast into a unicast it depends on the router you're using. If it's a cisco, then the command is:
Code:
ip help-address 192.168.1.1
(assuming 192.168.1.1 is the IP of the DHCP server)
You need to type this command on each VLAN's interface of the router (well, only if you have some potential DHCP client in the VLAN of course).

Hope this help
Good luck for the rest!
 
  


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
DHCP + Mac address tiger3090 Linux - Networking 1 12-07-2004 08:13 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
Help connecting two Lan's on same server with IPTABLES cipx2 Linux - Networking 7 08-06-2004 05:02 AM
ISC DHCP Server MAC Address dlucas10 Linux - Networking 1 05-25-2004 05:49 PM
How DHCP gives Several IP for one MAC castify Linux - Networking 1 08-05-2003 08:43 AM

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

All times are GMT -5. The time now is 12:28 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
Open Source Consulting | Domain Registration