Monday, August 25, 2014

Packet tracer E3.6.4.2.2 (CCNA3)


PC1
ip           192.168.10.21
subnet    255.255.255.0
gateway 192.168.10.1

PC2
ip           192.168.20.22
subnet    255.255.255.0
gateway 192.168.20.1

PC3
ip           192.168.30.23
subnet    255.255.255.0
gateway 192.168.30.1

Server
ip           192.168.50.254
subnet    255.255.255.0
gateway 192.168.50.1

R1
Router>en
Router#conf t
Router(config)#hostname R1
R1(config)#no ip domain-lookup
R1(config)#enable secret class
R1(config)#int fa0/0
R1(config-if)#description server interface
R1(config-if)#ip address 192.168.50.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#int fa0/1
R1(config-if)#no shut
R1(config-if)#int fa0/1.1
R1(config-subif)#encap dot1q 1
R1(config-subif)#ip address 192.168.1.1 255.255.255.0
R1(config-subif)#int fa0/1.10
R1(config-subif)#encap dot1q 10
R1(config-subif)#ip address 192.168.10.1 255.255.255.0
R1(config-subif)#int fa0/1.20
R1(config-subif)#encap dot1q 20
R1(config-subif)#ip address 192.168.20.1 255.255.255.0
R1(config-subif)#int fa0/1.30
R1(config-subif)#encap dot1q 30
R1(config-subif)#ip address 192.168.30.1 255.255.255.0
R1(config-subif)#int fa0/1.99
R1(config-subif)#encap dot1q 99
R1(config-subif)#ip address 192.168.99.1 255.255.255.0

S1
Switch>en
Switch# conf t
Switch(config)#hostname S1
S1(config)#ip default-gateway 192.168.99.1
S1(config)#no ip domain-lookup
S1(config)#enable secret class
S1(config)#vlan 10
S1(config-vlan)#name R&D
S1(config-vlan)#vlan 20
S1(config-vlan)#name Engineering
S1(config-vlan)#vlan 30
S1(config-vlan)#name Sales
S1(config-vlan)#vlan 99
S1(config-vlan)#name Management
S1(config-vlan)#exit
S1(config)#int fa0/1
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#no shut
S1(config-if)#int fa0/2
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#no shut
S1(config-if)#int fa0/3
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#no shut
S1(config-if)#int fa0/4
S1(config-if)#switchport trunknative vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#no shut
S1(config-if)#int fa0/5
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#switchport mode trunk
S1(config-if)#no shut
S1(config-if)#int vlan 99
S1(config-if)#ip address 192.168.99.11 255.255.255.0
S1(config-if)#exit
S1(config)#exit
S1#vlan database
S1(vlan)#vtp domain Lab6
S1(vlan)#vtp password cisco

S2
Switch>en
Switch#vlan database
Switch(vlan)#vtp domain Lab6
Switch(vlan)#vtp client
Switch(vlan)#vtp password cisco
Switch(vlan)#exit
Switch#conf t
Switch(config)#hostname S2
S2(config)#ip default-gateway 192.168.99.1
S2(config)#no ip domain-lookup
S2(config)#enable secret class
S2(config)#int fa0/1
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#switchport mode trunk
S2(config-if)#no shut
S2(config-if)#int fa0/2
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#switchport mode trunk
S2(config-if)#no shut
S2(config-if)#int fa0/3
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#switchport mode trunk
S2(config-if)#no shut
S2(config-if)#int fa0/4
S2(config-if)#switchport trunknative vlan 99
S2(config-if)#switchport mode trunk
S2(config-if)#no shut
S2(config-if)#int fa0/5
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#switchport mode trunk
S2(config-if)#no shut
S2(config-if)#int vlan 99
S2(config-if)#ip address 192.168.99.12 255.255.255.0
S2(config-if)#int fa0/11
S2(config-if)#switchport access vlan 10
S2(config-if)#int fa0/18
S2(config-if)#switchport access vlan 20
S2(config-if)#int fa0/6
S2(config-if)#switchport access vlan 30

S3
Switch>en
Switch#vlan database
Switch(vlan)#vtp domain Lab6
Switch(vlan)#vtp client
Switch(vlan)#vtp password cisco
Switch(vlan)#exit
Switch# conf t
Switch(config)#hostname S3
S3(config)#ip default-gateway 192.168.99.1
S3(config)#no ip domain-lookup
S3(config)#enable secret class
S3(config)#int fa0/1
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#switchport mode trunk
S3(config-if)#no shut
S3(config-if)#int fa0/2
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#switchport mode trunk
S3(config-if)#no shut
S3(config-if)#int fa0/3
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#switchport mode trunk
S3(config-if)#no shut
S3(config-if)#int fa0/4
S3(config-if)#switchport trunknative vlan 99
S3(config-if)#switchport mode trunk
S3(config-if)#no shut
S3(config-if)#int fa0/5
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#switchport mode trunk
S3(config-if)#no shut
S3(config-if)#int vlan 99
S3(config-if)#ip address 192.168.99.13 255.255.255.0 (Lia P Yaumin)