Your IPv4 address:
Operating system:

Subnet masks and CIDR notation

A subnet mask tells a device which addresses are on its own network and which it must reach through the gateway. CIDR notation writes the same thing as a prefix length: /24 is the mask 255.255.255.0. One wrong value can leave local communication working while breaking access beyond the subnet.

What /24, /25 and /26 mean

For 192.168.1.0/24 the first 24 bits identify the network and the remaining eight bits identify addresses inside it. That gives 256 addresses, of which 254 can be assigned to hosts, because the first is the network address and the last is the broadcast address. Each extra prefix bit halves the block: moving to /25 creates two 128-address blocks, and /26 creates four 64-address blocks.

How a device uses the prefix

Before sending a packet, the device compares the destination with its own prefix. An address inside it is delivered directly on the local link. Anything else goes to the default gateway, which normally lies inside the same prefix. With a wrong mask the device looks for remote hosts locally, or sends local traffic to the gateway.

What is different in IPv6

IPv6 commonly uses /64 on LANs and has no IPv4-style broadcast address. Hosts find neighbours with Neighbor Discovery, and address scope matters as well.

Check the settings before changing them

Start with the interface address, prefix, routing table and default gateway. Check whether the destination belongs to the local prefix and whether a default route exists. The 2ip IP calculator gives a calculation you can compare with the figures above. Do not change a mask or gateway by guesswork: compare it with DHCP or the network documentation, make one controlled change and repeat the same test.