You are on page 1of 7

TRONCALES

todos los switch
conf ter
int range f1/13 - 15
switchport mode trunk
switchport trunk native vlan 300
exit
rama 1 192.
****************
vtp domain marina
vtp password sistemas
vtp mode Server
vtp domain marina
vtp password sistemas
vtp mode Client
****************
en el server
vlan
vlan
vlan
vlan

database
100
200
300

sh vlan-switch
*****************
asignando puertos en switch
en todos los switch (3)
conf ter
int range f1/1 , f1/3 , f1/5
switchport mode access
switchport access vlan 100
exit
int range f1/2 , f1/4 , f1/6
switchport mode access
switchport access vlan 200
exit
int range f1/7 - 10
switchport mode access
switchport access vlan 300
exit
***************
asignando ip y mascara
router1
conf ter
int f0/0
no shut

255.100.100 encapsulation dot1q 100 ip address 192.255.255.255.15 switchport mode trunk ************** vtp domain marina1 vtp password sistemas vtp mode Server vtp domain marina1 vtp password sistemas vtp mode Client ******************* en el server vlan database vlan 10 vlan 20 ************** asignar puertos conf ter int range f1/1 .300 encapsulation dot1q 300 native ip address 192.int f0/0.30.10 switchport mode access switchport access vlan 20 exit *************** asignando ip y mascara router2 conf ter .0 no shut rama2 172. **************** troncales ***************** int range f1/13 .200 encapsulation dot1q 200 ip address 192.200.255.1 255.0 no shut int f0/0.255.12.1 255.0 no shut int f0/0.12.1 255.12.5 switchport mode access switchport access vlan 10 exit int range f1/6 .

225.130 200.225.225.0 255.48.12.1.12.225.1 dns-server 200.12.30.252 no shut router rip router1 ****************** router rip network 10.0 default-router 192.12.200.12.12.30.100.48.2.1 dns-server 200.20.255.2.1.0 router rip router2 ****************** router rip network 10.30.200.255.48.0 network 172.int f0/0 no shut int f0/0.200.1.10.0 255.0 default-router 192.2.0 network 192.12.1 255.12.1 255.0 network 192.255.130 200.100.1 dns-server 200.255.0 network 172.0 network 192.255.2.255.255.0 default-router 192.0 255.48.12.255.255.252 no shut router2 int s0/0 ip address 10.0 no shut configurando la ip de las int seriales ************************************** router1 int s0/0 ip address 10.1.20 encapsulation dot1q 20 ip address 172.225.12.146 ip dhcp pool vlan300 network 192.255.225.1 255.0 no shut int f0/0.100.10 encapsulation dot1q 10 ip address 172.146 .130 200.0 dhcp router 1 ************** ip dhcp pool vlan100 network 192.12.255.20.48.255.255.12.10.48.12.2 255.146 ip dhcp pool vlan200 network 192.255.

255.48.200.200.0 0.0.0 0.255.0.0.1 dns-server 200.0.12.0 default-router 192.1 ping 200.200.225.255.10.200.200.0 255.0 no shut ruta por defecto en r2 ********************** ip route 0.146 ip dhcp pool vlan20 network 172.1 dns-server 200.200.200.225.48.255.20.225.255 access-list 1 permit 172.146 NAT-PAD r2 ************************* configuro f0/1 router int f0/1 ip add 172.255 int s0/0 ip nat inside exit int f0/0 ip nat inside int f0/0.48.225.0 default-router 192.10.255.130 200.200.225.255.130 .12.0 172.12.255.130 200.0.0 0.48.0 255.dhcp router 2 ************** ip dhcp pool vlan10 network 172.48.12.12.1 router rip default-information originate ip nat inside source list 1 int f0/1 overload access-list 1 permit 192.20 ip nat inside exit int f0/1 ip nat outside exit ping 172.93 ping 172.0.10 ip nat inside int f0/0.0.12.20.0.0.93 255.

10 ipv6 enable int f0/0.******************************* ipv6 ******************************* router1 ipv6 unicast-routing (todos los router y switch) router1 int f0/0 int f0/0.200 ipv6 enable int f0/0.300 encapsulation dot1q 300 native ipv6 address 2010:d9b:12:3::1/64 no shut vpcs ipv6 ********************* 1 ip 2010:d9b:12:2::10/64 2010:d9b:12:2::1 2 ip 2010:d9b:12:3::10/64 2010:d9b:12:3::1 3 ip 2010:d9b:12:3::10/64 2010:d9b:12:3::1 router2 ************************* router2 int f0/0 int f0/0.100 ipv6 enable int f0/0.200 encapsulation dot1q 200 ipv6 address 2010:d9b:12:2::1/64 no shut int f0/0.100 encapsulation dot1q 100 ipv6 address 2010:d9b:12:1::1/64 no shut int f0/0.20 ipv6 enable .300 ipv6 enable conf ter int f0/0 no shut int f0/0.

100 ipv6 rip empresarial enable int f0/0.200 ipv6 rip empresarial enable int f0/0.20 encapsulation dot1q 20 ipv6 address 2010:d9b:12:6::1/64 no shut configurando ip de la int seriales ************************************** router1 int s0/0 ipv6 address 2010:d9b:12:4::1/64 no shut router2 int s0/0 ipv6 address 2010:d9b:12:4::2/64 no shut router rip router1 ****************** ipv6 router rip empresarial exit int s0/0 ipv6 rip empresarial enable exit int f0/0 ipv6 rip empresarial enable int f0/0 int f0/0.conf ter int f0/0 no shut int f0/0.10 encapsulation dot1q 10 ipv6 address 2010:d9b:12:5::1/64 no shut int f0/0.300 ipv6 rip empresarial enable router rip router2 ******************* ipv6 router rip empresarial exit int s0/0 ipv6 rip empresarial enable exit int f0/0 ipv6 rip empresarial enable int f0/0.10 ipv6 rip empresarial enable int f0/0.20 .

ipv6 rip empresarial enable seguridad basica (todos router y switch) **************************************** conf ter enable secret class line console 0 password cisco login exit line vty 0 4 password cisco login exit service password-encryption banner motd #cuidado# .