0% found this document useful (0 votes)
55 views5 pages

Taller VLSM

The document discusses subnetting a network with 5 subnets of varying host requirements. It shows how to assign IP addresses and subnet masks to each subnet to accommodate the required number of hosts. Static routes are configured between routers to allow communication between the subnets.

Uploaded by

Gerson Castillo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views5 pages

Taller VLSM

The document discusses subnetting a network with 5 subnets of varying host requirements. It shows how to assign IP addresses and subnet masks to each subnet to accommodate the required number of hosts. Static routes are configured between routers to allow communication between the subnets.

Uploaded by

Gerson Castillo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

En el Caso 2, el desafío es dividir esta internetwork en subredes mientras se limita

la cantidad de subredes y hosts desperdiciadas. La figura muestra 5 subredes

diferentes, cada una con diferentes requisitos de host. La dirección IP otorgada es

192.168.1.0/24. Los requisitos de host son:

 Red A: 14 host
 Red B: 28 host
 Red C: 2 hosts
 Red D: 7 hosts
 Red E: 28 host

Subred 1 Hosts: 30
192.168.1.0 /27 192.168.1.1 192.168.1.30
192.168.1.32 /27 192.168.1.33 192.168.1.62
192.168.1.64 /28 192.168.1.65 -192.168.1.78
192.168.1.80 /28 192.168.1.81 -192.168.1.94
192.168.1.96 /30 192.168.1.97 - 192.168.1.98

PARA CREAR RUTA ESTATICA

BOGOTA(config)#ip route
BOGOTA(config)#ip route 192.168.1.80 255.255.255.240 192.168.1.98

MEDELLIN(config)#ip route
MEDELLIN(config)#ip route 192.168.1.0 255.255.255.224 192.168.1.97

MEDELLIN#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

192.168.1.0/24 is variably subnetted, 7 subnets, 4 masks


S 192.168.1.0/27 [1/0] via 192.168.1.97
C 192.168.1.64/28 is directly connected, GigabitEthernet0/1
L 192.168.1.65/32 is directly connected, GigabitEthernet0/1
C 192.168.1.80/28 is directly connected, GigabitEthernet0/2
L 192.168.1.81/32 is directly connected, GigabitEthernet0/2
C 192.168.1.96/30 is directly connected, GigabitEthernet0/0
L 192.168.1.98/32 is directly connected, GigabitEthernet0/0

MEDELLIN#
BOGOTA#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

192.168.1.0/24 is variably subnetted, 7 subnets, 4 masks


C 192.168.1.0/27 is directly connected, GigabitEthernet0/1
L 192.168.1.1/32 is directly connected, GigabitEthernet0/1
C 192.168.1.32/27 is directly connected, GigabitEthernet0/2
L 192.168.1.33/32 is directly connected, GigabitEthernet0/2
S 192.168.1.80/28 [1/0] via 192.168.1.98
C 192.168.1.96/30 is directly connected, GigabitEthernet0/0
L 192.168.1.97/32 is directly connected, GigabitEthernet0/0

BOGOTA#
BOGOTA(config)#ip route 192.168.1.64 255.255.255.240 gigabitEthernet 0/0

MEDELLIN(config)#ip route 192.168.1.32 255.255.255.224 gigabitEthernet 0/0

RUTA POR DEFAULT

BOGOTA(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.98


 Red A: 14 host
 Red B: 28 host
 Red C: 2 hosts
 Red D: 7 hosts
 Red E: 28 host
Ordenar de mayor a menor ctd de host
Red B 28 H
Red E 28 h
Red A 14 h
Red D 7 h
Red C 2 H

Ip ORIGINAL 192.168.1.0/24
ASIGNAMOS LOS BITS NECESARIOS PARA LA CTD HOST DE CADA RED
N(h) <= 2^n – 2 red B Y RED E SE NECESITAN 5 BITS
TOMAMOS EL ULTIMO BYTE Y RESEVAMOS 5 BITS
000 00000
RED B
IP ADD 192.168.1. 00000001 192.168.1.1 255.255.255.224 /27
ULTIMA IIP 192.168.1.00011110 192.168.1.30 255.255.255.224
BROADCAST 192.168.1.00011111 192.168.1.31 255.255.255.224

RED E
ASIGNAR NUEVA RED 192.168.1.00100000 192.168.1.32 255.255.255.224 /27
1RA IP 192.168.1.00100001 192.168.1.33 255.255.255.224 /27
ULTI IP 192.168.1.00111110 192.168.1.62 255.255.255.224 /27
BROADC 192.168.1.00111111 192.168.1.63 255.255.255.224 /27

N(h) <= 2^n – 2 red A SE NECESITAN 4 BITS 14 IP ADD


14 <= (2^4) – 2 = 14 <= 16-2 , 14<=14

IP ADD 192.168.1.01000000 CALCULAR MASCARA COLOCAMOS 1 LOS BITS ASIGNADOS A ESTA


192.168.1.11110000
IP RED A 192.168.1.64 255.255.255.240 /28
1RA IP 192.168.1.01000001 192.168.1.65 255.255.255.240 /28
ULT IP 192.168.1.01001110 192.168.1.78 255.255.255.240 /28
BROADC 192.168.1.01001111 192.168.1.79 255.255.255.240 /28

N(h) <= 2^n – 2 red D SE NECESITAN 4 BITS 7 IP ADD


7 <= (2^4) – 2 = 7 <= 16-2 , 7<=14
IP RED 192.168.1.01010000 192.168.1.80 255.255.255.240 /28
1RA IP 192.168.1. 01010001 192.168.1.81 255.255.255.240 /28
ULT IP 192.168.1. 01011110 192.168.1.94 255.255.255.240 /28
BROADC 192.168.1.01001111 192.168.1.95 255.255.255.240 /28

N(h) <= 2^n – 2 red C SE NECESITAN BITS 7 IP ADD


2 <= (2^2) – 2 = 2 <= 4-2 , 2<=2

MASCARA 192.168.1.11111100 255.255.255.252 /30


IP RED 192.168.1. 01100000 192.168.1.96 255.255.255.252 /30
1RA IP 192.168.1. 01100001 192.168.1.97 255.255.255.252 /30
ULT IP 192.168.1. 01100010 192.168.1.98 255.255.255.252 /30

red 1 Hosts: 30
192.168.1.0 /27 192.168.1.1 192.168.1.30
192.168.1.32 /27 192.168.1.33 192.168.1.62
192.168.1.64 /28 192.168.1.65 -192.168.1.78
192.168.1.80 /28 192.168.1.81 -192.168.1.94
192.168.1.96/30 192.168.1.97 – 192.168.1.98

You might also like