Divide an ip into ranges of variable size

Felipe-GuerronFelipe-Guerron Registered Users Posts: 1 ■□□□□□□□□□
I'm doing a practice with packet tracer, in which I get the IP 192.168.10.0 / 24 and they ask me 3 VLANs 10, 20 and 30; With 50, 120, 200 hosts respectively.

My questions are:

  1. Do I need to change the IP address range for the IP range, or how do I find the range of IPs I need to assign to each VLAN?
  2. Is it necessary to have an IP on the gig 0/0 link? If it is necessary as there is?

Example:


VLAN 10: 192.168.11.128 /26, because I need 50 hosts and a /26 is the mask that allows me to cover the host number.


VLAN 20: 192.168.11.0 /25, because I need 120 hosts and a /25 is the mask that allows me to cover the host number.


VLAN 30: 192.168.10.0 /24, because I need 200 hosts and a /24 is the mask that allows me to cover the host number.


This is correct? Or how should I do the IP division?


This is the topology I should do:

L5wOl.png
Sign In or Register to comment.