Categorieën: Alle - topology

door José Arévalo 4 jaren geleden

280

SISTEMAS DE COMUNICACION DE DATOS

The text revolves around configuring various network elements and protocols such as NAT/PAT, OSPF, and HSRP. It details the specific commands and configurations necessary for setting up interfaces and sub-interfaces on routers labeled R-ICA and R-LIMA.

SISTEMAS DE COMUNICACION DE DATOS

SCD

DHCP

//ip dhcp excluded-address
//LAN-ICA

//ip dhcp pool

//LAN-ADMIN

R-ICA(dhcp-config)#default-router 192.168.100.129

R-ICA(dhcp-config)#network 192.168.100.128 255.255.255.252

R-ICA(config)#ip dhcp pool LAN-ADMIN

//LAN-VOZ

R-ICA(dhcp-config)#default-router 192.168.100.97

R-ICA(dhcp-config)#network 192.168.100.96 255.255.255.252

R-ICA(config)#ip dhcp pool LAN-VOZ

//LAN-DATOS

R-ICA(dhcp-config)#exit

R-ICA(dhcp-config)#dns-server 8.8.8.8

R-ICA(dhcp-config)#default-router 192.168.100.65

R-ICA(dhcp-config)#network 192.168.100.64 255.255.255.252

R-ICA(config)#ip dhcp pool LAN-DATOS

R-ICA(config)#ip dhcp excluded-address 192.168.100.129

R-ICA(config)#ip dhcp excluded-address 192.168.100.97

R-ICA(config)#ip dhcp excluded-address 192.168.100.65

//LAN-CLARO

R-CLARO(dhcp-config)#exit

R-CLARO(dhcp-config)#dns-server 8.8.8.8

R-CLARO(dhcp-config)#default-router 192.168.100.33

R-CLARO(dhcp-config)#network 192.168.100.32 255.255.255.252

R-CLARO(config)#ip dhcp pool LAN-CLARO

R-CLARO(config)#ip dhcp excluded-address 192.168.100.33

//LAN-MOVISTAR

R-MOVISTAR(dhcp-config)#exit

R-MOVISTAR(dhcp-config)#dns-server 8.8.8.8

R-MOVISTAR(dhcp-config)#default-router 192.168.100.33

R-MOVISTAR(dhcp-config)#network 192.168.100.32 255.255.255.252

R-MOVISTAR(config)#ip dhcp pool LAN-MOVISTAR

R-MOVISTAR(config)#ip dhcp excluded-address 192.168.100.33

NAT/PAT

interfaces

R-ICA(config-subif)#ip nat inside

R-ICA(config-if)#ip nat outside

R-ICA(config)#interface s0/0/0

access-list

R-ICA(config)#access-list 25 permit 192.168.100.128 0.0.0.3

R-ICA(config)#access-list 25 permit 192.168.100.96 0.0.0.3

R-ICA(config)#access-list 25 permit 192.168.100.64 0.0.0.3

R-ICA(config)#ip nat inside source list 25 interface s0/0/0 overload
//R-LIMA
interface s0/0/0

R-LIMA(config-if)#exit

R-LIMA(config-if)#ip nat outside

R-LIMA(config)#interface s0/0/0

R-LIMA(config)#ip nat inside source list 25 interface s0/0/0 overload

OSPF

R-ICA(config-router)#exit
R-ICA(config-router)#default-information originate
R-ICA(config)#router ospf 100
R-ICA(config)#ip route 0.0.0.0 0.0.0.0 198.200.140.17

RIPv2

HSRP

//R-ICA(config)
interface f0/0.30

R-ICA(config-if)#standby 30 track s0/0/0

R-ICA(config-if)#standby 30 preempt

R-ICA(config-if)#standby 30 priority 105

R-ICA(config-if)#standby 30 ip 192.168.100.129

R-ICA(config)#interface f0/0.30

interface f0/0.20

R-ICA(config-if)#standby 20 track s0/0/0

R-ICA(config-if)#standby 20 preempt

R-ICA(config-if)#standby 20 priority 105

R-ICA(config-if)#standby 20 ip 192.168.100.97

R-ICA(config)#interface f0/0.20

R-ICA(config-if)#exit

R-ICA(config-if)#standby 10 track s0/0/0

R-ICA(config-if)#standby 10 preempt

R-ICA(config-if)#standby 10 priority 105

R-ICA(config-if)#standby 10 ip 192.168.100.65

R-ICA(config-if)#standby version 2

R-ICA(config)#interface f0/0.10

VLAN's

