I need to have at least 30 subnets. Also, in this case, what is the number of bits borrowed, and bits left? I am confused with the many information I got online. I appreciate any help. Thank you in advance.
How to perform IP subnetting on 192.168.0.0/16?
2k Views Asked by lollalolla At
1
There are 1 best solutions below
Related Questions in IP
- How to use a proxy to obtain a static IP for my Node.js application?
- PHP Get IPv4 Address
- Unable to correctly configure StrongSwan with site-to-site connection and road warrior
- Can I know the namespace of my k8s Pod only by looking at its IP?
- data transfer to ip address using osi model
- Search web address from IP
- Deploy my Django project in my private network
- Generate country names from IP Addresses in R and saving these as a new variable in a dataframe
- Connect to a specific country using Psiphon vpn from Command line
- FastCourier API - Invalid ip accessing app
- TCP/IP Server Using sockets Java
- Calling service with localhost or machine IP for internal calls?
- What does "Simultaneous Live View Up to 6 channels" imply for a IP Camera specification
- X-Forwarded-For in the request-ip package potential bug
- How to scan and message devices connected to OpenThread border router from Android app?
Related Questions in IP-ADDRESS
- Arduino IDE: The IP address was not printing in serial monitor
- connect to an IP Address through python sockets
- When changing ip settings from different network to migrate data in Apache IoTDB, why did the query statement reported error?
- vue js and vite does not work on HTTPS Docker-Nginx
- How can put my python django project on live?
- Multiple Network Interfaces with different local IPs talking to the same destination IP (different device)
- Access flask server hosted on Raspberry Pi on Android phone connected via ethernet
- scapy custom source address shows failure
- SQL windows authentication fails sort of
- Angular universal SSR 16, first call to find user's ip went from server instead of client?
- Google Cloud Bring Your Own IP DNS/PTR Validation
- How to restrict specif ip address only to get the access token from the keycloak
- Can't connect to NGROK server
- Python IP validation giving incorrect results
- AuthorizationManager hasIpAddress unable to get to work with more than 1 ip address
Related Questions in SUBNET
- Map list of IPs to list of subnets (cidr)
- Fixing this CIDR range for AWS VPC
- Regular Expression for IPv4 subnet
- IP/25, can it be begin from xx.xx.xx.128, rather than xx.xx.xx.1?
- Unhealthy instances for load balancer
- Deploy Flask Microblog in private ec2 with private RDS
- AWS invisible special character while creating subnet group
- Unable to connect to ACI with a Private IP (in a subnet of a vnet) from Azure
- Exposing an RDS instance to only a few specific ip addresses
- openvpn doesn't route traffic to client subnet
- Unable to Add a Subnet from Secondary CIDR Block to Existing EKS Cluster
- need to combine two queries to set up an alert for private endpoint creation or modification in subnets with disabled privateEndpointNetworkPolicies
- Why is Azure NAT not affecting my effective routes from my Azure routing table?
- Unable to retrieve subnet ids in the terraform output block - giving multiple errors at a time
- Extract subnet id's based on subnet name in virgina region
Related Questions in DATA-COMMUNICATION
- how to calculate switch delay for entire file?
- Filtering a signal without affecting the square wave
- On what ISO/OSI layer does a hub operate?
- Do we really need 1s complement?
- How To Calculate Source and Bits
- How is payload data represented by Session Initiation Protocol?
- Data communication between 2 ObservableObjects
- How to perform IP subnetting on 192.168.0.0/16?
- What are some approaches to make sure UDP delivers packets in order?
- Why only MAC address is used to transfer the packet to a device?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For an easy explanation, I need to write down the subnet mask in binary format:
IP: 192.168.0.0/16
Netmask (Decimal Format): 255.255.0.0 or,
Net mask (Binary Format): 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
As far as the Netmask and (/16) show 16 bits belong to network portion and 16 bits belong to host portion. In order to make 30 subnets, you need to add 5 bits of host portion to the network portion. Then 11 bits remain in host portion that provide {(2^11 = 2048), or [(2^3 = 8) * (2^8 = 256)] = 2048} IP address for each subnet. As a result of adding 5 bits to the network portion, the new subnet mask becomes:
CIDR: /21
Decimal: 255.255.248.0
Binary: 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.0.0.0.0.0.0.0.0.0.0.0
Note: This way, you can create (2^5 = 32) subnets. However, you should know that you can’t create exactly 30 subnets since the IP works in binary format. Therefore, you have to create either (2^5 = 32) subnets or (2^4 = 16) subnets. As far as 16 subnets don’t meet your requirement, you would choose 32 subnets. Now you can assign each subnet 2048 IP address and write down as following:
1st subnet: (192.168.0.0 ~ 192.168.7.255)/21
2nd subnet: (192.168.8.0 ~ 192.168.15.255)/21
3rd subnet: (192.168.16.0 ~ 192.168.23.255)/21
…
30th subnet: (192.168.232.0 ~ 192.168.239.255)/21
31st subnet: (192.168.240.0 ~ 192.168.247.255)/21
32nd subnet: (192.168.248.0 ~ 192.168.255.255)/21