Questions tagged [ip]

This tag is for questions related to the Internet Protocol. You may want to use the tag [ip-address] instead of or in conjunction with this tag. For questions about intellectual property, use [intellectual-property] instead.

The Internet Protocol is one of the fundamental protocols used for the Internet. There are two main versions: uses 32-bit addresses (often shown in dotted-decimal notation, e.g. 10.0.1.3) and uses 128-bit addresses. IP addresses have their own tag, , which is often seen with . Its companion protocol is the Transmission Control Protocol, , and the combination is often denoted TCP/IP.

This tag is also used infrequently to mean the C language structure related to IP addresses, the computational complexity class IP or instruction pointers. It should not be used to refer to intellectual property; that has its own tag, .

9300 questions
2
votes
1 answer

How to calculate available ip addresses in a given range with vbscript?

I have an ip range. 192.168.1.0/28 so ips are 192.168.1.1 192.168.1.2 . . . 192.168.1.13 192.168.1.14 Let's say some of these ips are being used. And this information is available to me. 192.168.1.1 192.168.1.2 Now, I need to calculate all the…
Onat
  • 771
  • 1
  • 11
  • 17
2
votes
1 answer

How to measure time from send and receive in scapy?

I write such code in scapy to make simple ping - nothing special but it looks promising. def ping(ip): answer = sr1(IP(dst=ip) / ICMP()) How can I measure travel time from send to receive in scapy. Question is very simple but also very…
Chameleon
  • 9,722
  • 16
  • 65
  • 127
2
votes
1 answer

How to receive IPv4 packets using SOCK_RAW in Linux?

How do I receive network layer (OSI Layer 3) packets in Linux? More specifically, IPv4 packets regardless of transport layer protocol (UDP, TCP, ...). Preferably in C without libraries. Using socket(AF_INET, SOCK_RAW, IPPROTO_RAW), I'm only able to…
user12246702
2
votes
2 answers

What does public subnet mean in AWS VPC?

I learnt that private IPv4 address space is: Class A 10.0.0.0 – 10.255.255.255 Class B 172.16.0.0 – 172.31.255.255 Class C 192.168.0.0 – 192.168.255.255 A private IP address is an IP address that cannot be accessed over the Internet and normally…
overexchange
  • 15,768
  • 30
  • 152
  • 347
2
votes
1 answer

Is the network card used when the WCF service and the app calling the service are both hosted on the same machine?

If I host Web service and WCF service on the same machine. The web service consumes the WCF service. Will the communication go through only memory or also the physical network card. I can also put it this way. If I have two programs running on the…
Frank
  • 7,235
  • 9
  • 46
  • 56
2
votes
2 answers

How to calculate IP ranges

Hi would someone be able to assist with the following question? The question is from a past paper in preparation for an exam. Consider a router that interconnects three subnets: Subnet 1, Subnet 2, Subnet 3. Suppose all of the interfaces in each of…
siu07
  • 109
  • 1
  • 2
  • 9
2
votes
1 answer

How to Pair two index in Multi-dimensional List and Match with others

By using tcpdump output data I want to create a script that it summarizes source-destination IP, start-stop time, how many packets found, what sum of packet length Currently, to accomplish this I created a multi-dimensional list which have the data…
nem0n
  • 23
  • 5
2
votes
1 answer

Point EC2 public IP address to subdomain

I want to point a subdomain to an EC2 and I don't want to use Elastic IP and every time I start/stop the instance I want my subdomain point to the new Instance public IP address.
2
votes
1 answer

Is there any way to get the default gateway IP on iOS using swift?

I’m having some issues to get the default gateway IP on iOS using swift. I found an application on apple store called 'Net Analyzer' that can get the default gateway IP as you can see on the image below. On the screen shot you can see the Default…
Mailson
  • 63
  • 2
  • 8
2
votes
5 answers

playing with tcp/ip

I'd like to learn and play with tcp/ip libraries for python, java or c++. But I only have one computer. Is it possible to "fake" remote computers to emulate remote hosts, under NAT end everything?
Bob
  • 10,741
  • 27
  • 89
  • 143
2
votes
0 answers

Build SSH Connection without IP Address

I have a Ubuntu server in one of our office Local Area Network. I want to connect my server within the LAN via Ubuntu terminal on another PC. I used below command to connect, ssh dush@10.1.4.113 But after few days it's IP address was changed…
2
votes
2 answers

Convert list of IPs to list of corresponding IP Ranges (python)

I want to convert a list of IPs to a list of corresponding IP ranges. For example: iplist = ['137.226.161.121', '134.130.4.1', '137.226.161.149', '137.226.161.221', '137.226.161.240', '137.226.161.237', '8.8.8.8', '8.8.4.4', '137.226.161.189',…
freak14
  • 33
  • 5
2
votes
1 answer

Why can I not connect to an IP with Port in WebKit / WebView?

I try to make a small iOS App which should open a single page app and then shows the content of a web site which is only accessible through an IP with Port The code works with a standard URL like https://www.google.com but not with e.g.…
D. Iseli
  • 61
  • 8
2
votes
1 answer

How can I implement in Angular an input box for IP Addresses like in Windows?

I want to implement an input box so the user can enter an IP Address with Port (port can be optional). I want to make it like in Windows where there are 3 dots. I have tried with some mask components from the GitHub but when I want to enter the IP…
mihaij
  • 95
  • 2
  • 7
2
votes
0 answers

Can AWS SES be set to default send with dedicated IP address or does each email have to have the X-SES-CONFIGURATION-SET?

I have a project sending emails using AWS SES. To prevent emails bouncing due to blacklisted IP I am trying to set up dedicated IP. I followed the instructions on the developer guide and have successfully set up, warmed-up two IP addresses and…
Luke
  • 1,077
  • 13
  • 33