How do Internet protocols assign IP addresses?

IP addresses are not assigned by Internet protocols.

IP addresses are assigned by one of the following:

  • statically by entering the IP address in the configuration file of a server.
  • Through a DHCP server.
    DHCP servers dynamically assign a different IP address to each computer on a network.

In a network where the Internet also belongs, there are still DNS servers that translate domain names into IP addresses, but do not assign IP addresses themselves. When the page is called https://de.quora.com, a DNS server is called that returns the IP address of the page, which acts similarly to a phone book.Based on the IP address, the server can be contacted and the desired page can be returned.

In the case of https://de.quora.com, it is the protocol https, which is usually configured with port 443, while http is configured with port 80.The use of a port or Internet Protocol requires that a connection to the server is known, the call takes place in combination with the URL, with commonly known ports you can omit it in the URL, therefore the following URL is valid, but contains redundant (double) information: https://de.quora.com:443because https is usually configured with port 443.If the server administrator dials a port other than 443 for the https protocol, users would also have to specify it in the URL.
An Internet protocol thus opens the user an access to the server computer.Each server computer can run multiple server services, with each server service having to provide a different port, which may also mean that different protocols are used, but it is not mandatory.
For example, a Python server on port 5001 and a Java server on port 8080 could be configured, but it is the same server computer that delivers the Web page via Apache or Nginx server.
Python, Java, Apache and Nginx are different server services that are installed as software on a server computer and allow the server to communicate with the network.There are many other services, e.g. for e-mail, telnet, FTP, SFTP, SSH, etc., which also use one or more specific ports.
Clients (users) within the network can then call the server and in the case of a Web page, the communication usually consists only of requesting and delivering a Web page, but in the case of forms or other interactive elements, it is quite possible to that information is transmitted in both directions, i.e. from server to client and from client to server.

Leave a Reply