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

learn more… | top users | synonyms

116
votes
5answers
161k views

MySQL: Bind to more than one IP address?

Is there a secret way to bind MySQL to more than one IP address? As far as I can see the bind-address parameter in the my.cnf does not support more than one IP and you can't have it more than once.
73
votes
10answers
218k views

What's the command-line utility in Windows to do a reverse DNS look-up?

Is there a built-in command line tool that will do reverse DNS look-ups in Windows? I.e., something like <toolname> w.x.y.z => mycomputername I've tried: nslookup: seems to be forward ...
67
votes
4answers
70k views

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

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 what's 0.0.0.0? It ...
52
votes
6answers
445k views

How to determine the hostname from an IP address in a Windows network?

My LAN has 50 Windows hosts. At the Windows command line I try ping to get the IP address of a running Windows machine. The question is how to get hostname of a specific IP address in the same ...
41
votes
5answers
4k views

Why is tampering with the TTL of IP dangerous?

I've been reading the iptables man-page (light bedtime reading) and i came across the 'TTL' target, but it warns: Setting or incrementing the TTL field can potentially be very dangerous and ...
35
votes
11answers
9k views

Why would you use IPv6 internally?

Of course, I realize the need to go to IPv6 out on the open Internet since we are running out of addresses, but I really don't understand why there is any need to use it on an internal network. I have ...
35
votes
7answers
20k views

What is “anycast” and how is it helpful?

I'd never heard of anycast until a few seconds ago when I read this SF post. The wikipedia entry on it is quite formal and doesn't really evoke a mental picture of how it would be used. Can someone ...
33
votes
5answers
3k views

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 ...
29
votes
3answers
35k views

What is the difference between unicast, anycast, broadcast and multicast traffic?

I have never had the privilege of working in an environment that required complicated routing or if it did require it, it was handled upstream of me. I've always used very simple static routing ...
29
votes
5answers
2k views

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 ...
28
votes
7answers
13k views

How many computers can have the same public IP?

I've got a list of hundreds of page requests from the same IP and I need to know if these could be requests by different computers.
27
votes
5answers
8k views

Debugger for Iptables

