# Subnetting_(A2Z).pdf - Subnetting Logical division of IP...

• 30

This preview shows page 1 - 8 out of 30 pages.

Subnetting: Logical division of IP Network within network Generally, Subnetting can be done in two ways I. According to host II. According to network
1. Given IP: 197.10.10.0, find the Subnet ID for each department with their respective Broadcast ID. Depart A: 5 host Depart B: 10 host Depart C: 20 host Depart D: 30 host Depart E: 40 host
Step 3: Finding the values of n We have, 2 n - 2 ≥ maximum no. of host Where n represents no. of bits 2 n - 2 ≥ 40 At n=1, 2 1 - 2≥ 40 0≥40, not satisfied At n=2, 2 2 - 2≥ 40 2≥ 40, not satisfied : : : At n=6, 2 6 - 2≥ 40 64- 2≥ 40 62≥ 40, satisfied Hence n=6
Step4: Borrowing host bit to Network bit according n=6 (from right to left <-------) 197.10.10.00000000 197.10.10.11000000 (Note: representation as Network bit: 1 host bit : 0 ) Now converting into decimal, we have 197.10.10.192 (It is the LAST IP of given IP) (The changes occur in first octet from right to left by 64) Step 5: As we know, the default subnet mask for class C IP is given by: 255.255.255.0 Hence, the subnet mask for given IP will be 255.255.255.192
Step 6: CIDR =? (Class Inter Domain Routing) CIDR = 32-n CIDR = 32-6 Hence, CIDR= 26 Step 7: Subnet IDs =? Subnet ID 1: 197.10.10.0/26 Broadcast ID: 197.10.10.63/26 Subnet ID 2: 197.10.10.64/26 Broadcast ID: 197.10.10.127/26 Subnet ID 3: 197.10.10.128/26 Broadcast ID: 197.10.10.191/26 Subnet ID 4: 197.10.10.192/26 Broadcast ID: 197.10.10.255/26 Subnet ID 5: 197.10.10.256/26; Not valid Hence, we can derive only four subnet ID.
Step 8: Total number of Host per subnet?
Step 9: Usable number of Host per subnet?
2. Given IP: 12.0.0.0, find the Subnet ID for each department with their respective Broadcast ID. Depart A: 5 host Depart B: 10 host Depart C: 20 host Depart D: 60 host Depart E: 40 host