Koozali.org: home of the SME Server

Hello I have a question about DHCP

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