I'm looking for an easy way to follow a packet through the iptables rules. This is not so much about logging, because I don't want to log all traffic (and I only want to have LOG targets for very few ...
26
votes
5answers
68k views

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?
22
votes
13answers
183k views

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 ...
21
votes
6answers
10k views

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?
20
votes
3answers
19k views

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 ...
19
votes
3answers
23k views

How do I block specific IPs and IP ranges in IIS7?

I'm trying to block various IP addresses from every site that I have hosted from an server running Windows 2008 and IIS7. I've found various information about how to do this using Deny rules from ...
16
votes
8answers
10k views

What is the network address (x.x.x.0) used for? [duplicate]

It appears to be common practice to not use the first address in a subnet, that is the IP 192.168.0.0/24, or a more exotic example would be 172.20.20.64/29. The ipcalc tool I frequently use follows ...
16
votes
2answers
3k views

What does [::] mean as an ip address? Bracket colon colon bracket

When I run netstat there are some entries such as TCP [::]:8010 computername LISTENING What does that mean? It is impossible to search for...
16
votes
7answers
16k views

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 ...
15
votes
9answers
59k views

Any way to find unused IP addresses on my network?

How can I locate unused IP addresses on my network? The DHCP server keeps assigning the same address and I need a different IP address to test my application with. The software would need to run on ...
13
votes
4answers
2k views

What does my ISP mean when they say they will provide “4 static IPs out of which 2 are usable”? [duplicate]

I am planning to get leased line installed at my office. I have talked to one of the ISPs about static IP. They said I'll get 4 static IPs out of which 2 are usable. What does that mean?
13
votes
4answers
14k views

Can the IP address for an HTTP request be spoofed?

On a website I am building, I plan to log the IP addresses of submissions, just in case it's necessary. I don't mind proxies, but outright spoofing your IP address would defeat the purpose. To ...
13
votes
1answer
1k views

Several IPs per server. Why?

Usually providers allow to add additional IP addresses to your server. I don't understand why. I can't imagine any common usecase which needs several IP addresses for one server.
13
votes
1answer
3k views

Change TeamCity IP address and port number on multi-homed Windows Server 2008 running IIS 7

After two full days of "research" (read: banging my head against my keyboard) and cursing at TeamCity/MSDN/Tomcat documentation as well as phantom IIS bindings, I've come up with an answer to a very ...
13
votes
4answers
15k views

How is route automatic metric calculated on Windows 7?

KB299540 explains how Windows XP automatically assign metrics to IP routes: The following table outlines the criteria that is used to assign metrics for routes that are bound to network interfaces ...
12
votes
7answers
9k views

Can a single network card have 2 IP addresses?

Are network cards and IP addresses a one-one map?
12
votes
5answers
2k views

What are the benefits of having an unique IP address?

I just signed up with DreamHost VPS, and their sign-up process offered an unique IP address for an additional ~$4/mo. I know what IP addresses are. Why would this uniqueness matter? Visitors are ...
12
votes
2answers
2k views

Machine always responds to 192.168.1.2 IP address, which is not set on the machine

UPDATE BELOW: UPDATE 2 BELOW: FINAL Solution I have a brand new HP EliteBook notebook 8560p running Windows 7 64bit. I plug it into a small Dlink di-604 router, it is currently configured with DHCP ...
11
votes
2answers
1k views

Multiple IP addresses per NIC

How can I have multiple IP addresses assigned to a single NIC? I remember doing this on Unix way back when. Can it be done on Windows?
11
votes
4answers
11k views

How to make Postfix use another IP address?

I'm using the Postfix mail server and I have 6 IPs available. I'd like to use another IP for the Postfix mail server for sending mail than the web server uses. How can I do this? My postfix version ...
10
votes
4answers
3k views

Is a Network Switch IP-Aware?

I have some very trivial basic questions about networking, but I find varying information on that, so I just wanted to settle this. As far as I understand a Network Switch handles traffic ...
10
votes
3answers
2k views

How are IP addresses actually assigned?

I'm having a hard time understanding how a governing body assigns IP addresses, companies use BGP to advertise those IPs, and how the internet works. Then, where the hell does DNS come in? Can ...
10
votes
4answers
9k views

Apache: Limit the Number of Requests/Traffic per IP?

I would like to only allow one IP to use up to, say 1GB, of traffic per day, and if that limit is exceeded, all requests from that IP are then dropped until the next day. However, a more simple ...
10
votes
6answers
18k views

Why was my ping answered by a different IP address than the one pinged?

While trying to setup a MSSQL clustering solution, I am running into a problem that is outside of my expertise that is related to networking. I was trying to find a free IP to used for my node. I ...
10
votes
2answers
341 views

How long are fragmented TCP fragments kept in the TCP server

Suppose that a given TCP fragment is fragmented into two IP datagrams, and that the first datagram arrives to the TCP server, but the second datagram never arrives. After a certain amount of time the ...
10
votes
2answers
726 views

Asterisk for Small Business - Where to Start?

I have been in IT for a long time now doing software development and some system/server administration, but all mostly software-related services. I would like to help set up a small business (~50 ...
10
votes
1answer
261 views

Under what circumstances is TCP-over-TCP performing significantly worse than TCP alone (2014)?

Many admins keep perpetuating - on ServerFault and elsewhere - how bad of an idea TCP-over-TCP is, e.g. in VPNs. That even the slightest packet loss will make one suffer from at least severe ...
9
votes
3answers
744 views

Creative IP/subnet/dns schemes

I've only administered rather small networks (<=25 nodes). Usually I put the gateway .1, dns/proxy as .10, mail at .20, printers at .30-39 and so on and so forth. I never directly use IP addresses ...
9
votes
2answers
31k views

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 ...
9
votes
4answers
54k views

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 ...
9
votes
2answers
12k views

How to alter the global broadcast address (255.255.255.255) behavior on Windows?

Desired behavior When an application sends a packet to the global broadcast IP address 255.255.255.255, I would like that the packet be sent to the Ethernet global broadcast address ...
9
votes
3answers
6k views

Windows Server 2008 - Connecting to 127.0.0.1

Im running Windows Server 2008 R2, we have an application that connects from (binds to) a public IP on the server to 127.0.0.1:8334 [connects to a service listening on 0.0.0.0:8334] In Windows 2003, ...
8
votes
2answers
2k views

How do I move static IP address from one ISP to another

We have a linux server pointing to a static IP address from one major ISP. We recently changed that ISP to a new ISP and I am wondering if there is a way we can move the static IP address to work ...
8
votes
2answers
250 views

How even is the distribution of digits in the last part of an IPv4 address?

I have a redirect script operating on a website I created. It sends 1/3 of visitors to site A, 1/3 of visitors to site B and 1/3 to site C. It works by dividing the last part of the users IPv4 ...
8
votes
7answers
10k views

Unix shell: easy way to get IP from hostname

What is the easiest way to get the IP from a hostname? I was thinking about trying a ping and parse it from the output. However, that doesn't seem very nice and will probably not work the same way on ...
8
votes
3answers
9k views

How to access a subdomain of an IP address?

I have a website that is accessible only by IP address. How can I access a subdomain of that website?
8
votes
4answers
16k views

Windows static routes w/o specifying gateway (next hop)

I have the following scenario: Computer A: 198.51.100.8, netmask 255.255.255.0 Computer B: 203.0.113.9, netmask 255.255.255.0 Both computers are on the same LAN segment; no default gateway is ...
8
votes
2answers
3k views

How can I send visitors to the closest server using DNS?

Is there a way to localize dns entries? Meaning, that users from asia resolve mydomain.com to another ip than users from usa or europe. This would be helpful to give the users the server nearby. DNS ...
8
votes
3answers
2k views

Verify that a name server is registered at a TLD registry

Let's say I own the domain name example.tld. It is registered at registrar R. In my account at R, I registered the following name servers for the .TLD registry: ns1.example.tld --> 123.456.789.001 ...