Questions tagged [ip]

IP - Internet Protocol, the most commonly-used set of rules for dispatching data across a large computer network.

IP (Internet Protocol) is a protocol which encapsulates data for transit across the Internet and encodes its source and destination addresses, among other parameters. It implements the network layer (layer 3) of the OSI model.

Questions related to IP (addressing, routing, and protocol issues) fall under this tag; questions merely containing an IP address do not.

2827 questions
46
votes
5 answers

Why can't I reach my Amazon EC2 instance via its Elastic IP address?

The server works fine via the Amazon assigned DNS entry, but I cannot reach it (using a browser) via the Elastic IP address Amazon assigned the box. Ping does not work either. I am trying to confirm it is reachable before I add the IP address to my…
43
votes
13 answers

How to get a list of all IP addresses (and ideally device names) on a LAN?

Our network gave an error that there was an IP address conflict and I'd like to find what all the device IP addresses are. (I've also had need of that before). (update/clarification:I'm looking for a Windows-based too.) Any suggestions? I've read…
Clay Nichols
  • 1,431
  • 6
  • 25
  • 30
41
votes
5 answers

Why do we ping the IP 4.2.2.2 to test connectivity?

For as long as I can remember, I've always used the IP 4.2.2.2 when testing network connectivity using ping. What is significant about this IP, and when did this practice start?
gnavi
  • 513
  • 1
  • 4
  • 6
41
votes
8 answers

Force local IP traffic to an external interface

I have a machine with several interfaces that I can configure as I want, for instance: eth1: 192.168.1.1 eth2: 192.168.2.2 I would like to forward all the traffic sent to one of these local addresses through the other interface. For instance, all…
calandoa
  • 1,285
  • 2
  • 12
  • 14
40
votes
9 answers

Why does typing an IP address instead of the corresponding domain name not show the website?

> host example.com example.com has address 93.184.216.34 example.com has IPv6 address 2606:2800:220:1:248:1893:25c8:1946 I type 93.184.216.34 instead of http://example.com in Chrome. It doesn't load the website. Why?
user201874
40
votes
7 answers

Can a single network card have 2 IP addresses?

Are network cards and IP addresses a one-one map?
kernel
  • 8,561
  • 6
  • 20
  • 14
39
votes
3 answers

Nginx - How to redirect users with certain IP to special page

I run quite a big image gallery and there are 5 visitors that create an enormous amount of traffic by downloading the whole site every day using webcopiers. Those visitors have static IPs as it seems. What I would like to achieve is that those 5 IPs…
Alex
  • 391
  • 1
  • 3
  • 6
38
votes
5 answers

Users with Google's IP address. How is it possible?

I have a spanish website and I do not allow people from non-european countries to register and to login. Some time ago I started to receive messages from users who can not login. When I ask for their IP address they tell something like:…
user1406271
  • 1,071
  • 4
  • 14
  • 20
38
votes
4 answers

How do I find out what my IP Address of my MySQL host is?

I have a free domain running at x10hosting (x10.bz), and I want to find out the IP Address of my MySQL host for it, so I can contact the MySQL database from another host. I've already added that host to the access list, but now I need to find out…
Deniz Zoeteman
  • 729
  • 2
  • 8
  • 18
37
votes
5 answers

How to route different traffic thru different network interfaces (in Windows)

I've searched for details on how to do this but I've been unsuccessful - I wondered if someone could offer up some advice. So, let's say I have 2 network cards (LAN and 3G in my instance), both assigned dynamic IP addresses. The LAN interface is my…
user28599
37
votes
6 answers

How to see incoming IPs in Linux?

I am wondering what is the command/utility to have a real-time view of incoming IPs to my server, ideally along with the port and connected.
alfish
  • 3,127
  • 15
  • 47
  • 71
36
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
  • 70,200
  • 57
  • 200
  • 323
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 it possible for two hostnames share the same IP address?

Can anyone explain whether it is possible for two hostnames to share the same IP address? And what about if one hostname represents more than one IP address, is that possible too? Why?
jean
  • 385
  • 1
  • 3
  • 4
35
votes
4 answers

Where does Amazon publish the range of IP addresses used for EC2 instances by region?

How can I keep updated of changes to the range of IP addresses that Amazon will use for EC2 instances. I want to add a range of IPs to my firewall settings to allow access to my 'ground based' mysql database from instances started by my autoscale…
undefined
  • 654
  • 2
  • 8
  • 18