Thứ Bảy, 26 tháng 7, 2014

S3-OpenLab Full - test thử

1.      Access, Trunking, Etherchannel

 2.      VTP,VLAN and Spanning-tree

3. Assign IP address for Router’s interfaces with rules as follow: Gate1 +1; Gate2 +2; SW.STAFF-Core : + 1

4.      Routing and Inter-Vlan routing
  
5.      DHCP, HSRP
5.1 DHCP:
+  GATE1 : config as DHCP server for vlan 20 and 30 with information in the table below


+STAFF-DHCPv4 : Enable DHCP relay agent on SW.STAFF-Core


5.2 HSRP: 
Configure HSRP in GATE1 and GATE2 for Server_Farm lan with group 10 and IP default gateway as 10.1.1.10 . GATE1 has priority as 200, GATE2 has priority as 100
6.      Wireless router
-          Internet interface’s IP address: 199.99.10.2/24
-          Lan port’s IP address: 172.16.1.1/24
-          DHCP: start IP: +10; maximum user: 220
-          SSID: student.BK
- Channel : 6
-          Security: WPA2 Personal, password “bkacadcisco”
7. Configure mail server


________________________________________________________________
hostname GATE
!
ipv6 unicast-routing
!
spanning-tree mode pvst
!
interface GigabitEthernet0/0
 ip address 20.1.1.2 255.255.255.252
 duplex auto
 speed auto
 ipv6 address 2013:20:1::3/64
 ipv6 eigrp 99
!
interface GigabitEthernet0/1
 ip address 20.1.1.5 255.255.255.252
 duplex auto
 speed auto
 ipv6 address 2013:20:2::3/64
 ipv6 eigrp 99
!
interface GigabitEthernet0/2
 ip address 200.0.0.1 255.255.255.252
 duplex auto
 speed auto
 ipv6 address 2013:14::3/64
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 network 20.1.1.0 0.0.0.3 area 0
 network 20.1.1.4 0.0.0.3 area 0
 default-information originate
!
ipv6 router eigrp 99
 router-id 3.3.3.3
 no shutdown
 redistribute static
!
ip classless
ip route 0.0.0.0 0.0.0.0 200.0.0.2
!
ipv6 route ::/0 2013:14::2
!
no cdp run
!
end

hostname GATE1(DHCPv4&v6)
!
ip dhcp excluded-address 199.99.30.1 199.99.30.19
ip dhcp excluded-address 199.99.20.1 199.99.20.9
ip dhcp excluded-address 199.99.30.120 199.99.30.254
ip dhcp excluded-address 199.99.20.210 199.99.20.254
!
ip dhcp pool Insipv4
 network 199.99.30.0 255.255.255.0
 default-router 199.99.30.1
 dns-server 8.8.8.8
ip dhcp pool Studentipv4
 network 199.99.20.0 255.255.255.0
 default-router 199.99.20.1
 dns-server 8.8.8.8
ipv6 unicast-routing
!
!
ipv6 dhcp pool ipv6r&d
 dns-server 2013:100::100
!
license udi pid CISCO2911/K9 sn FTX152463OW
!
spanning-tree mode pvst
!
interface GigabitEthernet0/0
 ip address 10.1.1.1 255.255.255.0
 duplex auto
 speed auto
 ipv6 address 2013:46::1/64
 ipv6 eigrp 99
 standby version 2
 standby 10 ip 10.1.1.10
 standby 10 priority 200
!
interface GigabitEthernet0/1
 ip address 20.1.1.1 255.255.255.252
 duplex auto
 speed auto
 ipv6 address 2013:20:1::1/64
 ipv6 eigrp 99
!
interface GigabitEthernet0/2
 no ip address
 duplex auto
 speed auto
!
interface GigabitEthernet0/2.10
 encapsulation dot1Q 10
 ip address 199.99.10.1 255.255.255.0
!
interface GigabitEthernet0/2.20
 encapsulation dot1Q 20
 ip address 199.99.20.1 255.255.255.0
!
interface GigabitEthernet0/2.30
 encapsulation dot1Q 30
 ip address 199.99.30.1 255.255.255.0
!
interface GigabitEthernet0/2.40
 encapsulation dot1Q 40
 ip address 199.99.40.1 255.255.255.0
!
interface GigabitEthernet0/2.44
 encapsulation dot1Q 44
 no ip address
 ipv6 address 2013:44::1/64
 ipv6 nd other-config-flag
 ipv6 eigrp 99
 ipv6 dhcp server ipv6r&d
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 network 20.1.1.0 0.0.0.3 area 0
 network 10.1.1.0 0.0.0.255 area 0
 network 199.99.10.0 0.0.0.255 area 0
 network 199.99.20.0 0.0.0.255 area 0
 network 199.99.30.0 0.0.0.255 area 0
 network 199.99.40.0 0.0.0.255 area 0
!
ipv6 router eigrp 99
 router-id 1.1.1.1
 no shutdown
!
ip classless
!
End

hostname GATE2
!
ipv6 unicast-routing
!
license udi pid CISCO2911/K9 sn FTX1524XXE7
!
spanning-tree mode pvst
!
interface GigabitEthernet0/0
 ip address 10.1.1.2 255.255.255.0
 duplex auto
 speed auto
 ipv6 address 2013:46::2/64
 ipv6 eigrp 99
 standby version 2
 standby 10 ip 10.1.1.10
