Вы находитесь на странице: 1из 6

>enable

#conf t

#vlan 10

#Name SAN FRANCISCO_I+D

#EXIT

#interface range f0/1-24

#switch port mode Access

#exit

#interface range f0/1-8

#switch port Access vlan 10

#do wr

# show vlan brief

#exit

Configurar de modo truncal

#int g0/1

#switch port mode trunk

#do wr

#exit

ROUTER

>enable

#clock set 16:00:00 22 oct 2017

#conf t
#clock timezone utc -3

#hostname SAN_FRANCISCO

#EXIT

#int g0/0

#no shutdown

#exit

#int g0/0.10

#encapsulation dot1Q 10

# ip address 10.2.0.0 255.255.224.0

#no shutdown

#exit

#int s0/0/0

#bandwidth 1000000

#clock rate 128000

#encapsulation hdlc

#ip 200.0.0.5 255.255.255.252

#no shutdown

#do wr

EXCLUIR IP

# ip dhcp excluded-address 10.2.0.0 10.2.0.20

#do wr
DHCP

#Ip dhcp Pool SANFRANCISCO_I+D

#network 10.2.0.1 255.255.224.0

#dns-server 8.8.8.8

#ip address 10.2.0.1

#default-router ip gateway

CONFIGURAR EL RIP

#conf t

#router rip

#network 200.0.0.0

#network 10.0.0.0

#version 2

#do wr

#show ip route

RUTA ESTATICA
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.20

Ejemplo subneteo

Dada la direccin 210.10.56.0 encontrar 6 subredes


Paso 1: Identificar la clase IP

Clase C

Paso 2: Identificar la mscara de red

255.255.255.0

Paso 3: Aplicar la frmula

2^n >= 6; 2^3 = 8; n=3

Paso 4: Identificar la mscara de subred

11111111.1111111.1111111.11100000

255.2555.255.224

Paso 5: Nmero Mgico (salto)

256 224 = 32

Direccin Subred Rango IPs Broadcast


210.10.56.0 (1 - 30); 210.10.56.1 210.10.56.30 210.10.56.31
210.10.56.32 (33 - 62); 210.10.56.33 210.10.56.62 210.10.56.63
210.10.56.64 (65 - 94); 210.10.56.65 210.10.56.94 210.10.56.95
210.10.56.96 (97 - 126); 210.10.56.97 210.10.56.126 210.10.56.127
210.10.56.128 (129 - 158); 210.10.56.128 210.10.56.158 210.10.56.159
210.10.56.160 (161 - 190); 210.10.56.161 210.10.56.190 210.10.56.191
210.10.56.192 (193 - 222); 210.10.56.193 210.10.56.222 210.10.56.223
210.10.56.224 (225 - 191); 210.10.56.224 210.10.56.254 210.10.56.255

VLSM
Se tiene una red IP 192.168.3.0, nos piden una subred de 30 hosts, una con 80 host, una
con 60 hosts y otra con 25 hosts.

Ordenar las subredes de mayor a menor


S1 = 80
S2 = 60
S3 = 30
S4 = 25

Subneting para la red S1.

1) Identificar la clase IP

Clase C
2) Identificar la mscara de red
255.255.255.0
3) Aplicar la formula
2^n - 2 >= 80; 2^7 - 2 = 126; n= 7
4) Identificar la mscara de subred
11111111. 11111111. 11111111.10000000
255.255.255.128

5) Salto
256 128 = 128

Dir. IP Subred Primera IP Vlida Ultima IP Vlida Broadcast


192.168.3.0 192.168.3.1 192.168.3.126 192.168.3.127

Subneteo para red con 60 Hosts

Paso 3
2^n 2 >= 60; 2^6 2 = 62; n = 6;

Paso 4
11111111. 11111111. 11111111.11000000
255.255.255.192

Paso 5
256 192 = 64;

Dir. IP Subred Primera IP Vlida Ultima IP Vlida Broadcast


192.168.3.128 192.168.3.129 192.168.3.190 192.168.3.191

Вам также может понравиться