QUESTION 1
Every website has an IP Address.
So instead of typing www.google.com, I could also type in the IP Address of Google, and then I will get to the website of Google.
To know what the IP is of Google, I open CMD and type "ping google.com", then IP of Google is visible.
And then I type that IP in the Browser, and I will go to Google.
But this does not work with every website??
The IP address to name conversion is handled by DNS (Domain Name Service)
Pinging a web address will give you one IP address, provided the web site is configured to respond to ping attempts. Machines can be configured to not respond to ping requests. There used to be an attack called Ping of Death that could take a web site down with improper ping requests.
One server can actually handle many different functions, Web Server, FTP Server, Mail Server, Image Server, and so on.
QUESTION 2
Everyone has a public IP Address.
If I type my own public IP in the Browser, where will I get to?
I think I know the answer to this one, but I want to hear from you guys to verify if I am correct.
Not necessarily true. Some ISPs (Internet Service Provider) give their users private IP addresses (10.x.x.x or 192.168.x.x). This is due to running out of public IPv4 addresses.
If you type in your public IP address, which you can find by going to WhatIsMyIP.com most likely you will get nothing. Your firewall and router will need to be configured to allow the traffic and the traffic must be allowed by your ISP. Many ISPs block mail server and web server traffic. In order to receive something the proper ports must be opened and a device must be listening. Any machine that is listening on your public IP address can be attacked from anyone on the Internet from that port. Shodan.io can show you many devices on the Internet.
QUESTION 3
It's possible to give
your own PC a static IP.
What if I put my own public IP as static IP of my PC?
Or what if I just randomly put any public IP as static IP of my PC?
Yes, you can give your own PC a static IP address. This is frequently done on networks for devices that are on all of the time, servers, network printers, video cameras, etc.
In order to set your PC to your public IP it would need to be directly connected to the Internet and not behind a router, HIGHLY NOT RECOMMENDED. How long this would work would depend on your ISP. Most ISPs charge to have a static public IP address. So, while you may be able to operate for a while with a static IP address your ISP may change your address and your machine would stop working.
QUESTION 4
It's possible to apply an IP Address on a Router Interface.
What if I apply a public IP Address on it?
Because normally you would use Local IP Addresses.
Yes, that's how your router works. The WAN (Wide Area Network) side has your public IP address and the LAN (Local Area Network) has your private IP address. You can't use the public IP address on both sides of the router. Imagine your router needed to route traffic to the WAN from the same address on the LAN, since both are the same how would it know where to send the traffic?
QUESTION 5
A website has a public
IP Address of X.X.X.X.
What if I use that address as configuration of Static IP for my own PC?
Will the owner of this website get a notification that there is an IP Conflict or something else??
Will that site become unavailable??
[/quote]
Nothing would happen, other than your PC would have no Internet access. In order to cause any issue your ISP would also have to be the ISP of the web site. Take a read or listen to [url=https://www.grc.com/sn/past/2006.htm#25]Security Now! Episode 25 - How the Internet Works - Part 1[url] and [url=https://www.grc.com/sn/past/2006.htm#26]Security Now! Episode 26 - How the Internet Works - Part 2[url] for more information on Internet Routing Tables.
[quote name="DefaultGateway"]
QUESTION 6
What happens if I enter my School IP in the Browser??
The answer is the same as question 2, it all depends on what devices are listening on that IP address.
Edited by Kilroy, 19 June 2016 - 09:53 AM.