IPv4 ਸਬਨੈੱਟ ਕੈਲਕੁਲੇਟਰ (CIDR)
ਨੈੱਟਵਰਕ ਅਤੇ ਬਰਾਡਕਾਸਟ ਪਤੇ, ਵਰਤੋਂਯੋਗ ਹੋਸਟ ਰੇਂਜ ਅਤੇ ਗਿਣਤੀ, ਸਬਨੈੱਟ ਅਤੇ ਵਾਈਲਡਕਾਰਡ ਮਾਸਕ ਅਤੇ ਪਤੇ ਦੀ ਕਿਸਮ ਜਾਣਨ ਲਈ 192.168.1.130/26 ਵਰਗੇ ਪ੍ਰੀਫਿਕਸ ਵਾਲਾ IPv4 ਪਤਾ, ਜਾਂ ਪਤਾ ਅਤੇ ਸਬਨੈੱਟ ਮਾਸਕ ਦਰਜ ਕਰੋ।
ਇਨਪੁੱਟ
ਸੁਝਾਅ: ਚਲਾਉਣ ਲਈ Ctrl + Enter ਦਬਾਓ
ਸੇਵ ਕੀਤੀਆਂ ਸੈਟਿੰਗਾਂ
ਹੇਠਾਂ ਦਿੱਤੀ ਵਿਸਤ੍ਰਿਤ ਮਦਦ ਫਿਲਹਾਲ ਸਿਰਫ਼ ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ ਉਪਲਬਧ ਹੈ।
ਇਸ ਟੂਲ ਬਾਰੇ
Every IPv4 network is described by an address and a prefix length, written in CIDR form such as 192.168.1.130/26. The prefix says how many of the 32 bits identify the network; the rest number the hosts. From that one line you can work out where the subnet starts and ends, which addresses can be given to devices and how many there are, but doing the binary arithmetic by hand is slow and easy to get wrong.
This calculator does it instantly for any address and prefix, or for an address plus a dotted subnet mask like 255.255.255.192. It shows the network and broadcast addresses, the usable host range and count, the subnet and wildcard masks, the mask in binary and whether the address is private, public, loopback or another special range. It is handy for planning a home lab, checking a firewall rule or studying for a networking exam.
ਕਿਵੇਂ ਵਰਤਣਾ ਹੈ
- Enter an IPv4 address with its prefix, for example 10.20.30.40/22.
- Or enter the address alone and the subnet mask, such as 255.255.255.0, in the second box.
- Run it to get the network, broadcast, host range, host count and masks.
- Use the wildcard mask for access lists and the binary mask to see where the network bits end.
ਗਣਨਾ ਕਿਵੇਂ ਕੰਮ ਕਰਦੀ ਹੈ
The mask has the first prefix bits set to 1. The network address is the IP address with all host bits set to 0, and the broadcast address has them all set to 1. The subnet holds 2^(32 − prefix) addresses; usable hosts are that number minus 2, except /31 (two usable addresses on point-to-point links, RFC 3021) and /32 (a single host). The wildcard mask is the mask inverted.
network = address AND mask; broadcast = network + 2^(32 − prefix) − 1; usable hosts = 2^(32 − prefix) − 2ਹੱਲ ਕੀਤੀ ਉਦਾਹਰਨ
A network engineer splits a /24 into four subnets and checks 192.168.1.130/26. The subnet runs from network address 192.168.1.128 to broadcast 192.168.1.191, giving 62 usable hosts from .129 to .190. The mask is 255.255.255.192, the wildcard 0.0.0.63, and the address is in a private RFC 1918 range.
ਨਮੂਨਾ ਇਨਪੁੱਟ ਅਤੇ ਨਤੀਜਾ
192.168.1.130/26: ਨੈੱਟਵਰਕ 192.168.1.128, ਬਰਾਡਕਾਸਟ 192.168.1.191, 62 ਵਰਤੋਂਯੋਗ ਹੋਸਟ
ਸੀਮਾਵਾਂ
- IPv4 only.
- Masks must be contiguous (all ones followed by all zeros).
- It describes one subnet at a time and does not split a range into several subnets.
ਆਖਰੀ ਅੱਪਡੇਟ:
ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ
/24 ਵਿੱਚ ਕਿੰਨੇ ਹੋਸਟ ਹੁੰਦੇ ਹਨ?
256 ਪਤੇ, ਜਿਨ੍ਹਾਂ ਵਿੱਚੋਂ 254 ਵਰਤੋਂਯੋਗ ਹੋਸਟ ਹਨ, ਕਿਉਂਕਿ ਪਹਿਲਾ ਪਤਾ ਨੈੱਟਵਰਕ ਪਤਾ ਹੈ ਅਤੇ ਆਖ਼ਰੀ ਬਰਾਡਕਾਸਟ ਪਤਾ ਹੈ।
ਵਾਈਲਡਕਾਰਡ ਮਾਸਕ ਕੀ ਹੈ?
ਸਬਨੈੱਟ ਮਾਸਕ ਦਾ ਉਲਟ, ਜੋ ਰਾਊਟਰ ਐਕਸੈਸ ਲਿਸਟਾਂ ਅਤੇ ਕੁਝ ਰਾਊਟਿੰਗ ਪ੍ਰੋਟੋਕੋਲਾਂ ਵਿੱਚ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ। 255.255.255.192 ਲਈ ਵਾਈਲਡਕਾਰਡ ਮਾਸਕ 0.0.0.63 ਹੈ।
ਅਕਸਰ ਪੁੱਛੇ ਜਾਂਦੇ ਸਵਾਲ
How do I convert a subnet mask to a prefix?
Count the 1 bits in the mask: 255.255.255.0 has 24, so it is /24, and 255.255.240.0 has 20, so it is /20. Entering the mask here shows the prefix in the network address.
Which addresses are private?
10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are reserved for private networks by RFC 1918; 100.64.0.0/10 is shared space for carrier-grade NAT.
Does it support IPv6?
No, IPv4 only. IPv6 subnets are normally /64 and are planned differently.
ਸਮੱਸਿਆ ਹੱਲ
It says the address is not valid.
Use four numbers from 0 to 255 separated by dots, for example 172.16.5.4, without spaces or leading text.
It says the mask is not valid.
Enter a prefix from 0 to 32 or a contiguous mask such as 255.255.255.128; masks like 255.0.255.0 are not allowed.
ਪਰਦੇਦਾਰੀ & ਮੁਫ਼ਤ ਵਰਤੋਂ
ਕੀ ਮੇਰਾ ਡਾਟਾ ਸਟੋਰ ਹੁੰਦਾ ਹੈ?
ਤੁਹਾਡਾ ਡਾਟਾ ਇਸੇ ਟੈਬ ਵਿੱਚ ਰਹਿੰਦਾ ਹੈ। ਸਾਨੂੰ ਤੁਹਾਡੀਆਂ ਫਾਈਲਾਂ, ਪੇਸਟ ਕੀਤਾ ਟੈਕਸਟ ਜਾਂ ਗਣਨਾ ਦੇ ਮੁੱਲ ਨਹੀਂ ਮਿਲਦੇ।
ਕੀ ਇਹ ਟੂਲ ਮੁਫ਼ਤ ਹੈ?
ਹਾਂ। ਕੋਈ ਸਾਈਨਅੱਪ ਜਾਂ ਭੁਗਤਾਨ ਨਹੀਂ ਚਾਹੀਦਾ।
ਇਹ ਵੀ ਦੇਖੋ
ਅਗਲੇ ਲਾਭਦਾਇਕ ਕਦਮ
JSON ਫਾਰਮੈਟਰ ਅਤੇ ਵੈਲੀਡੇਟਰ
JSON ਨੂੰ ਆਪਣੇ ਡਿਵਾਈਸ ਉੱਤੇ ਜਾਂਚੋ, ਸੋਹਣਾ ਬਣਾਓ ਜਾਂ ਛੋਟਾ ਕਰੋ। ਗਲਤ ਡਾਟਾ ਕਦੇ ਸਰਵਰ ਨੂੰ ਨਹੀਂ ਭੇਜਿਆ ਜਾਂਦਾ।
ਡਿਵੈਲਪਰ ਅਤੇ SEOCSV ਤੋਂ JSON ਕਨਵਰਟਰ
CSV ਹੈਡਰ ਅਤੇ ਰਿਕਾਰਡ JSON ਵਿੱਚ ਬਦਲੋ, ਕੋਟਸ ਵਾਲੇ ਡਿਲੀਮੀਟਰ ਅਤੇ ਲਾਈਨ ਬ੍ਰੇਕ ਸਮੇਤ।
ਡਿਵੈਲਪਰ ਅਤੇ SEOJSON ਤੋਂ CSV ਕਨਵਰਟਰ
ਆਬਜੈਕਟਾਂ ਦੀ ਸਮਤਲ ਸੂਚੀ ਨੂੰ CSV ਵਿੱਚ ਬਦਲੋ। ਸਪ੍ਰੈਡਸ਼ੀਟ ਲਈ ਫਾਰਮੂਲੇ ਵਰਗੇ ਟੈਕਸਟ ਅੱਗੇ ਸੁਰੱਖਿਆ ਚਿੰਨ੍ਹ ਲੱਗਦਾ ਹੈ।
ਡਿਵੈਲਪਰ ਅਤੇ SEO