Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: mgb 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
-
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
-
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
-
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
-
Perhaps with a network card hardware address MAC ADDR
Or with WINS
-
mgb
Assuming they are Windows workstations, then it is something you would do with system policies
-
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.
-
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.
-
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?
-
mgb.. is your server in server only mode?
-
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
-
Each computer a different IP
-
but your post shows pc 1 and pc 2 have the same ip?
-
His updated one shows unique addresses
-
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
(http://linux.makif.omer.k12.il/wr/uploaded/mapgw.JPG)
-
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
-
CharlieBrady
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 ?
-
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
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...)
-
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