Which is better static or dynamic ip

Every computer connected to the network has its own unique or not so the ID on the Internet by which other computers can refer to it and answer his queries. If it were not such an address, how would the network has been able to determine what computer is the intended message? Logically, each computer must have a unique address, but the technology has evolved, the number of devices grew rapidly and free address beginning to miss.

So they were invented different technologies which allow to use free address on a queue for different computers, and then use the same address for hundreds of computers. In this article we will discuss what is better static or dynamic ip, what is the difference between these addresses, the advantages of each and how to know what address you have.

What static IP address?

When the Internet was in its infancy, each computer or server a static IP address. This is the address your computer receives when you first connect to the network from the ISP, and then it was applied in the settings of the computer and never change even across reboots. When addresses was not enough, was invented several technologies to solve this problem. Now static addresses cost money and are used mostly only for servers.

This is necessary so that users always had access to the server. IP is the only identifier for a computer on the network and only him computers find each other. If the ip changes, you will have to change a lot of settings and wait some time until the site or server will be assigned a new address.

What is dynamic IP address?

Since the number of devices that need to connect to the network increased, and the number of IPv4 addresses is strictly limited to providers had to resort to various optimizations. One of these optimizations was a dynamic address. This is the exact same address as static, and the computer is fully accessible from the network. It differs only in the fact that you get this address every time you connect to the network and every time it can be new.

This is based on the fact that users do not use the Internet round the clock and the device clock is not enabled. So a certain time the ip address will be idle. To solve this problem you are given one free IP address, once the connection breaks, this address is deallocated and given to someone else, or after a certain time. If you reconnect, you will be issued a new address. Such addresses are distributed via DHCP. With this address, you can still play other games on the network through the Internet, but will not be able to post the site because the ip will change and will the site be offline for all the difference of static and dynamic ip in this.

What is NAT?

Dynamic addresses given the lack of optimization, just a few times. This was not enough, and providers had to use another technology instead of the dynamic addresses. Is NAT. I have decided that we can not talk about this in the article about the comparison of ip addresses. Many beginners are reading the article about dynamic ip and they think “let’s Say I have a dynamic ip, well I start the game the server give your IP to a friend and we’ll play”, but it was not there, not working. Why? Because now dynamic IP providers are not used. I have found that time, it was then, launched the server SAMP, told a friend the IP and play.

Replaced by dynamic locations come with NAT, which allows you to use a single ip address simultaneously to hundreds of users. It’s very simple. Computers are United in local network provider and each gets a unique ip address from the range 192, or 172, which are designed for local networks. Then there is one server that has a static IP and acts as a gateway to the Internet for the local network.

When one computer sends a request to a server, that replaces the send port on its meaning, and remembers that the answers to this port to send on such a computer from the local network. Upon receiving the response, the server simply changes the port to the one that was before the replacement takes the local address of the computer from the memory port and transfers the message. But if another computer will decide to contact your outside and first sent request, you get a problem, the server will not know which of the several hundred computers that is drawn and nothing happens.

Is this bad for the average user? I think not. It’s even better. When you have a static IP, you very easy to obtain. Your IP address is logged everywhere, so you just identify. Moreover, in the network there are many bots that are trying to sort out the passwords for ssh, ftp and other services, exploiting vulnerabilities and so on. If the server is specially configured to work in such an aggressive environment and is constantly updated, the home computer user hardly.

Which is better static or dynamic ip

Now try to answer the question of dynamic or static ip is better for your situation. If you take a server, the answer is clear – no static ip and no other options.

With a home computer is also simple. Static and dynamic IP are a danger to him. For example, I’m on the computer many different programs, running services, which I need for testing. Each of them can contain vulnerabilities and not one. Constantly find vulnerabilities, both in Windows and in Linux. So here NAT is the ideal solution. You sufficiently protected and less the outside world can gain access to your computer.

If you are interested in how to find out what the ip is dynamic or static, it is also quite simple. You can take your IP and try to connect to it via external ip. For example, run Apache on port 80 and try to connect to your external ip. If instead of the expected home page of Apache appears authentication or there’s any error, it is NAT. If you open your page – the IP is likely dynamic. You can observe whether changing it restarts. But if you have not purchased separately static IP, it is in most cases the dynamic address. And the difference between a static ip from the dynamic you already know.

As for selecting IP addresses for your home network, everything is a little bit different. Of course, to obtain an address via DHCP much easier, but if you configure a static address, then, first, the network connection will be faster, and secondly, you will always know what’s the address of a device. I hope this information was useful to you. If you have any questions about what is better static or dynamic ip, ask in the comments!

Source: losst.ru

(Visited 23 times, 1 visits today)