arabera José Arévalo 4 years ago
296
Honelako gehiago
//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
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
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
R-ICA(config-subif)#ip nat inside
R-ICA(config-if)#ip nat outside
R-ICA(config)#interface s0/0/0
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-LIMA(config-if)#exit
R-LIMA(config-if)#ip nat outside
R-LIMA(config)#interface s0/0/0
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
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
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
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
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-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
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
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