Hot answers tagged

37 votes
Accepted

What is the difference between 0.0.0.0/0 and 0.0.0.0/1?

The 0.0.0.0/0 matches every IP address, whereas 0.0.0.0/1 only matches half of them (0.0.0.0-127.255.255.255) and requires 128.0.0.0/1 as its pair to match the rest (128.0.0.0-255.255.255.255). In ...
  • 44.5k
9 votes

What is the difference between 0.0.0.0/0 and 0.0.0.0/1?

What is the difference between 0.0.0.0/0 and 0.0.0.0/1 0.0.0.0/0 matches all IPv4 addresses. 0.0.0.0/1 matches the IP range from 0.0.0.0 to 127.255.255.255 IP routing uses a "longest prefix ...
  • 4,086
4 votes
Accepted

What is the IPv6 equivalent of 127.0.0.1

Yes, it is 0000:0000:0000:0000:0000:0000:0000:0001 or shorter 0:0:0:0:0:0:0:1 or even shorter ::1
  • 6,848
3 votes

Why would you use 192.168.0.0/16 over 10.0.0.0/8

All of RFC1918 is legacy, but the idea that people need a choice of right-sized private nets is something of a legacy of classful allocations. CIDR variable sized nets allowed less wasteful allocation ...
3 votes
Accepted

Why is my client still talking to my server when I change client IP to different subnet?

The most plausible explanation here is that communication is happening over IPv6. With most modern operating systems IPv6 is enabled by default. Unlike IPv4 where each host typically had a single ...
  • 4,086
2 votes
Accepted

Is the network interface card(NIC) prerequisite of IP addresses?

You don't necessarily need a NIC (physical interface). You need an interface though, either physical, logical or virtual. There are loopback interfaces, built into the local TCP/IP stack, virtual NICs ...
  • 9,152
2 votes
Accepted

Set IIS 10 server to public

Microsoft IIS does not have a concept of localhost vs. public. In your screenshot you show IIS Manager running on a machine EC2AMAZ-NN0LTIR the term localhost next to it, just means that this IIS ...
2 votes

How to check IPv6 address via command line?

ipinfo.io/ip doesn't support IPv6. You may want to try: curl -6 https://ifconfig.co/ip instead.
  • 3,280
2 votes
Accepted

Can't connect to my localhost server with my public IP

first check if your ISP doesn't user GCNAT and provides you with a real IP address. then you need to configure a firewall and port forwarding your router. Don't do all port range from 1 to 65535, ...
  • 114
2 votes

How can I display the IP address of an interface?

Works well on various linux: ip -brief address show eth0 | awk '{print $3}' | awk -F/ '{print $1}'
  • 121
2 votes

Can this two IP see each other?

Can this two IP see each other? No, 107.1.233.7 isn't in the range 10.202.104.148/25 and 10.202.104.148 isn't in the range 107.1.233.0/24
  • 101k
2 votes

"ping" fails when running from google- cloud on specific IP

Checked from my computer and i got the same error, there is no ping result. Also i cant reach the Server on another common Port. Can you reach the site with curl from your computer ? curl www.fastlane....
  • 139
2 votes
Accepted

How to achieve 2 servers to communicate over HTTPS and IP addresses

You have two options: Configure self signed certificates, and configure your application to trust the certificate Set up DNS and use e.g. Lets Encrypt certificates to secure the communication. The ...
  • 5,153
2 votes

How to achieve 2 servers to communicate over HTTPS and IP addresses

You can still generate self-signed certificates with your host names. Then you can configure your services to trust the self-signed certificates of the other server.
  • 22.9k
1 vote

How does DNS work with websites that have large traffic and multiple servers?

Why is it necessary for the domain names to be converted to IP addresses for a server to be accessed by the client? Because the Internet works on IP addresses - either IPv4 or IPv6. It consists of a ...
  • 9,152
1 vote

Trouble connecting to the internet with direct connection to the modem

The way I seen your post is; you expect the broadband modem to be act as a router. The fact you receive no IP make me think the modem is in bridge mode. While it's not what you want, I strongly ...
  • 16.5k
1 vote

How to set specific broadcast IP address on Windows

The solution to your question depends on a number of circumstances. Capturing inside Sender If you want to capture data directly inside in Sender, use a special capture driver that is included with ...
  • 126
1 vote

What is the difference between 0.0.0.0/0 and 0.0.0.0/1?

The literal meaning: that is just two different networks expressed in CIDR notation. The practical use of 0.0.0.0/1: Splitting the IPv4 space by the first bit does not produce particularly meaningful ...
  • 7,685
1 vote

Why would you use 192.168.0.0/16 over 10.0.0.0/8

These address ranges were defined when there existed no netmasks, aka you had network classes. So in the past, when you had chosen the IP 10.0.0.1, you had always the network 10.0.0.0/8, there was no ...
  • 121
1 vote

Why would you use 192.168.0.0/16 over 10.0.0.0/8

See RFC 1918 section 3 https://datatracker.ietf.org/doc/html/rfc1918 The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private ...
  • 1,296
1 vote

Adopt IP of network connecting to without routing everything through the VPN

In theory you could set a source IP on a packet that goes out. But in practice not. The Users own equipment would need to set this source IP, but most ISPs does not allow for spoofing a IP that "...
  • 1,208
1 vote

Ubuntu 20.04 cloud image can't get IP address

Not only virt-resize but also virt-customize and virt-sysprep, apparently. It seems there is a better compatibility of virt-* with RHEL family (centos, fedora, rhel) - RedHat being the company owning ...
1 vote

How can I assign an IP by UID in DHCPd

It is possible by using DUID-UUID. On the server side it is required to identify the host by option dhcp-client-identifier like below: host example { option dhcp-client-identifier FF:II:II:II:II:00:...
  • 3,280
1 vote

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

Soft-ether VPN is an example of a TCP over TCP implementation. Under normal circumstances and perfect network throughput, the VPN works just fine with acceptable latency. However, with the slightest ...
1 vote

nginx don't log requests of a specific ip adress

You can suppress specific IP's for specific logs with the if statement. The following map $remote_addr $log_ip { "192.168.0.10" 0; "192.168.0.11" 0; ~192\.168\.1\..* 0; ...
  • 343
1 vote

How can I get the IP address of a remote desktop client? And how can I trigger a shell command upon RDP connect?

New answer to a very old question (Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational'; ID=1149; StartTime=(Get-Date).AddDays(-31);} | ...
  • 11
1 vote

Get real requester IP in containerized NGINX reverse proxy

Problem was caused due to the additional "overlay" network in docker swarm; I have bypassed this by using "host" networking. services: nginx: ... ports: - target: ...
  • 11
1 vote
Accepted

Add secondary IP to ESXi host from different subnets

For what I understand you want to connect the 2 LANs using the host, this will not be possible, the host will not act as a router. Having 2 interfaces in the host will only make it to be part of both ...
1 vote

Add secondary IP to ESXi host from different subnets

VM's don't communicate through or with the TCP/IP stack of the host. The ESXi host is not a router. You need to configure routing between the two networks on your routers.
  • 109k
1 vote

DHCP server IP reservation during the "offer" step

It's not available. A DHCP reservation, by definition, is reserved. It won't be assigned to any other device.
  • 109k

Only top scored, non community-wiki answers of a minimum length are eligible