Koozali.org: home of the SME Server

DHCP

Offline [m364n0]

  • **
  • 26
  • +0/-0
DHCP
« on: August 25, 2011, 03:39:57 AM »
Good morning guys, we have our SME Server installed on a clone PC served as a Proxy/DHCP Server...One day a newly installed Windows PC want to access to the internet, when we try to access to the internet by using an IP Address that already own by another PC that has already registered on our DHCP server along with his MAC Address, the newly installed Windows PC can access to the internet....my question now is, why the newly installed Windows PC that haven't register yet to our Proxy/DHCP Server can access to the internet? Eventhough the MAC Address that being register to our Proxy/DHCP Server is not belongs to the newly installed Windows PC?

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: DHCP
« Reply #1 on: August 25, 2011, 12:34:14 PM »
Hi

By default, DHCP  do not require you register each machine before it delivery IP addresses.
Just after a clean install, when a machine is plugged on same LAN  than server, it will get an IP fron DHCP on server.

...

Offline [m364n0]

  • **
  • 26
  • +0/-0
Re: DHCP
« Reply #2 on: August 26, 2011, 09:43:09 AM »
Yes I know that but the register MAC Address of the said IP can access to the internet and the clean install PC will get an IP Address of the DHCP Server cannot access to the internet that's why he will use the existing IP Address so that he can access to the internet....now my question is if the DHCP config is registering MAC Address of each ethernet card will be the best solution so other PC cannot steal their IP would be useless because still the clean installed PC can browse to the internet....

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: DHCP
« Reply #3 on: August 26, 2011, 02:43:49 PM »
So you're trying to filter who can access internet by MAC addresses ?
Please explain in detail your problem.
...

Offline [m364n0]

  • **
  • 26
  • +0/-0
Re: DHCP
« Reply #4 on: September 09, 2011, 02:53:43 AM »
Yes we're trying to filter those who and who can't access to the internet but still other user simply copy the ip address of other pc that has internet connection so they can have access to the internet....I thought that will pop up and error because that certain ip is already set and registered the mac address to the DHCP server.....

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: DHCP
« Reply #5 on: September 09, 2011, 05:25:34 AM »
m364n0

Add the mac adresses to the hostnames and adresses panel in sme server manager with the IP you require each PC to have. This will force DHCP to allocate that IP to the PC with the matching NIC mac.

Then install Dansguardian as per the wiki Howto and filter your users access based on IP.
I suggest you configure a blanket or global block on all net accesss, so initially no one can access anything. Then allow certain access for required (ie allowed) PCs based on IP. That also means any newly connected PCs will not be allowed net access due to the global block, until you add them to a filter group.  Alternatively the default filter group could have limited net access as you prefer. Refer Dansguardian wiki article for more details re filtering.
Instal Dansguardian and review each configuration file as there are useful details there re how to control access in different ways etc.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: DHCP
« Reply #6 on: September 09, 2011, 08:15:47 AM »
Yes we're trying to filter those who and who can't access to the internet but still other user simply copy the ip address of other pc that has internet connection so they can have access to the internet....I thought that will pop up and error because that certain ip is already set and registered the mac address to the DHCP server.....

I guess your users are administrators or their pc.. that's bad..