Questions tagged [ip-address]

IP address is a numerical label assigned to each device participating in a computer network that uses IP for communication.

An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication. An IP address serves two principal functions: host or network interface identification and location addressing. Its role has been characterized as follows: "A name indicates what we seek. An address indicates where it is. A route indicates how to get there."

The designers of the Internet Protocol defined an IP address as a 32-bit number1 and this system, known as Internet Protocol Version 4 (IPv4), is still in use today. However, due to the enormous growth of the Internet and the predicted depletion of available addresses, a new addressing system (IPv6), using 128 bits for the address, was developed in 1995,[3] standardized as RFC 2460 in 1998,[4] and its deployment has been ongoing since the mid-2000s.

IP addresses are binary numbers, but they are usually stored in text files and displayed in human-readable notations, such as 172.16.254.1 (for IPv4), and 2001:db8:0:1234:0:567:8:1 (for IPv6).

The Internet Assigned Numbers Authority (IANA) manages the IP address space allocations globally and delegates five regional Internet registries (RIRs) to allocate IP address blocks to local Internet registries (Internet service providers) and other entities.

Source: Wikipedia.

  • See also:
573 questions
275
votes
5 answers

What's the difference between IP address 0.0.0.0 and 127.0.0.1?

I know that 127.0.0.1 ~ 127.255.255.254 are the loopback IP addresses for most modern operating systems, and these IP addresses can be used to refer to our own computer. But what's 0.0.0.0? It seems it also refers to the local computer, so what's…
Jichao
  • 2,937
  • 4
  • 17
  • 14
169
votes
10 answers

How bad is IPv4 address exhaustion really?

For years the press has been writing about the problem that there are now very few IPv4 addresses available. But on the other hand, I'm using a server hosting company which gladly gives out public IPv4 addresses for a small amount of money. And my…
oz1cz
  • 1,565
  • 3
  • 11
  • 10
101
votes
5 answers

What is this IP address: 169.254.169.254?

I have always noticed an IP something "169.254.x.x" in my routing table even when I am not connected to any network in my Windows operating system. In Linux, when I list my routing table. $ ip route show I get an entry like 169.254.0.0/16 dev eth0…
pradeepchhetri
  • 2,518
  • 6
  • 33
  • 45
99
votes
6 answers

Why can't MX records point to an IP address?

I understand you should not point a MX record at an IP address directly, but should instead point it to an A record, which, in turns, points to the IP address of your mail server. But, in principle, why is this required?
dayuloli
  • 1,223
  • 1
  • 10
  • 18
70
votes
15 answers

Are IP addresses "trivial to forge"?

I was reading through some of the notes on Google's new public DNS service: Performance Benefits Security Benefits I noticed under the security section this paragraph: Until a standard system-wide solution to DNS vulnerabilities is universally…
Jeff Atwood
  • 12,994
  • 20
  • 74
  • 92
70
votes
3 answers

Block range of IP Addresses

I am getting bombarded with attempted hacks from China all with similar IPs. How would I block the IP range with something like 116.10.191.* etc. I am running Ubuntu Server 13.10. The current line I am using is: sudo /sbin/iptables -A INPUT -s…
Stephen Cioffi
  • 817
  • 1
  • 7
  • 8
55
votes
5 answers

associate name with ip for ssh?

Let's say I just have an ip address for a server and I don't have a domain with it (it's just a database server, so it doesn't need a domain). I don't want to have to remember the ip address every time, so is there a way I could still use the syntax…
Matthew
  • 1,769
  • 4
  • 21
  • 32
51
votes
7 answers

How to take full ownership of an IP address?

My business is... troublesome. What I do is legal in every country on earth, but some people don't like it, and make it so tough on my poor ISPs that I am forced to go looking for new providers more often than I would like. The only option I know of…
darkAsPitch
  • 1,861
  • 4
  • 25
  • 42
48
votes
7 answers

Get IP addresses and computer names in the same network

What is the command that can be used to get the IP address and the names of the computers that are located in the same network? I am running Windows
Graviton
  • 2,775
  • 12
  • 41
  • 62
46
votes
3 answers

why is loopback IP address from 127.0.0.1 to 127.255.255.254?

I do know that 127.0.0.1 ~ 127.255.255.254 are the loopback IP addresses for most modern operating systems and we could use these IP addresses to refer to our own computer. But isn't 127.0.0.1 enough?!?! why a wide range? why from 127.0.0.1 to…
kiana
36
votes
6 answers

Is it valid to have part of an IPv4 address set to zero?

I am working on a change in a Java EE application that would authenticate based on the user's IP address using ServletRequest.getRemoteAddr. We store IP address ranges (FROM_IP and TO_IP) in a database and the system would authenticate only if a…
Ritesh
  • 471
  • 1
  • 8
  • 10
35
votes
7 answers

Is 0.1.2.3 a valid IP address?

Are IP addresses with all zeroes in the first octet valid? For example, can 0.1.2.0/24 be a valid subnet, with network address 0.1.2.0, broadcast address 0.1.2.255 and an usable address range from 0.1.2.1 to 0.1.2.254? It looks like it should be…
Massimo
  • 68,714
  • 56
  • 196
  • 319
33
votes
1 answer

How to disable http basic auth in nginx for a specific ip range?

I'm developing an application with facebook login. So far it's not public and is protected by http basic auth in nginx. Is it possible to disable http auth for facebook's ip range so that we can have our tester test the facebook capabilities as…
VoY
  • 1,265
  • 2
  • 11
  • 9
31
votes
7 answers

How do you have one IP address and many websites?

How can I have it where I have one IP address that sits on the Internet but many web names? For example, when a hosting company has a shared IP but I get unlimited domain names (along with everyone else on that box). I have a box on the Internet but…
johnny
  • 2,268
  • 9
  • 35
  • 54
29
votes
4 answers

How does a computer obtain an IP address via DHCP?

How does the computer know which device on the network to query? How does the default gateway factor into this? Pretty much, what is the chain of events that occurs when a computer tries to obtain an IP address using DHCP? The reason I ask is…
Bigbio2002
  • 2,763
  • 11
  • 34
  • 51
1
2 3
38 39