!
interface GigabitEthernet0/1
 ip address 20.1.1.6 255.255.255.252
 duplex auto
 speed auto
 ipv6 address 2013:20:2::2/64
 ipv6 eigrp 99
!
interface GigabitEthernet0/2
 ip address 199.99.55.2 255.255.255.0
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 network 20.1.1.4 0.0.0.3 area 0
 network 10.1.1.0 0.0.0.255 area 0
 network 199.99.55.0 0.0.0.255 area 0
!
ipv6 router eigrp 99
 router-id 2.2.2.2
 no shutdown
!
ip classless
!
End

hostname Switch
!
spanning-tree mode pvst
!
interface Vlan1
 no ip address
 shutdown
!
End

hostname SW.INS-01
!
spanning-tree mode pvst
spanning-tree vlan 10,20,30,40 priority 24576
!
interface FastEthernet0/1
 switchport mode trunk
!
interface FastEthernet0/2
 channel-protocol lacp
 channel-group 1 mode active
 switchport mode trunk
!
interface FastEthernet0/3
 channel-protocol lacp
 channel-group 1 mode active
 switchport mode trunk
!
interface FastEthernet0/4
 switchport access vlan 30
 switchport mode access
 spanning-tree portfast
!
interface Port-channel 1
 switchport mode trunk
!
interface Vlan1
 no ip address
 shutdown
!
End

hostname SW.INS-02
!
spanning-tree mode pvst
!
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/2
 channel-protocol lacp
 channel-group 1 mode active
 switchport mode trunk
!
interface FastEthernet0/3
 channel-protocol lacp
 channel-group 1 mode active
 switchport mode trunk
!
interface FastEthernet0/4
 switchport access vlan 20
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/5
 switchport access vlan 44
 switchport mode access
 spanning-tree portfast
!
interface Port-channel 1
 switchport mode trunk
!
interface Vlan1
 no ip address
 shutdown
!
line con 0
!
line vty 0 4
 login
line vty 5 15
 login
!
End

hostname SW.STAFF-Client1
!
spanning-tree mode pvst
spanning-tree vlan 33,44 priority 24576
spanning-tree vlan 11,22 priority 28672
!
interface FastEthernet0/1
channel-protocol pagp
 channel-group 1 mode desirable
 switchport mode trunk
!
interface FastEthernet0/2
channel-protocol pagp
 channel-group 1 mode desirable
 switchport mode trunk
!
interface FastEthernet0/3
 switchport access vlan 11
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/4
!
interface FastEthernet0/5
 channel-group 3 mode on
 switchport mode trunk
!
interface FastEthernet0/6
 channel-group 3 mode on
 switchport mode trunk
!
interface Port-channel 1
 switchport mode trunk
!
interface Port-channel 3
 switchport mode trunk
!
interface Vlan1
 no ip address
 shutdown
!
line con 0
!
line vty 0 4
 login
line vty 5 15
 login
!
End

hostname SW.STAFF-Client2
!
spanning-tree mode pvst
!
interface FastEthernet0/1
 switchport access vlan 22
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/2
!
interface FastEthernet0/3
channel-protocol pagp
 channel-group 2 mode desirable
 switchport mode trunk
!
interface FastEthernet0/4
channel-protocol pagp
 channel-group 2 mode desirable
 switchport mode trunk
!
interface FastEthernet0/5
 channel-group 3 mode on
 switchport mode trunk
!
interface FastEthernet0/6
 channel-group 3 mode on
 switchport mode trunk
!
interface Port-channel 2
 switchport mode trunk
!
interface Port-channel 3
 switchport mode trunk
!
interface Vlan1
 no ip address
 shutdown
!
line con 0
!
line vty 0 4
 login
line vty 5 15
 login
!
End

hostname SW.STAFF-Core
!
ip routing
!
spanning-tree mode pvst
spanning-tree vlan 11,22 priority 24576
spanning-tree vlan 33,44 priority 28672
!
interface FastEthernet0/1
channel-protocol pagp
 channel-group 1 mode desirable
!
interface FastEthernet0/2
channel-protocol pagp
 channel-group 1 mode desirable
!
interface FastEthernet0/3
channel-protocol pagp
 channel-group 2 mode desirable
!
interface FastEthernet0/4
channel-protocol pagp
 channel-group 2 mode desirable
!
interface FastEthernet0/5
 no switchport
 ip address 199.99.55.1 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/6
 switchport access vlan 33
 switchport mode access
 spanning-tree portfast
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan11
 ip address 188.88.11.1 255.255.255.0
 ip helper-address 188.88.33.10
!
interface Vlan22
 ip address 188.88.22.1 255.255.255.0
 ip helper-address 188.88.33.10
!
interface Vlan33
 ip address 188.88.33.1 255.255.255.0
!
router ospf 1
 log-adjacency-changes
 network 188.88.11.0 0.0.0.255 area 0
 network 188.88.22.0 0.0.0.255 area 0
 network 188.88.33.0 0.0.0.255 area 0
 network 199.99.55.0 0.0.0.255 area 0
!
ip classless
!
end


Không có nhận xét nào:

Đăng nhận xét