Koozali.org: home of the SME Server

Hello I have a question about DHCP

Offline mgb

  • *****
  • 558
  • +0/-0
Hello I have a question about DHCP
« on: May 29, 2012, 09:14:01 PM »
Hello I have a question about DHCP
 I want that server SME8
 Scatter addresses only some computers
 And ignore the rest of the computers
 For example there are about 50 computers on the network
 I would like particularities only 10 computers from the server IP address will
 Another possible mode or
 DHCP server IP address will distribute 10 unique with a unique rate
 And the remaining 40 computers will have addresses with unique gate after
Thanks all for helping
Skype yosii2009

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #1 on: May 29, 2012, 09:30:31 PM »
mgb

I am unsure of your question, the English grammar is not understandable.

In server manager Hostnames and addresses panel, add the workstation name, desired IP and mac address (of the workstation NIC)
This will force the DHCP server to always issue a workstation with the specified IP
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #2 on: May 30, 2012, 11:42:48 AM »
Thanks for the response
 Explain the problem
 I   I have 50 computers Niidiim
  I have two ADSL network
  I would like to direct your computer by a decision
 Computers can not fix or address proxy settings
 Due to a different space use
 I want to register a computer
 Table for DHCP example

 PC1 192.168.183.2 255.255.255.0 DNS 192.168.183.1 GW 192.168.183.254


 PC2 192.168.183.2 255.255.255.0 DNS 192.168.183.1 GW 192.168.183.253
 Thanks
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hello I have a question about DHCP
« Reply #3 on: May 30, 2012, 11:51:32 AM »
Table for DHCP example

 PC1 192.168.183.2 255.255.255.0 DNS 192.168.183.1 GW 192.168.183.254


 PC2 192.168.183.2 255.255.255.0 DNS 192.168.183.1 GW 192.168.183.253
 Thanks

you can't

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #4 on: May 30, 2012, 12:05:54 PM »
Perhaps with a network card hardware address MAC ADDR
 Or with WINS
Thanks all for helping
Skype yosii2009

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #5 on: May 30, 2012, 02:16:58 PM »
mgb

Assuming they are Windows workstations, then it is something you would do with system policies
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Hello I have a question about DHCP
« Reply #6 on: May 30, 2012, 07:23:31 PM »
PC1 192.168.183.2 255.255.255.0 DNS 192.168.183.1 GW 192.168.183.254

 PC2 192.168.183.2 255.255.255.0 DNS 192.168.183.1 GW 192.168.183.253

These two computers cannot co-exist (and both work) on the same physical network.

If you wish to have two distinct (i.e. non-overlapping) address pools, having different default GW, that would be possible, but would require a custom template.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Hello I have a question about DHCP
« Reply #7 on: May 30, 2012, 07:24:29 PM »
Assuming they are Windows workstations, then it is something you would do with system policies

No, system policies will not allow two PCs to use the same IP address on the same physical network.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #8 on: May 30, 2012, 09:08:02 PM »
 I was wrong sorry 
correction table
PC1 192.168.183.3 255.255.255.0 DNS 192.168.183.1 GW 192.168.183.254


  PC2 192.168.183.2 255.255.255.0 DNS 192.168.183.1 GW 192.168.183.253
Well I understand the answers given to
 At a
 TXT file
 With list
 Then?
« Last Edit: May 30, 2012, 09:16:11 PM by mgb »
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Hello I have a question about DHCP
« Reply #9 on: May 30, 2012, 09:54:45 PM »
mgb.. is your server in server only mode?

Offline jameswilson

  • *
  • 794
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Hello I have a question about DHCP
« Reply #10 on: May 30, 2012, 09:57:51 PM »
you still cant have 2 pc's with the same address/ ip on the same network, unless you have seperate vlans.

you would need 2 sme's on seperate ips, ie 192.168.183.x and 192.168.184.x

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #11 on: May 30, 2012, 10:07:23 PM »
Each computer a different IP
Thanks all for helping
Skype yosii2009

Offline jameswilson

  • *
  • 794
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Hello I have a question about DHCP
« Reply #12 on: May 30, 2012, 10:10:32 PM »
but your post shows pc 1 and pc 2 have the same ip?


Offline johnp

  • *****
  • 312
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #13 on: May 31, 2012, 01:58:53 AM »
His updated one shows unique addresses

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #14 on: May 31, 2012, 07:25:07 AM »
Well I use the configuration
 server and gateway
 start dhcp
 my addres in network
 192.168.183.1 255.255.255.0 dns sme
 the server sme is the gatway
 The question is from i config the tables
 And ready I set the addresses manually

get 2 gw  1 sme
gw  adsl  192.168.183.254

« Last Edit: May 31, 2012, 08:57:56 AM by mgb »
Thanks all for helping
Skype yosii2009

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #15 on: June 01, 2012, 10:25:44 AM »
 Sorry about the incorrect explanation due to language and translation
  I can not manually set
 IP addresses FOR PC
 Waiting for ideas to the SME dhcp config
  Thank you
Thanks all for helping
Skype yosii2009

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #16 on: June 01, 2012, 01:10:35 PM »
CharlieBrady

Quote
No, system policies will not allow two PCs to use the same IP address on the same physical network.

That's correct Charlie, but I read mgb's mind and knew the situation meant different LAN IP's, which subsequently was proven to be correct.

Moving on:
It seems the requirement of mgb is only to have different PC's use different gateways, and this needs to be able to be configured on the sme server when DHCP leases are handed out.

Is that possible using a custom template ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline larieu

  • *****
  • 214
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #17 on: June 01, 2012, 06:58:04 PM »
mgb

1. "elaborate" solution
what about 2 clsasses and VLAN on switch's?

let's say
you need that PC1,2,...5 need to have IP from DHCP 1 (your main router or your 2003 server) with default gateway ADSL2

and

PC6,7.... need to have access to gateway SME through ADSL1

you put this computers in different VLAN's and in each VLAN you put separate DHCP (one SME box) with different gaeway, and you made both routers (SME box one of them)  in the same third VLAN with routing policies between them


2. "poor man solution"
you put only one DHCP server which give you access to the "normal" gateway
on the computers where you'll need gateway 2 (PC6,7....)
implement one small script/batch program load at boot doing this

Code: [Select]
route delete default
route add default newGW
(this is not the real code - it depends where you want to implement it  in windows is witn 0.0.0.0...)


if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Hello I have a question about DHCP
« Reply #18 on: June 05, 2012, 01:06:06 PM »
 Thanks for the answers
 It's the most appropriate solution
 For windows
 route delete 0.0.0.0
 route add 0.0.0.0 MASK 0.0.0.0 IPGW

On
 what about 2 clsasses and VLAN on switch's?

 It's not for the network system
 Only one entry DOMAIN
 And there are other shares such as printers
« Last Edit: June 05, 2012, 01:14:57 PM by mgb »
Thanks all for helping
Skype yosii2009