Etiquetado de vlan y asignación de ips a las subinterfaces
//R-ICA

Router(config)#hostname R-MOVISTAR

R-ICA(config-subif)#ip address 192.168.100.130 255.255.255.224

R-ICA(config-subif)#encapsulation dot1q 30

R-ICA(config-if)#interface f0/0.30

R-ICA(config-subif)#ip address 192.168.100.98 255.255.255.224

R-ICA(config-subif)#encapsulation dot1q 20

R-ICA(config-if)#interface f0/0.20

interface f0/0.10

R-ICA(config-subif)#exit

R-ICA(config-subif)#ip address 192.168.100.66 255.255.255.224

R-ICA(config-subif)#encapsulation dot1q 10

R-ICA(config-if)#interface f0/0.10

interface f0/0

R-ICA(config-if)#no shutdown

R-ICA(config)#interface f0/0

Enrutamiento entre VLAN Pertenencia de Puertos a VLAN

SW2-ICA(config-if-range)#switchport access vlan 30

SW2-ICA(config)#interface range f0/21-24

SW2-ICA(config-if-range)#switchport access vlan 20

SW2-ICA(config)#interface range f0/11-20

SW2-ICA(config-if-range)#exit

SW2-ICA(config-if-range)#switchport access vlan 10

SW2-ICA(config-if-range)#switchport mode access

SW2-ICA(config)#interface range f0/1-10

SW1-ICA(config)#interface g0/1

TRUNK

SW1-ICA(config-if-range)#switchport mode trunk

SW1-ICA(config)#interface f0/1

SW1-ICA(config-if-range)#switchport access vlan 30

SW1-ICA(config)#interface range f0/21-24

SW1-ICA(config-if-range)#switchport access vlan 20

SW1-ICA(config)#interface range f0/11-20

SW1-ICA(config-if-range)#exit

SW1-ICA(config-if-range)#switchport access vlan 10

SW1-ICA(config-if-range)#switchport mode access

SW1-ICA(config)#interface range f0/1-10

Creation
//SW2-ICA

Switch(config)#hostname SW2-ICA

SW2-ICA(config-vlan)#name ADMIN

SW2-ICA(config-vlan)#vlan 30

SW2-ICA(config-vlan)#name VOZ

SW2-ICA(config-vlan)#vlan 20

SW2-ICA(config-vlan)#name DATOS

SW2-ICA(config)#vlan 10

//SW1-ICA

SW1-LIMA(config-vlan)#exit

Switch(config)#hostname SW1-ICA

VLAN 30 - ADMIN

SW1-ICA(config-vlan)#name ADMIN

SW1-ICA(config-vlan)#vlan 30

VLAN 20 - VOZ

SW1-ICA(config-vlan)#name VOZ

SW1-ICA(config-vlan)#vlan 20

VLAN 10 - DATOS

SW1-ICA(config-vlan)#name DATOS

SW1-ICA(config)#vlan 10

Configuración de Seguridad Fortificada

SSH
Switch

SW-MOVISTAR(config-line)#exit

SW-MOVISTAR(config-line)#transport input ssh

SW-MOVISTAR(config-line)#login local

SW-MOVISTAR(config)#line vty 0 15

SW-MOVISTAR(config)#ip ssh time 60

SW-MOVISTAR(config)#ip ssh auth 2

SW-MOVISTAR(config)#ip ssh version 2

SW-MOVISTAR(config)#service password-encryption

SW-MOVISTAR(config)#user USUARIO pass ciscoclass

SW-MOVISTAR(config)#crypto key generate rsa

SW-MOVISTAR(config)#ip domain-name cisco.com

Router

VTY

R-MOVISTAR(config-line)#exit

R-MOVISTAR(config-line)#transport input ssh

R-MOVISTAR(config-line)#login local

R-MOVISTAR(config)#line vty 0 15

R-MOVISTAR(config)#ip ssh time 60

R-MOVISTAR(config)#ip ssh auth 2

R-MOVISTAR(config)#ip ssh version 2

R-MOVISTAR(config)#service password-encryption

R-MOVISTAR(config)#user USUARIO pass ciscoclass

R-MOVISTAR(config)#crypto key generate rsa

1024

R-MOVISTAR(config)#ip domain-name cisco.com

Planificación de Direccionamiento

5. VLAN 30 : 192.168.100.128 /27
4. VLAN 20 : 192.168.100.96 /27
3. VLAN 10 : 192.168.100.64 /27
2. LAN LIMA : 192.168.100.32 /27
1. WAN CLARO-ICA : 192.168.100.0 /27

Topología