CCNAv6 S4 Lab exam





--------------------------------------------------------
PC1:

IP:     192.168.1.10
Subnet Mask: 255.255.255.0
DG:                192.168.1.1

--------------------------------------------------------

PC2:

IP:     192.168.2.10
Subnet Mask: 255.255.255.0
DG:                192.168.2.1

--------------------------------------------------------

PC3:

IP:     192.168.3.10
Subnet Mask: 255.255.255.0
DG:                192.168.3.1

--------------------------------------------------------

PC4:

IP:     10.10.10.10
Subnet Mask: 255.255.255.0
DG:                10.10.10.1

--------------------------------------------------------

PC5:

IP:     20.20.20.20
Subnet Mask: 255.255.255.0
DG:                20.20.20.1

--------------------------------------------------------

R1:
!
enable
conf t
!
hostname R1
!
interface GigabitEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address 11.11.11.1 255.255.255.0
 no shutdown
 encapsulation frame-relay
 frame-relay interface-dlci 102
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 OSPFkey
 ip ospf network broadcast
 exit
!
router ospf 1
 log-adjacency-changes
 passive-interface GigabitEthernet0/0
 network 192.168.1.0 0.0.0.255 area 1
 network 11.11.11.0 0.0.0.255 area 1
!

------------------------------------------------------

Cloud: See Video.

------------------------------------------------------

R2:
enable
conf t
!
hostname R2
!
username ISP password 0 PPPPass
!
interface Tunnel0
 ip address 1.2.1.1 255.255.255.0
 tunnel mode gre ip
 tunnel source Serial0/0/0
 tunnel destination 2.2.2.1
!
interface GigabitEthernet0/1
 ip address 192.168.2.1 255.255.255.0
 no shutdown
 exit
!
interface Serial0/0/0
 ip address 1.1.1.1 255.255.255.0
 no shutdown
 encapsulation ppp
!
interface Serial0/0/1
 ip address 11.11.11.2 255.255.255.0
 no shutdown
 encapsulation frame-relay
 frame-relay interface-dlci 201
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 OSPFkey
 ip ospf network broadcast
!
router ospf 10
 log-adjacency-changes
 passive-interface GigabitEthernet0/1
 network 192.168.2.0 0.0.0.255 area 0
 network 11.11.11.0 0.0.0.255 area 1
 default-information originate
!
ip route 0.0.0.0 0.0.0.0 Serial0/0/0
!

----------------------------------------------------------

ISP:

enable
conf t
!
hostname ISP
!
username R2 password 0 PPPPass
username R3 password 0 PPPPass
!
interface Loopback0
 ip address 2.1.2.254 255.255.255.0
!
interface Serial0/0/0
 ip address 1.1.1.2 255.255.255.0
 no shutdown
 encapsulation ppp
 ppp authentication chap
 clock rate 128000
!
interface Serial0/0/1
 ip address 2.2.2.2 255.255.255.0
 no shutdown
 encapsulation ppp
 ppp authentication pap
 clock rate 128000
!
ip route 0.0.0.0 0.0.0.0 Loopback0
ip route 192.168.1.0 255.255.255.0 Serial0/0/0    
ip route 11.11.11.0 255.255.255.0 Serial0/0/0
ip route 22.22.22.0 255.255.255.0 Serial0/0/1
ip route 10.10.10.0 255.255.255.0 Serial0/0/1
ip route 20.20.20.0 255.255.255.0 Serial0/0/1
ip route 30.30.30.0 255.255.255.0 Serial0/0/1
!
# Can summary network LAN #
------------------------------------------------------
R3:

enable
conf t
!
hostname R3
!
interface Tunnel0
 ip address 1.2.1.2 255.255.255.0
 tunnel mode gre ip
 tunnel source Serial0/0/1
 tunnel destination 1.1.1.1
!
interface GigabitEthernet0/0
 ip address 192.168.3.1 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address 22.22.22.1 255.255.255.0
 no shutdown
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 OSPFkey
!
interface Serial0/0/1
 ip address 2.2.2.1 255.255.255.0
 no shutdown
 encapsulation ppp
 ppp pap sent-username R3 password 0 PPPPass
!
router ospf 20
 log-adjacency-changes
 passive-interface GigabitEthernet0/0
 network 192.168.3.0 0.0.0.255 area 0
 network 22.22.22.0 0.0.0.255 area 2
 default-information originate
