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

Issues related to configuring your network
Post Reply
Jon92
Posts: 3
Joined: 2018/07/22 00:39:08

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

Post by Jon92 » 2018/07/23 23:46:57

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. :?:

User avatar
TrevorH
Forum Moderator
Posts: 23854
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2018/07/24 06:09:52

Servers use static ip addresses, client machines use DHCP...
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Whoever
Posts: 1033
Joined: 2013/09/06 03:12:10

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

Post by Whoever » 2018/07/24 15:01:31

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.

MartinR
Posts: 346
Joined: 2015/05/11 07:53:27
Location: UK

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

Post by MartinR » 2018/07/24 16:13:09

Just to add to Whoever's reply; that is typically how clusters with hundreds of diskless machines set themselves up.

User avatar
jlehtone
Posts: 2015
Joined: 2007/12/11 08:17:33
Location: Finland

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

Post by jlehtone » 2018/07/31 06:23:50

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?

Post Reply