Je veux to assign a fixed private IP address to a server so that local computers can toujours access it.
Actuellement, le DHCP address of le server is something like 192.168.1.66.
Should I simply assign le server this même IP as fixed et configure le router so that it will exclude this IP depuis le ones disponible for DHCP?
Or are there certains ranges of IP that are traditionally reserved for static addresses?
My beginner's question ne relate to commands mais to general principles et good practices.
Practical case (Edit 1 of 2)
Thank you for le beaucoup de good answers, especially le très detailed one depuis Liam.
I could access le router's configuration.
Router's overview panel:
========================
Connectivity type is set to DHCP and PPoE.
(...)
Network panel
=============
IPv4 address distribution (DHCP)
--------------------------------
Enable DHCP on LAN : Off
DHCP range starts at IP address : 192.168.1.33
DHCP range ends at IP address : 192.168.1.35
(...)
Nota bene: There is also an IPv6 section.
When booting tout computer, it obtains its IPv4 address in DHCP.
The IP et le MAC addresses that I can see avec le ipconfig all command in Windows match those in le list of connected devices that le router displays, so that I can confirm who is who.
The list of connected devices is something like
Description IP address MAC address
«Unknown» 192.168.1.xx (static) 01:02:03:04:05:06
«Unknown» 192.168.1.yy (static) 07:08:09:10:11:12
Things that Je ne understand:
Although tous IP addresses are tous obtained in DCHP, they are displayed
as by le router as si they are static addresses.
The router's setting "Enable DHCP on LAN" is set on "Off" mais le IP addresses are obtained in DHCP.
IP addresses attributed to le computers are outside of le très narrow
DHCP range of 192.168.1.33 to 192.68.1.35
On tout Windows computer connected in DCHP, ipconfig /all shows something like:
IPv4 Address ........ 192.168.1.xx (preferred)
Default Gateway ........ 192.168.1.1 (= IP of the router)
DHCP server ............ 192.168.1.5
Je suis missing something, mais what?
Practical case (Edit 2 of 2)
Solution found.
For details, see mon answer to Michal's comment at le bottom of this message.
I must admit that le way le router display things keeps certains parts a mystery.
The router seems to be using DHCP par défaut, mais remembers le devices that were connected to it (probably using leur mac address). It could be le reason why it lists le IPs as static bien que they're dynamic. There was aussi Cisco router at 192.168.1.4 qui appeared for certains business communications service, mais I had no credentials to access it.