Questions tagged [ip]

For questions about Internet Protocol (IP), an OSI layer-3 network protocol. There are two current IP versions in use: IPv4 and IPv6.

Filter by
Sorted by
Tagged with
95
votes
6answers
593k views

How do you calculate the prefix, network, subnet, and host numbers?

Example: IP: 128.42.5.4 In binary: 10000000 00101010 00000101 00000100 Subnet: 255.255.248.0 How could you determine the prefix, network, subnet, and host numbers?
72
votes
5answers
30k views

Is “IPv10” a joke or a serious RFC draft?

Internet Protocol version 10 (IPv10) Specification The name is funny (IPv4 + IPv6 == IPv10), but the actual proposal looks strange (one more packet format to battle incompatibility between packet ...
59
votes
7answers
16k views

Why are IPv4 addresses running out?

I understand that we are running out (or ran out already?) of IPv4 addresses, but I don't really understand why that is. Right now, every home has its own IPv4 address (dynamically assigned, but still,...
44
votes
5answers
8k views

Why do we need IPv6?

This will be a kind of newbie question but I am not quite sure why we really need IPv6. AFAIK, the story is as follows: In the olden days, when computers were not plentiful, 32 bit IP addresses were ...
39
votes
4answers
21k views

How to check for a valid public IP address?

Consider a list of IP addresses as provided by the X-Forwarded-For HTTP header: 10.0.0.142 , 192.168.0.10 , 212.43.234.12 , 54.23.66.43 I would like to know which is the first publicly-accessible ...
24
votes
1answer
117k views

TCPDump - Filter by MAC Address

I would like to display all traffic for or from a specific MAC address. For that I tried sudo tcpdump host aa:bb:cc:11:22:33 It does not work and returns me an error tcpdump: pktap_filter_packet: ...
21
votes
6answers
6k views

What stops someone from configuring their network with IP addresses they do not own?

Here's the scenario. I was picturing a university that bought a range of IP addresses. I think they'd still be inside a ISP (right?), but they'd have freedom to configure stuff the way they wanted. ...
21
votes
2answers
8k views

Is multicast on the public internet possible? And if yes: How?

Is it possible to use multicast on the public internet? If yes: How? Are special IP addresses required and where do you get them from?
19
votes
2answers
5k views

What is the difference between 0.0.0.0 and a loopback IP address?

From the book Computer Network: The IP address 0.0.0.0, the lowest address, is used by hosts when they are being booted. It means ‘‘this network’’ or ‘‘this host.’’ ... All addresses of the ...
19
votes
1answer
3k views

What is the practical use of a /31 CIDR or 255.255.255.254?

With a /31 subnet, we are left with zero usable hosts. The /31 subnet only has two hosts - one for network and another for broadcast. I am wondering why would someone ever use this subnet.
18
votes
7answers
6k views

Does CIDR really “do away” with IP address classes?

I am still struggling to understand to what extent CIDR really renders IP address classes obsolete. Here's what I understood so far: It's ridiculously inefficient (and impossible, too) to assign ...
18
votes
3answers
7k views

What do TCP/UDP add to “raw ip”?

I know that both TCP and UDP are built on top of IP, and I know the differences between TCP & UDP, but I'm confused about what exactly "raw ip" is. Would it be fair to say that TCP & UDP both ...
17
votes
4answers
3k views

How is 8 bits sufficient for the TTL in an IP header?

The TTL (Time to Live) is an 8-bit field in the IPv4 header. It can take any value from 0 to 255. If this means that the packet can take a maximum of 255 hops (routers) on its way to its destination, ...
14
votes
2answers
3k views

Why are there 3 ranges of private IPv4 addresses?

Why are there three separate ranges of private IPv4 addresses of different sizes? Why not just reserve the largest (10.0.0.0 - 10.255.255.255) range and let people create /16 or /24 (or whatever) ...
13
votes
3answers
1k views

Where can I use the IPv6 documentation prefix

We are currently building a networking course with a practical part where students have to configure a small network in a virtual environment. However, we are not sure what ipv6 prefixes we can use ...
13
votes
4answers
1k views

Possible (bit) patterns of a netmask

Given a prefix Y, it's easy to calculate the corresponding netmask: Put Y times a set bit, and then fill up "to the right" with zeros until one has 32 bits (IPv4) in total. Example: Prefix 24, thus ...
13
votes
3answers
30k views

How broadcasting works on different networks?

I was reading DHCP ( RFC 2131 ), I have basic knowledge about Relay Agent and Broadcasting. But for Understanding DHCP in depth, I felt like I have to know Broadcasting and Relay Agent ( RFC 1542 ) in ...
12
votes
2answers
4k views

Is the MTU of Ethernet still 1500 Bytes?

So basically do the modern routers in the internet still use 1500 as the MTU of Ethernet? or the 1500 Byte was for the old days? What I'm asking here is what is the MTU of Ethernet in modern Networks?...
12
votes
3answers
1k views

Are the IPv6 address space and IPv4 address space completely disjoint?

Tanenbaum's Computer Networks says Finally, IPv4 addresses can be written as a pair of colons and an old dotted decimal number, for example: ::192.31.20.46 Does it mean the IPv4 address space ...
11
votes
8answers
5k views

Why are IP addresses given to each interface and not device? What would the implications of that be?

Why do we need to give IP addresses to each interface? Wouldn't giving one to each device be enough?
11
votes
6answers
13k views

IPv4 Segment 100.64.0.0/10

I recently got to know that IP segment 100.64.0.0/10 has been reserved by IANA for 'Shared Address Space'. My question is: Can I use the IP Segment 100.64.0.0/10 as a private range in my network (...
11
votes
3answers
12k views

Find MAC address of a remote computer using IP

Is there a way to find out a computer's MAC address if we know its IP address, assuming this computer is outside our LAN? I know we can easily get the physical address of a computer in our LAN using ...
10
votes
4answers
2k views

Using IP subnet at multiple datacenters

We control IPv4 and IPv6 subnets. Now we'd like to use a part of a /24 IPv4 subnet at one datacenter and another part at another datacenter. I know that announcing the subnet on the internet at ...
10
votes
1answer
2k views

Does IP provide QoS or not?

IP provides a best-effort delivery service. I believe this implies, among other things, that it offers no QoS to the users. However, IP has a byte in its headers (ToS in v4 and Trafic Class in v6) ...
10
votes
2answers
780 views

ipv6 Aggregatable global unicast addresses

Studying IPv6 addressing I haven't understood IPv6 aggregable global unicast addresses, I mean on RFC 4291 there is a generic scheme: | n bits | m bits | 128-n-m bits ...
9
votes
2answers
2k views

Is there anything stopping me from using Class A addresses on my own network?

I've been reading about IPv4, networking, subnetting and the different classes of addresses. I understand that IP addresses beginning with numbers from 1 to 126 are considered "Class A" addresses. ...
9
votes
4answers
3k views

What use are MAC addresses? [duplicate]

I know that MAC addresses are used in networks for several things, e.g. static fixed IP addresses assigned by DHCP servers or for Wireless access points. But why is it necessary in the Internet? Let'...
9
votes
1answer
1k views

What happens when a subnet reaches capacity?

Other than not being able to claim any more IP addresses in a subnet, what other bad things happen when a subnet reaches 100% utilization, if anything?
9
votes
3answers
18k views

What is Link-local addressing?

I noticed that IPv4 reserved 169.254.0.0/16 and IPv6 reserved fe80::/10 for link-local addressing. While I saw IPv6 uses both fe80::/10 address and my private IPv6 address fd00::12 to communicate with ...
8
votes
6answers
4k views

Could IPv6 make NAT / port numbers redundant?

From what I can tell, each process could get its own IP address, with loads of IP's to spare. What would the drawbacks be? Essentially, your host would become a router and each process is a host (in ...
8
votes
3answers
9k views

Is a TCP three-way handshake required for an HTTP POST?

I don't quite understand if i posting http form data from the browser to the server, does the protocol still need to make three-way handshake (syn-ack-data) or it only works for GET http requests?
8
votes
2answers
5k views

Is it true that the fd00::/8 address range (ULA) in ipv6 is for machines that you NEVER want to speak with anything on the Internet?

Is it true that the fd00::/8 address space (User Local Addresses) in ipv6 is for machines that you NEVER want to speak with anything on the Internet? I was just reading that here and rather surprised ...
8
votes
3answers
2k views

How do VPN's forward network traffic? (Layer 3)

I am looking for some info on how VPN's (Virtual Private Network) forward network traffic through its VPS (Virtual Private Server). Take an example where you are connected to a VPN. You make a ...
8
votes
1answer
5k views

What is the correct mask to use with 224.0.0.0?

What is the best mask to use to allow computers to use the multicast IP address 224.0.0.0? I've only seen IP addresses using the lower 8 bits, in my case I just see 22 and 251. So my firewall uses ...
8
votes
2answers
9k views

Why don't we use MAC address instead of IP for having “Internet” or doing communication? [duplicate]

We know MAC address is unique in each devices.So why can't we just send/receive data using MAC address only?
8
votes
2answers
6k views

Duplicate IP Address Prevention?

Yesterday a laptop crashed the network because the IP address of the computer was the same as the router. Computers in the network were reaching the laptop instead of the router. Is there anyway to ...
7
votes
4answers
1k views

Does every host on the LAN share the same ARP table, or do hosts keep them individually?

I'm just learning about ARP. I'm a little bit confused. My confusion is better explained in a scenario. Host A is communicating with Host B. Host A knows Host B's IP address, but not it's MAC address....
7
votes
2answers
980 views

Why do IPv6 unique local addresses have to have a /48 prefix?

According to RFC 4193, unique local addresses will always have a prefix of FD00::/8.. but according to Wikipedia: The block fd00::/8 is defined for /48 prefixes, formed by setting the forty least-...
7
votes
2answers
2k views

What is IP squat space

I came across this article and I'm trying to understand what is going on here, I found some packets on my network containing 22.0.0.0/8 and 29.0.0.0/8 IP range and It's based on: https://en.wikipedia....
7
votes
5answers
8k views

Why is the protocol field part of an IP header?

Note this is not a duplicate of Why is the IP layer aware of higher layers in the network stack? The need for a protocol identifier (eg. the IP header's Protocol field) in packet-based communication ...
7
votes
2answers
952 views

How do routers on the backbone avoid IP address conflicts?

As the title suggests, how do ISPs, and other networks connected to the backbone ensure that their host network address isn't already in use by another backbone node, as there is no controlling device ...
7
votes
1answer
1k views

Dealing with IP Spoofing

Border routers, which are routers that span two or more sub networks, can be configured to block packets from outside their administrative domain that have source addresses from inside that domain....
7
votes
1answer
273 views

Is the first address of the subnet a valid configurable address in case of IPv4 and IPv6 point to point networks?

Am I correct, that first address of the subnet is a valid addresses to configure in hosts/routers in case of IPv4 and IPv6 point to point networks? For example, in case of 192.0.2.0/31 one of the ...
7
votes
2answers
868 views

NAT Overlapping

I am trying to do some networking lab. Basically, I have a network like this: So, is it possible to configure NAT router in such way, that PC1 and PC2 can access remote HOST and each other. The ...
7
votes
3answers
128 views

Is IP address Subnet Renumbering needed here?

We have a router with NAT enabled on our edge. The NAT inside is 10.0.0.0/24. Now, we're running out IP blocks and we wish to change this to 10.0.0.0/22. We can do this quickly on the NAT router. But ...
7
votes
1answer
832 views

Why is an IPv6 Link-Local Address a /10?

I'm currently studying for my CompTIA Network+ Exam and am a bit confused as to why the IPv6 link-local address is a /10 and not a /12 or /16. Since each character in an IPv6 address is 4-bits and ...
7
votes
2answers
126 views

VLAN clarification

I've inherited a network with approximately 200 computers and no VLANs configured. We are currently adding a system that uses multicasting to communicate with each other and will be adding VoIP in 2 ...
7
votes
2answers
198 views

Who Actually Utilizes Mobile IP?

I'm presently teaching a networking class, and the various texts that I've cobbled together all discuss Mobile IP. I always try to give real-world examples of how protocols are utilized, but the ...
7
votes
3answers
2k views

Will Linux send the ARP gratuitous or ARP probe (defined in RFC 5227)

I did an experiment to check if Linux will send the gratuitous ARP or ARP probe before using the target IP. The experiment scenario is as follows: There are two Linux computers, both connected to ...
6
votes
4answers
794 views

OSI layer of Neighbor Discovery Protocol

NDP operates using ICMPv6 and, even though ICMPv6 messages are encapsulated in payload field of IPv6 datagram, ICMPv6 and ICMP are usually considered as network layer protocols. At least, on Wikipedia ...