When they write a slash followed by a number after an IP address, what does that mean?
相关问题
- IPAddress.[Try]Parse parses 192.168 to 192.0.0.168
- What would prevent code running in a Docker contai
- How to run tcp and udp on a single port at same ti
- Docker-Compose: Can't Connect to Mongo
- Make Laravel Homestead Accessible via the Internet
相关文章
- RMI Threads prevent JVM from exiting after main()
- PostgreSQL field data type for IPv4 addresses
- fsc.exe is very slow because it tries to access cr
- How many times will TCP retransmit
- boost:asio IPv4 address and UDP comms
- Writing an OS X kernel extension to implement Linu
- Virtual Box limit Bandwith on network [closed]
- Is ICMP a transport layer protocol?
The part after the slash is how many subnet mask bits to use. Since the use of classless routing you use slash instead of saying class A or B whatever. Example:
255.255.255.0
is using24
of the32 bits
to create the subnet.in binary it looks like this:
so a
/30
would look like:the remaing 00 is for hosts; the 1's are the network.
It's CIDR notation for a subnet.
The /21 denotes that the first (most-significant) 21 bits are common to all addresses in the subnet. The individual hosts in the network have addresses that are different only in the last 11 bits.