Questions tagged [ipv4]

IPv4 is the "old style" IP protocol currently used in most circumstances.

IPv4 is the protocol which has been in use since the early 1980s, described in IETF publication RFC791. It gets gradually replaced with nowadays as the IPv4 addresses become exhausted.

More information at http://en.wikipedia.org/wiki/Ipv4

1045 questions
15
votes
4 answers

How to test iOS app on supporting IPv6? Apple rejected app as it is not IPv6 compatible

have apps, built 2015 and 2014. How can I test them for IPv6? If my apps doesn't support IPv6, what should I do? My apps are using AFNetworking and Alamofire. I'm connecting mostly to domains ( Ex. api.example.com/v1/...). Only 1 app use IP: (ex:…
Hargovind Sharma
  • 151
  • 1
  • 1
  • 5
15
votes
1 answer

Accept IPv4 and IPv6 together in boost::asio

Short and simple question: I am new to boost::asio and I was wondering if it is possible to create a tcp::acceptor listening for both, IPv4 and IPv6 connections together. The tutorials on boost's homepage show something like this: _acceptor = new…
PuerNoctis
  • 1,364
  • 1
  • 15
  • 34
14
votes
2 answers

ipv4.fiddler, how does it work?

I'm curious as to how fiddler is able to capture traffic when you use the URL ipv4.fiddler. Is ipv4 a special domain that resolves local and fiddler just registers with http.sys to proxy the call? Any insight would be great.
Daniel
  • 1,783
  • 1
  • 14
  • 15
14
votes
5 answers

Script to change ip address on windows

I use my computer to communicate with a piece of hardware via ethernet. To communicate with this device I set my ip to 192 168 0 11, subnet mask to 255 255 255 0, and default gateway to 192 168 0 1 for IPv4. To use the internet, I choose "Obtain an…
Baz
  • 12,713
  • 38
  • 145
  • 268
14
votes
1 answer

Why does IPAddress.MapToIPv4() throw ArgumentOutOfRangeException?

This code throws an ArgumentOutOfRangeException on the last line var initAddress = IPAddress.Parse("1.65.128.190"); var ipv6Address = initAddress.MapToIPv6(); Assert.IsTrue(ipv6Address.IsIPv4MappedToIPv6); var ipv4Address =…
Patrick Huizinga
  • 1,342
  • 11
  • 25
14
votes
4 answers

Java check if IPv4 or IPv6 address is in a given subnet

How can I check if an IP address is in a given subnet? I was able to do this by using Apache Commons SubnetUtils (SubnetUtils.SubnetInfo.isInRange) but it does not support IPv6 yet.
Jan H
  • 4,287
  • 5
  • 24
  • 34
14
votes
2 answers

Is there any documentation for omitting zeroes in dot-decimal notation of IPv4 addresses?

I’ve noticed that Linux and *BSD systems allow user to skip octets when using dot-decimal notation. Here are some examples: $ ping 10.1 PING 10.1 (10.0.0.1) 56(84) bytes of data. $ ping 10.15.1 PING 10.15.1 (10.15.0.1) 56(84) bytes of data. Note…
Barnaba
  • 657
  • 5
  • 19
13
votes
2 answers

Store both IPv4 and IPv6 address in a single column

I want to be able to store both IPv4 and IPv6 addresses in my table. What is the most efficient way to store the IP address of a user regardless of whether it is an IPv4 or IPv6 address? This will be used in a production environment, so future…
user2650277
  • 6,289
  • 17
  • 63
  • 132
12
votes
2 answers

How to store both IPv4 or IPv6 in single column in SQL Server?

Should I use binary(16) or varbinary(16)? I know I can use getAddress() in java.net.InetAddress (Java) or System.Net.IPAddress (C#) to get a byte[] representation of both IPv4 and IPv6, but if I need to insert IPv4 i.e. binary(4) into a binary(16)…
Henry
  • 32,689
  • 19
  • 120
  • 221
12
votes
1 answer

API for configuring static IP addresses in an Android application

Is it possible to set the IP address of an interface in Android within an application? I can query the available interfaces and their current addresses using java.net.NetworkInterface, but this doesn't provide a facility to change these. Did I just…
Flexo
  • 87,323
  • 22
  • 191
  • 272
12
votes
3 answers

Networks vs Subnetworks

Can a computer with an IP address of class C like 192.168.0.1 and subnet mask 255.255.255.0 communicate and share resources with another computer having the IP 192.168.1.1 and the same subnet mask 255.255.255.0 ? I'm asking this because the first 3…
user2119805
  • 171
  • 1
  • 2
  • 7
11
votes
3 answers

Different browsers, different IPs?

I'm saving the user's IP addresses by saving the value of $_SERVER['REMOTE_ADDR'] in a MySQL database. Problem is that for both Firefox and Chrome $_SERVER['REMOTE_ADDR'] is ::1 (that means localhost in IPv6) and for IE and Opera is 127.0.0.1…
federico-t
  • 12,014
  • 19
  • 67
  • 111
11
votes
2 answers

Where did IPv5 go?

Since we are all moving towards IPv6 whether we want it or not, I ask this: what happened to IPv5? Was it not cool enough for it's older brother, or did something else happen to that specification?
3cho
  • 547
  • 1
  • 6
  • 12
11
votes
1 answer

Getting the private ip address of an Rook/Shiny page user

I have created some web app using Rook which listen to my network ip (192.168.xx.xx) at port 8000. Everyone inside my office can connect to them just typing http://192.168.xx.xx:8000/page_name in the browser. I need to monitor these pages usage and…
Michele
  • 8,563
  • 6
  • 45
  • 72
11
votes
5 answers

Storing IP address in MySQL database (IPv4 AND IPv6)

Ok, now I'm aware that similar questions have probably been asked a million times but I'm a real novice at this and I'd really appreciate your help here. Basically, I want to store the visitors IP address in a MySQL for later retrieval and…
Andy
  • 3,600
  • 12
  • 53
  • 84
1 2
3
69 70