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

0 no shut rama2 172.100.200 encapsulation dot1q 200 ip address 192. **************** troncales ***************** int range f1/13 .1 255.255.255.1 255.255.0 no shut int f0/0.12.200.0 no shut int f0/0.1 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.255.10 switchport mode access switchport access vlan 20 exit *************** asignando ip y mascara router2 conf ter .255.12.100 encapsulation dot1q 100 ip address 192.5 switchport mode access switchport access vlan 10 exit int range f1/6 .12.int f0/0.255.30.

1 255.255.255.48.12.2.255.48.225.0 default-router 192.130 200.12.0 network 192.1.146 ip dhcp pool vlan200 network 192.1.146 .0 network 192.225.10.20.48.0 dhcp router 1 ************** ip dhcp pool vlan100 network 192.1.255.130 200.0 default-router 192.30.12.2.0 no shut configurando la ip de las int seriales ************************************** router1 int s0/0 ip address 10.255.12.2.48.0 default-router 192.130 200.12.200.30.20 encapsulation dot1q 20 ip address 172.12.225.48.1 255.100.10 encapsulation dot1q 10 ip address 172.12.255.12.200.225.48.0 255.2 255.0 network 172.12.146 ip dhcp pool vlan300 network 192.255.12.30.225.0 no shut int f0/0.255.100.252 no shut router rip router1 ****************** router rip network 10.255.10.255.100.12.255.1 dns-server 200.0 255.1 dns-server 200.225.255.12.255.int f0/0 no shut int f0/0.1 dns-server 200.255.2.1 255.0 255.0 router rip router2 ****************** router rip network 10.1.0 network 192.252 no shut router2 int s0/0 ip address 10.0 network 172.20.12.200.

255.0 255.dhcp router 2 ************** ip dhcp pool vlan10 network 172.0 no shut ruta por defecto en r2 ********************** ip route 0.1 ping 200.1 dns-server 200.10.255 access-list 1 permit 172.12.0 255.225.12.200.12.255.93 255.10 ip nat inside int f0/0.1 dns-server 200.12.200.130 200.225.255 int s0/0 ip nat inside exit int f0/0 ip nat inside int f0/0.225.93 ping 172.0.255.20.0.0.255.0 default-router 192.130 .48.48.0.0.48.0 0.200.0 0.20.0.0 0.0 default-router 192.48.146 NAT-PAD r2 ************************* configuro f0/1 router int f0/1 ip add 172.0 172.0.130 200.20 ip nat inside exit int f0/1 ip nat outside exit ping 172.200.200.48.255.12.0.200.200.225.0.255.200.146 ip dhcp pool vlan20 network 172.225.255.10.12.1 router rip default-information originate ip nat inside source list 1 int f0/1 overload access-list 1 permit 192.

10 ipv6 enable int f0/0.300 ipv6 enable conf ter int f0/0 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 .******************************* ipv6 ******************************* router1 ipv6 unicast-routing (todos los router y switch) router1 int f0/0 int f0/0.200 ipv6 enable int f0/0.100 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.200 encapsulation dot1q 200 ipv6 address 2010:d9b:12:2::1/64 no shut int f0/0.

10 ipv6 rip empresarial enable 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.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.200 ipv6 rip empresarial enable int f0/0.100 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# .