The myth that Google supposedly ranks websites that share the same IP address with other domains worse has persisted for many years. In fact, there is no proof of this, no sound research, and even a clear statement from Google itself saying the opposite.
There are not enough IPv4 addresses in the world to provide every website with its own. That's why hundreds of millions of shared hosting websites share IP addresses with other websites and are recognized by their domain names on the host instead. The IP address also says nothing about the content quality of a website.
Google's technical director Craig Silverstein wrote about the issue of dedicated IP addresses in the North American Network Operators Group as early as 2003: "Actually, Google handles virtually hosted domains and their links just the same as domains on unique IP addresses. If your ISP does virtual hosting correctly, you'll never see a difference between the two cases."
Your website's IP address does not affect ranking, but in certain cases it may affect your website's association with a particular country. Google search results depend on the location of the provider and the location of the searcher. A result in the same location may be shown further on top than a result in a different location. This is also true for countries. Many homepage owners therefore attach importance to the fact that the server of the website is located in a certain country. Supposedly, Google evaluates the IP address of the server, thereby finding out the country to which the domain content refers, and thus reorders the search result. But in fact, this is only half the truth. Google does assign domains to countries, but this assignment depends only in some cases on the IP address of the server.
First, Google looks at the domain extension. If the domain is a country domain such as .de, .at, .ch, .fr, .nl etc., Google assigns the domain to the respective country, i.e. corresponding to Germany, Austria, Switzerland, France, Netherlands etc.. It does not matter in which country the server is located or which IP address the server has. It is not possible to assign such a domain in Google to another country. Even if your server was located in South Africa, for example, your .de domain would still be assigned to Germany.
However, if it is a generic top-level domain such as .com, .net, .org, .info, .biz, etc., which by default does not designate a specific country, you can use Google Webmaster Tools to determine which country the domain should be assigned to. Again, it does not matter in which country the server is located or which IP address the server has. The Google Webmaster Tools is a website of Google, where you can collect a lot of information about your website, which is important for the search engine. Only if you neither use a country-toplevel domain nor have entered the country you want in Google Webmaster Tools, Google evaluates the IP address of your server and uses it to determine the actual server location. For most applications, therefore, contrary to the popular opinion of many users, it does not matter in which country the web server is actually located and which IP address it has. For country domains, the website is automatically assigned to the country of the domain extension anyway, for generic domains you can control the assignment yourself.
All in all: You do not need a separate IP address. That is also one reason why some providers do not offer them.
A CDN won't help in any way.