Page 1 of 1

How to statically assign IP's to every PC in a small to large business.

Posted: 2018/07/23 23:46:57
by Jon92
In the Windows world you would use a GPO to disable people from configuring adapter settings like IPv4 addressing then you would create address pools for each department or floor can assign OU's and stuff the pool they fit into. <not 100% accurate i don't feel like typing unnessary stuff like i currently am. Thing i wanna know is say you have a small to large buisness and on all the PC's you use CentOs or Fedora, how would you assign static ip's to all them for remote management and other Admin things. would you need to manual edit each Ifcfg-XXXX file? that would be time consuming no? how the heck do Linux companies do it. :?:

Re: How to statically assign IP's to every PC in a small to large business.

Posted: 2018/07/24 06:09:52
by TrevorH
Servers use static ip addresses, client machines use DHCP...

Re: How to statically assign IP's to every PC in a small to large business.

Posted: 2018/07/24 15:01:31
by Whoever
You can either make the IP addresses static on each individual machine (making sure that the addresses assigned are outside the DHCP range), or you can set up pseudo-static IP addresses, where the DHCP server assigns specific addresses based on the MAC address of the DHCP client.

Re: How to statically assign IP's to every PC in a small to large business.

Posted: 2018/07/24 16:13:09
by MartinR
Just to add to Whoever's reply; that is typically how clusters with hundreds of diskless machines set themselves up.

Re: How to statically assign IP's to every PC in a small to large business.

Posted: 2018/07/31 06:23:50
by jlehtone
Definitely DHCP. DHCP server is a single place, where you register new MAC addresses. All clients (Windows, Linux, OS X) can use that.

Furthermore, the DHCP can be set to reject unregistered clients; clients with unknown MAC will get no IP address. You don't want bypassers to trivially plug their laptop into your company LAN, do you?