Overclockers Australia Forums

OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Specific Hardware Topics > Networking, Telephony & Internet

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 25th November 2004, 6:07 PM   #1
Mr Snrub Thread Starter
Member
 
Join Date: Sep 2001
Location: Brisbane, Australia
Posts: 190
Default Windows DHCP Server

Hey all,

Just a bit of a hypothetical situation for a project I'm working on.

Say I have a network with around 20 hosts spread among 5 rooms, all on the same subnet. But i want the DHCP server to allocate an IP adress of say 10.1.x.x/24 for any host that requests and IP from Room 1, or 10.3.x.x/24 for a host from Room 3 etc... so on and so on. Could the hostname of the host tell the DHCP server it needs a 10.1.x.x or 10.2.x.x or 10.3.x.x or something?
It would be a Windows 2003 based DHCP server.

I know theres no *real* point to doing that if they are all on the same subnet, apart from looking neat.

Thanks for any help...
Mr Snrub is offline   Reply With Quote

Join OCAU to remove this ad!
Old 25th November 2004, 7:09 PM   #2
rbe
Member
 
Join Date: Jul 2004
Location: /dev/home
Posts: 83
Default

One way this could be achieved is with a managed switch with the network segmented into vlans. IP HELPER addresses are then required to inform the DHCP server which network/vlan the request has come from and which zone to allocate an IP address from.

Now that the network is segmented a router will also be required to allow traffic to pass between the different networks.

I have used the above method to segment networks where there is more than 254 hosts on the network to avoid supernetting (joining ip blocks together).

Another way you could achieve this is by creating reservations in the DHCP server and assigning IP addresses to computers by MAC address and having one IP address per "network" on the server for the default gateway (and if you want each network to talk to each other implement routing on the server).

-RBE-

Last edited by rbe; 25th November 2004 at 7:10 PM. Reason: spelling
rbe is offline   Reply With Quote
Old 25th November 2004, 7:49 PM   #3
maddhatter
Member
 
maddhatter's Avatar
 
Join Date: Jun 2001
Location: 21.1607°S, 149.0648°E
Posts: 4,558
Default

You could assign addresses based on mac address...
__________________
postcount=postcount+1;
maddhatter is offline   Reply With Quote
Old 25th November 2004, 8:05 PM   #4
Mr Snrub Thread Starter
Member
 
Join Date: Sep 2001
Location: Brisbane, Australia
Posts: 190
Default

Hmmm cheers guys.. Looks like theres no real practacal way... If I just set up a reservation for each MAC on the network, why use DHCP at all eh?
Mr Snrub is offline   Reply With Quote
Old 25th November 2004, 8:43 PM   #5
bsbozzy
Member
 
bsbozzy's Avatar
 
Join Date: Nov 2003
Location: Sydney
Posts: 3,542
Default

Quote:
Originally Posted by Mr Snrub
Hmmm cheers guys.. Looks like theres no real practacal way... If I just set up a reservation for each MAC on the network, why use DHCP at all eh?
Exactly, if i were you i would just use dhcp normally, install dns on the server and make sure all the pc's have a logical name and match up with what room they are in
__________________
WTB: Any one have a VT SS Commodore die cast model in heron white? Please PM Me.
bsbozzy is offline   Reply With Quote
Old 25th November 2004, 10:05 PM   #6
stalin
(Taking a Break)
 
stalin's Avatar
 
Join Date: Jun 2001
Location: On the move
Posts: 4,584
Default

easy, VLAN each room, trunk to DHCP server, assign address aliases to the Interface.

MAC assigning would be best and they have near static that way.
stalin is offline   Reply With Quote
Old 26th November 2004, 12:09 AM   #7
mpot
<blank>
 
mpot's Avatar
 
Join Date: Jun 2001
Location: Perth, WA
Posts: 5,345
Default

Quote:
Originally Posted by Mr Snrub
Hmmm cheers guys.. Looks like theres no real practacal way... If I just set up a reservation for each MAC on the network, why use DHCP at all eh?
So you can control thinks like default gateway, dns, etc, via the DHCP server.

Cheers,
Martin.
__________________
[ photography blog | redbubble | flickr ]
mpot is offline   Reply With Quote
Old 26th November 2004, 9:48 PM   #8
rbe
Member
 
Join Date: Jul 2004
Location: /dev/home
Posts: 83
Default

Quote:
Originally Posted by stalin
easy, VLAN each room, trunk to DHCP server, assign address aliases to the Interface.

MAC assigning would be best and they have near static that way.
What switch do you propose to this with at home?

-RBE-
rbe is offline   Reply With Quote
Old 27th November 2004, 11:41 AM   #9
stalin
(Taking a Break)
 
stalin's Avatar
 
Join Date: Jun 2001
Location: On the move
Posts: 4,584
Default

whatever switch you were refering to in your first post........ :P

i dont really care.. he asked if it can be done.
it can.. really easily.

several people i know have managed switches as home (generally on loan from work) so its certainly not out of the question he could have/get one.
Also he has 20 theroretical clients.. that means ~20 people paying for it...

Last edited by stalin; 27th November 2004 at 11:44 AM.
stalin is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 2:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!