cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
941
Views
0
Helpful
1
Replies

VLSM Problem

Ahmed Malik
Level 1
Level 1

Hi,

Well i been going through some vlsm examples and i have been thinking that what if we need more hosts than 126 Hosts in any network, consider this example:-

we have 4 networks

     Network A has 145 hosts

     Network B has 130 hosts

     Network C has 90 hosts

     Network D has 40 hosts

and our network ip is a Class B ip, so how are we gonna solve this kind of problem, using vlsm.

Thank you,

1 Accepted Solution

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

Say you are given a Class B subnet such as 172.16.0.0/16

You want to maximize the class given and avoid wasting space, let's start with Network A:

145 hosts won't fit under a /25 because you were only have 126 hosts so it will be under /24

Network A = /24

Next, we run under the same situation for Network B, thus /24

Network C requires 90 hosts, it won't fit under /26 since it only allows for 62 hosts but it fits under /25

Network D will fit under /26

To recap:

Network A: 172.16.0.0/24

Network B: 172.16.1.0/24

Network C: 172.16.2.0/25

Network D: 172.16.2.128/26

View solution in original post

1 Reply 1

Edison Ortiz
Hall of Fame
Hall of Fame

Say you are given a Class B subnet such as 172.16.0.0/16

You want to maximize the class given and avoid wasting space, let's start with Network A:

145 hosts won't fit under a /25 because you were only have 126 hosts so it will be under /24

Network A = /24

Next, we run under the same situation for Network B, thus /24

Network C requires 90 hosts, it won't fit under /26 since it only allows for 62 hosts but it fits under /25

Network D will fit under /26

To recap:

Network A: 172.16.0.0/24

Network B: 172.16.1.0/24

Network C: 172.16.2.0/25

Network D: 172.16.2.128/26

Review Cisco Networking for a $25 gift card