![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Sep 2001
Location: Brisbane, Australia
Posts: 190
|
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... |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 |
|
Member
Join Date: Jul 2004
Location: /dev/home
Posts: 83
|
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 |
|
|
|
|
|
#3 |
|
Member
Join Date: Jun 2001
Location: 21.1607°S, 149.0648°E
Posts: 4,558
|
You could assign addresses based on mac address...
__________________
postcount=postcount+1; |
|
|
|
|
|
#4 |
|
Member
Join Date: Sep 2001
Location: Brisbane, Australia
Posts: 190
|
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?
|
|
|
|
|
|
#5 | |
|
Member
Join Date: Nov 2003
Location: Sydney
Posts: 3,542
|
Quote:
__________________
WTB: Any one have a VT SS Commodore die cast model in heron white? Please PM Me. |
|
|
|
|
|
|
#6 |
|
(Taking a Break)
Join Date: Jun 2001
Location: On the move
Posts: 4,584
|
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. |
|
|
|
|
|
#7 | |
|
<blank>
Join Date: Jun 2001
Location: Perth, WA
Posts: 5,345
|
Quote:
Cheers, Martin. |
|
|
|
|
|
|
#8 | |
|
Member
Join Date: Jul 2004
Location: /dev/home
Posts: 83
|
Quote:
-RBE- |
|
|
|
|
|
|
#9 |
|
(Taking a Break)
Join Date: Jun 2001
Location: On the move
Posts: 4,584
|
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. |
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|