!
ip route 0.0.0.0 0.0.0.0 Serial0/0/1
!
--------------------------------------------------------
R4:

enable
conf t
!
hostname R4
!
interface GigabitEthernet0/0
 no shutdown
!
interface GigabitEthernet0/0.10
 encapsulation dot1Q 10
 ip address 10.10.10.1 255.255.255.0
!
interface GigabitEthernet0/0.20
 encapsulation dot1Q 20
 ip address 20.20.20.1 255.255.255.0
!
interface GigabitEthernet0/0.30
 encapsulation dot1Q 30
 ip address 30.30.30.1 255.255.255.0
!
interface Serial0/0/0
 ip address 22.22.22.2 255.255.255.0
 no shutdown
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 OSPFkey
 clock rate 128000
!
router ospf 2
 log-adjacency-changes
 passive-interface default
 no passive-interface Serial0/0/0
 network 10.10.10.0 0.0.0.255 area 2
 network 20.20.20.0 0.0.0.255 area 2
 network 30.30.30.0 0.0.0.255 area 2
 network 22.22.22.0 0.0.0.255 area 2
!

----------------------------------------------------------


Multilayer Switch:

enable
conf t
!
hostname MS
!
vlan 10
!
vlan 20
!
vlan 30
exit
!
spanning-tree mode rapid-pvst
spanning-tree vlan 10,20 root primary
!
interface Port-channel 1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Port-channel 2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 1 mode desirable
!
interface FastEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 1 mode desirable
!
interface FastEthernet0/3
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 1 mode desirable
!
interface FastEthernet0/4
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 1 mode desirable
!
interface FastEthernet0/5
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 2 mode active
!
interface FastEthernet0/6
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 2 mode active
!
interface FastEthernet0/7
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface Vlan30
 ip address 30.30.30.2 255.255.255.0
!
interface range f0/8-24,g0/1-2
 shutdown
!


--------------------------------------------------------------

S1:

enable
conf t
!
hostname S1
!
spanning-tree mode rapid-pvst
spanning-tree vlan 10 root primary
spanning-tree vlan 20 root secondary
interface Port-channel 2
 switchport mode trunk
!
interface FastEthernet0/5
 switchport mode trunk
 channel-group 2 mode active
!
interface FastEthernet0/6
 switchport mode trunk
 channel-group 2 mode active
!
interface FastEthernet0/7
 switchport mode trunk
!
interface FastEthernet0/8
 switchport mode trunk
!
interface GigabitEthernet0/1
 switchport access vlan 10
 switchport mode access
 switchport port-security
 switchport port-security mac-address 0030.F28D.B5D9
 spanning-tree portfast
 spanning-tree bpduguard enable
!
interface Vlan30
 ip address 30.30.30.10 255.255.255.0
!
interface range f0/1-4,f0/9-24,g0/2
 shutdown
!
-------------------------------------------------------------------

S2:

enable
conf t
!
hostname S2
!
spanning-tree mode rapid-pvst
spanning-tree vlan 20 root primary
spanning-tree vlan 10 root secondary
!
interface Port-channel 1
 switchport mode trunk
!
interface FastEthernet0/1
 switchport mode trunk
 channel-group 1 mode desirable
!
interface FastEthernet0/2
 switchport mode trunk
 channel-group 1 mode desirable
!
interface FastEthernet0/3
 switchport mode trunk
 channel-group 1 mode desirable
!
interface FastEthernet0/4
 switchport mode trunk
 channel-group 1 mode desirable
!
interface FastEthernet0/7
 switchport mode trunk
!
interface FastEthernet0/8
 switchport mode trunk
!
interface GigabitEthernet0/1
 switchport access vlan 20
 switchport mode access
 switchport port-security
 switchport port-security mac-address sticky
 switchport port-security violation restrict
 spanning-tree portfast
 spanning-tree bpduguard enable
!
interface Vlan30
 ip address 30.30.30.20 255.255.255.0
!
interface range f0/5-6,f0/9-24,g0/2
 shutdown
!



END !!!!!!

Nhận xét

Bài đăng phổ biến từ blog này

[CCNAv6 S4] 8.2.4.14 Packet Tracer - Troubleshooting Enterprise Networks 3

[CCNAv6 S2] 2.2.2.4 Packet Tracer - Configuring IPv4 Static and Default Routes

[CCNAv6 S2] 7.3.2.4 Packet Tracer - Troubleshooting Standard IPv4 ACLs