Info
Descargar
Tabla VLSM
RED: 172.16.0.0/19
Host | VLAN | Address | CIDR Mask | Dec MASK |
---|---|---|---|---|
410 | 200 | 172.16.0.0 | /23 | 255.255.254.0 |
220 | 100 | 172.16.2.0 | /24 | 255.255.255.0 |
205 | 300 | 172.16.3.0 | /24 | 255.255.255.0 |
60 | 400 | 172.16.4.0 | /26 | 255.255.255.192 |
13 | 900 | 172.16.4.64 | /28 | 255.255.255.240 |
6 | 500 | 172.16.4.80 | /29 | 255.255.255.248 |
Configuracion
Dispositivos Finales
PC_VLAN_300
- IPv4: 172.16.3.5
- Mascara: 255.255.255.0
- Default Gateway: 172.16.3.1
- DNS: 10.10.10.8
PC_VLAN_400
- IPv4: 172.16.4.8
- Mascara: 255.255.255.192
- Default Gateway: 172.16.4.1
- DNS: 10.10.10.8
DNS SERVER
- IPv4: 10.10.10.8
- Mascara: 255.255.255.0
- Default Gateway: 10.10.10.1
- DNS: 10.10.10.8
DHCP
- IPv4: 10.10.10.250
- Mascara: 255.255.255.0
- Default Gateway: 10.10.10.1
- DNS: 10.10.10.8
RB
hostname RB
!
line console 0
pass ccna
exit
!
line vty 0 4
pass oeste
exit
!
banne motd "#Solo ingreso de personal autorizado#"
!
int g0/0
ip add 10.10.10.1 255.255.255.0
no shut
exit
!
int g0/1
ip add 12.12.12.6 255.255.255.252
no shut
exit
!
ip route 0.0.0.0 0.0.0.0 12.12.12.5
RA
hostname RA
!
line console 0
pass ccna
exit
!
line vty 0 4
pass oeste
exit
!
banne motd #Solo ingreso de personal autorizado#
!
int g0/1
ip add 12.12.12.5 255.255.255.252
no shut
exit
!
ip route 0.0.0.0 0.0.0.0 12.12.12.6
!
int g0/0
no shut
exit
!
int g0/0.100
encapsulation dot 100
ip address 172.16.2.1 255.255.255.0
no shut
exit
!
int g0/0.200
encapsulation dot 200
ip address 172.16.0.1 255.255.254.0
no shut
exit
!
int g0/0.300
encapsulation dot 300
ip address 172.16.3.1 255.255.255.0
no shut
exit
!
int g0/0.400
encapsulation dot 400
ip address 172.16.4.1 255.255.255.192
no shut
exit
!
int g0/0.500
encapsulation dot 500
ip address 172.16.4.81 255.255.255.248
no shut
exit
!
int g0/0.900
encapsulation dot 900
ip address 172.16.4.65 255.255.255.240
no shut
exit
!
S5
hostname S5
vlan 100
name TI
exit
!
vlan 200
name CAMARAS
exit
!
vlan 300
name IOT
exit
!
vlan 400
name SOPORTE
exit
!
vlan 500
name CONTROL
exit
!
vlan 900
name NATIVA
exit
!
int fa0/1
Switchport mode access
switchport access vlan 400
spanning-tree portfast
spanning-tree bpduguard enable
no shut
exit
!
int range fa0/2-22
Switchport mode access
switchport access vlan 900
shut
exit
!
int range fa0/23-24
switchport mode trunk
switchport trunk allowed vlan 100,200,300,400
switchport trunk native vlan 900
switchport nonegotiate
no shut
exit
!
int vlan 900
ip add 172.16.4.69 255.255.255.240
exit
!
spanning-tree mode pvst
ip default-gateway 172.16.4.65
S4
hostname S4
vlan 100
name TI
exit
!
vlan 200
name CAMARAS
exit
!
vlan 300
name IOT
exit
!
vlan 400
name SOPORTE
exit
!
vlan 500
name CONTROL
exit
!
vlan 900
name NATIVA
exit
!
int fa0/21
Switchport mode access
switchport access vlan 300
spanning-tree portfast
spanning-tree bpduguard enable
no shut
exit
!
int range fa0/1-20,fa0/23
Switchport mode access
switchport access vlan 900
shut
exit
!
int range fa0/22,fa0/24
switchport mode trunk
switchport trunk allowed vlan 100,200,300,400
switchport trunk native vlan 900
switchport nonegotiate
no shut
exit
!
int vlan 900
ip add 172.16.4.68 255.255.255.240
exit
!
spanning-tree mode pvst
!
ip default-gateway 172.16.4.65
S3
hostname S3
vlan 100
name TI
exit
!
vlan 200
name CAMARAS
exit
!
vlan 300
name IOT
exit
!
vlan 400
name SOPORTE
exit
!
vlan 500
name CONTROL
exit
!
vlan 900
name NATIVA
exit
!
int range fa0/1-20,fa0/23
Switchport mode access
switchport access vlan 900
no shut
exit
!
int range fa0/21,fa0/22,fa0/24
switchport mode trunk
switchport trunk allowed vlan 100,200,300,400
switchport trunk native vlan 900
switchport nonegotiate
no shut
exit
!
int vlan 900
ip add 172.16.4.67 255.255.255.240
exit
!
spanning-tree mode pvst
!
spanning-tree Vlan 400,500,900 root Primary
!
ip default-gateway 172.16.4.65
S2
enable
config t
hostname S2
vlan 100
name TI
exit
!
vlan 200
name CAMARAS
exit
!
vlan 300
name IOT
exit
!
vlan 400
name SOPORTE
exit
!
vlan 500
name CONTROL
exit
!
vlan 900
name NATIVA
exit
!
int range fa0/1-19,fa0/21-22
Switchport mode access
switchport access vlan 900
no shut
exit
!
int range fa0/20,fa0/23,fa0/24
switchport mode trunk
switchport trunk allowed vlan 100,200,300,400
switchport trunk native vlan 900
switchport nonegotiate
no shut
exit
!
int vlan 900
ip add 172.16.4.66 255.255.255.240
exit
!
spanning-tree mode pvst
!
spanning-tree Vlan 100,200,300 root Primary
!
ip default-gateway 172.16.4.65
!
S1
enable
config t
hostname S1
vlan 100
name TI
exit
!
vlan 200
name CAMARAS
exit
!
vlan 300
name IOT
exit
!
vlan 400
name SOPORTE
exit
!
vlan 500
name CONTROL
exit
!
vlan 900
name NATIVA
exit
!
int range fa0/1-19,fa0/22-24
Switchport mode access
switchport access vlan 900
no shut
exit
!
int range fa0/20,fa0/21
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 100,200,300,400
switchport trunk native vlan 900
switchport nonegotiate
no shut
exit
!
int vlan 900
ip add 172.16.4.74 255.255.255.240
exit
!
spanning-tree mode pvst
!
ip default-gateway 172.16.4.65
!
SWA
hostname SWA
int g0/1
no shut
exit
!