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
-2
votes
2 answers

What is a minimal-spanning subnet?

What is a minimal-spanning subnet? How do you find it for a given set of IPv4 addresses? I know the minimum spanning tree but what is the minimum spanning subnet? and how to find it by the given ipv4 addresses?
-2
votes
1 answer

I have set my GAE firewall to block access from my IPv4, but could not block access

I have tried to restrict IPv4 access with GAE firewall rules but have been unable to restrict access. I tried to restrict access with IPv6 instead of IPv4, and that was successful. In the Creating App Engine firewall rules , IPv4 is listed, but how…
-2
votes
1 answer

Where is the 4 bytes of thee IPv4 header?

In the RFC791 (Internet Protocol Specification) on page 12 said: "For example, this size allows a data block of 512 octets plus 64 header octets to fit in a datagram. The maximal internet header is 60 octets, and a typical internet header is 20…
IOWA
  • 1
  • 1
-2
votes
1 answer

Python returns null when using regex

I am trying to use regex to see if the given string is an IPv4 address. I want to return a boolean value True/False depending on the string. This is my code: import re def isIPv4Address(inputString): pattern =…
Onur-Andros Ozbek
  • 2,998
  • 2
  • 29
  • 78
-2
votes
1 answer

ipv4 regex code gives output in a tuple with each octet as element in the tuple. How to print the ip address directly?

import re a='my name is xyz. ip address is 192.168.1.0 and my phone number is 1234567890. abc ip address is 192.168.1.2 and phone number is 0987654321. 999.99.99.999' regex = r'''\b(25[0-5]|2[0-4][0-9]|[0-1]?[0-9][0-9]?)\.( …
-2
votes
1 answer

Static and public IP addresses for regular computers

I want to do a messaging application on the browser using WebRTC, but I want to get rid of every third party like STUN and TURN servers (I also want to get rid of signaling servers but first things first). I want the users to keep their contacts in…
JacopoStanchi
  • 1,962
  • 5
  • 33
  • 61
-2
votes
2 answers

Relational database for tracking IPv6/IPv4 addresses -- will my proposed schema work?

Background I'm building an IPAM app to track and store metadata for individual IPv4 and IPv6 addresses. The backend is intended to be a boring, vendor-agnostic relational database. IPv6 may deal with big numbers in a vast addressable space, but the…
Ivan
  • 1,427
  • 1
  • 16
  • 26
-2
votes
1 answer

how to store the mapping table of IPv6 to residential address

We know IPv6 has 128 bits which will have 2^128 IP addresses. If we store all the IPv6 addresses, we need 2^128 * 2^4 Byte / 2 ^ 30 = 2 ^ 102 GB which is a forbidden number. Now my question is if we need maintain a mapping table from IPv6 address…
derek
  • 9,358
  • 11
  • 53
  • 94
-2
votes
1 answer

How to send packets from one ethernet card to another in the same system?

I have a system in which I have two NIC cards enp2s0 and enp3s0. Each of the NIC card is connected to packet generator. The packet generator will generate the packets and sent it to enp2s0 and I want to forward the packets from enp2s0 to enps30,…
-2
votes
1 answer

Is IPv4 used only for local networks or can be used for networking through internet?

i am trying to establish a TCP connection over the internet. I use my IPv4 address as the server address and it works when I connect to it using a machine on the local network. However when I try to connect to it using a machine that it is not on my…
-2
votes
1 answer

Virtual Box Connectivity - Via RDP (With VPN) on VM

First off, the base question: how to reliably achieve IP/DNS resolution on a mixed network (Linux, Windows, Mac OS), on a common private physical network using IPV4/6, to hosted VM'S that may or may not have VPN's active and DHCP - without an…
JSM
  • 383
  • 1
  • 7
-2
votes
1 answer

IPv6 network range

I was learning about IPv6 in order to build an internal network port scanner (this means a private network to which one is connected) I wasn't able to find a way to know the network range with the submask, let me illustrate it with an example : IPv4…
Pedro Gomes
  • 196
  • 1
  • 15
-2
votes
1 answer

Calculate subnet with few unused addresses

You need to create a new IPv4 subnet on the network. The subnet must support a maximum of 5,000 hosts and must have as few unused addresses as possible.How would you configure DHCP to support this subnet? A. You should use a subnet mask of…
B P
  • 1
  • 1
-2
votes
3 answers

php script to show visitors IPv4 address only

I'd like to show my visitors their IPv4 address and if they have a IPv6 and IPv4 address I would like it to only show the IPv4 address. Here is what I have currently: if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; }…
Conserta
  • 99
  • 1
  • 2
  • 12
-2
votes
1 answer

Does IP address of a DNS changes over time?

I have a set of domain names and their IP addresses. When i send http requests to the domain names and IP addresses separately then I found discrepancy in the responses. The responded hosts are higher while sending http requests to the domain names…
saz
  • 955
  • 5
  • 15
  • 26