2.1.4.4 Packet Tracer - Configure VLANs, VTP, And DTP para resolver
instructionsDescripción completa
Cisco Lab Practice 2.1.4.5 in SpanishFull description
Descripción: |
Configure Extended VLANs, VTP and DTP
CCNADescripción completa
instructionsFull description
instructionsFull description
instructions
Inter Vlan, Vtp Redes 3Descripción completa
VLansDescripción completa
6.2.2.5 Lab - Configuring VLANs and TrunkingDescripción completa
Descripción: sad
Full description
Full description
examen tipoDescripción completa
Cisco Lab 2.2.2.5 in Spanish
segmentasi targeting positioningDeskripsi lengkap
Descripción completa
Đây là bài lab ở cấp đô cao cấp dành cho nhưng ai học CCNP....Đã là pro thì không còn dùng Tiềng Việt nữa nhé
...English tí xíu cho oách nha..
....la..la...lá...la..la..ta vô đề nào...
Introduction Cable the network as shown in the diagram In this lab you will implement several switching technologies. Use 172.16.x.x/24 as the IP addressing scheme. Topology as below:
The following tasks must be achieved: 1. Configure the DLSwitch as the VTP servers, VTP domain vnpro, and all other switches as VTP clients. 2. Spanning-Tree must be configured to designate the Distribution layer switch as the primary root bridge for all configured VLANs. 3. The network must utilize EIGRP as the routing protocol. 4. Enable Telnet with the password “cisco” on all devices for remote management. 5. Your organization is given the IP address range 200.200.200.18/24 to 200.200.200.30/24.
Configure NAT on the border router to provide Internet access to all internal hosts. 6. Use network 172.16.1.0/24 for VLAN 1. 7. Configure FEC between the Access layer and Distribution layer switches. Các bước thực hiện : 1. Cấu hình DLSwitch là VTP mode server, VTP domain vnpro, các Switch khác là mode client. Tạo 3 VLAN 10, 20, 30 với tên tương ứng Accounting, Marketing, Engineering trên DLSwitch. DLSWITCH(config)#vtp mode sever DLSWITCH(config)#vtp domain vnpro Cấu hình tương tự trên các Switch còn lại nhưng với vtp mode là Client. DLSWITCH(config)#vlan 10 DLSWITCH(config-vlan)#name Accounting DLSWITCH(config-vlan)#exit DLSWITCH(config)#vlan 20 DLSWITCH(config-vlan)#name Marketing DLSWITCH(config-vlan)#exit DLSWITCH(config)#vlan 30 DLSWITCH(config-vlan)#name Engineering DLSWITCH(config-vlan)#exit
Kiểm tra lại cấu hình VLAN :
2. Cấu hình DLSwitch là root cho tất cả VLAN DLSWITCH(config)#spanning-tree DLSWITCH(config)#spanning-tree DLSWITCH(config)#spanning-tree DLSWITCH(config)#spanning-tree
3. Cấu hình địa chỉ IP cho các Switch để có thể Telne ALSWITCH1(config)#interface vlan ALSWITCH1(config-if)#ip address 172.16.1.1 255.255.255. ALSWITCH1(config-if)#no shu ALSWITCH1(config-if)#exi ALSWITCH1(config)#ip default-gateway 172.16.1. ALSWITCH2(config)#interface vlan ALSWITCH2(config-if)#ip address 172.16.1.2 255.255.255. ALSWITCH2(config-if)#no shu ALSWITCH2(config-if)#exi ALSWITCH2(config)#ip default-gateway 172.16.1. ALSWITCH3(config)#interface vlan ALSWITCH3(config-if)#ip address 172.16.1.3 255.255.255. ALSWITCH3(config-if)#no shu ALSWITCH3(config-if)#exi ALSWITCH3(config)#ip default-gateway 172.16.1. DLSWITCH(config)#interface vlan DLSWITCH(config-if)#ip address 172.16.1.4 255.255.255. DLSWITCH(config-if)#no shu DLSWITCH(config-if)#exi DLSWITCH(config)#ip default-gateway 172.16.1. CLSWITCH(config)#interface vlan CLSWITCH(config-if)#ip address 172.16.1.5 255.255.255. CLSWITCH(config-if)#no shu CLSWITCH(config-if)#exi CLSWITCH(config)#ip default-gateway 172.16.1. 4. Cấu hình EtherChannel(FEC) giữa các Switch Access layer và Distribution laye ALSWITCH1(config)#interface range FastEthernet0/1 – ALSWITCH1(config-if)#switchport mode trun ALSWITCH1(config-if)#channel-group 1 mode aut ALSWITCH1(config-if)#channel-protocol pag ALSWITCH1(config)#exi ALSWITCH2(config)#interface range FastEthernet0/1 – ALSWITCH2(config-if)#switchport mode trun ALSWITCH2(config-if)#channel-group 2 mode aut ALSWITCH2(config-if)#channel-protocol pag ALSWITCH2(config)#exit
6. Gán các port cho từng VLAN tương ứng trên các ALSWITCH1, ALSWITCH2, ALSWITC 3 Mặc định các port trên Switch thuộc về VL A N1 nên ta không cần gán port cho VLAN ALSWITCH1(config)#interface range fas0/4 – 6ALSWITCH1(config-if)#switchport access vlan 0ALSWITCH1(config)#ex tALSWITCH1(config)#interface range fas0/7 – 9ALSWITCH1(config-if)#switchport access vlan 0ALSWITCH1(config)#ex tALSWITCH1(config)#interface range fas0/10 – 2ALSWITCH1(config-if)#switchport access vlan 1ALSWITCH1(config)#ex Làm tương tự trên 2 Switch còn lại (ALSWITCH2, ALSWITCH
Kiểm tra xem các port đã được gán đúng VLAN trên ALSWITCH1
7. Cấu hình trunking trên port Fastethernet 0/24 của DLSWITCH và CLSWITC DLSWITCH(config)#interface fas0/2 DLSWITCH(config-if)#switchport trunk encapsulation dot1 DLSWITCH(config-if)#switchport mode trun DLSWITCH(config-if)#switchport trunk native vlan DLSWITCH(config-if)#exi CLSWITCH(config)#interface fas0/2 CLSWITCH(config-if)#switchport trunk encapsulation dot1 CLSWITCH(config-if)#switchport mode trun CLSWITCH(config-if)#switchport trunk native vlan CLSWITCH(config-if)#exi 8. Cấu hình port Fa0/13 trên CLSWITCH thành Layer 3 và routing giữa các VLA CLSWITCH(config)#interface fas0/1 CLSWITCH(config-if)#no switchpor CLSWITCH(config-if)#ip address 172.16.2.2 255.255.255. CLSWITCH(config-if)#no shu CLSWITCH(config-if)#exi CLSWITCH(config)#ip routin CLSWITCH(config)#interface vlan 1 CLSWITCH(config-if)#ip address 172.16.10.1 255.255.255. CLSWITCH(config-if)#no shu CLSWITCH(config-if)#exi CLSWITCH(config)#interface vlan 2 CLSWITCH(config-if)#ip address 172.16.20.1 255.255.255. CLSWITCH(config-if)#no shu CLSWITCH(config-if)#exi CLSWITCH(config)#interface vlan 3 CLSWITCH(config-if)#ip address 172.16.30.1 255.255.255. CLSWITCH(config-if)#no shu CLSWITCH(config-if)#exi Kiểm tra trạng thái của các interface VLAN(SVIs) trên CLSWITCH
9. Cấu hình Routing protocol EIGRP trên CLSWITCH CLSWITCH(config)#router eigrp 65 CLSWITCH(config-router)#network 172.16.1.0 0.0.0.255 CLSWITCH(config-router)#network 172.16.2.0 0.0.0.255 CLSWITCH(config-router)#network 172.16.10.0 0.0.0.255 CLSWITCH(config-router)#network 172.16.20.0 0.0.0.255 CLSWITCH(config-router)#network 172.16.30.0 0.0.0.255 CLSWITCH(config-router)#no auto-summary 10. Cấu hình Routing protocol EIGRP và NAT trên Router NAT NAT_ROUTER(config)#ip nat pool internet 200.200.200.18 200.200.200.30 prefix-length 28 NAT_ROUTER(config)#access-list 101 permit ip any any NAT_ROUTER(config)#ip nat inside source list 101 pool internet overload NAT_ROUTER(config)#interface fas0/0 NAT_ROUTER(config-if)#ip address 172.16.2.1 255.255.255.0 NAT_ROUTER(config-if)#no shut NAT_ROUTER(config-if)#ip nat inside NAT_ROUTER(config-if)#exit NAT_ROUTER(config)#interface Serial0/0 NAT_ROUTER(config-if)#ip address 200.200.100.1 255.255.255.0 NAT_ROUTER(config-if)#no shut NAT_ROUTER(config-if)#ip nat outside NAT_ROUTER(config-if)#exit NAT_ROUTER(config)#router eigrp 65 NAT_ROUTER(config-router)#network 172.16.2.0 0.0.0.255 NAT_ROUTER(config-router)#network 200.200.100.0 0.0.0.255 NAT_ROUTER(config-router)#exit
Để các traffic đi ra Internet router chúng ta phải thực hiện route tĩnh, ngoài ra trong mode router eigrp ta cũng quảng bá route tĩnh này để các router cũng chạy eigrp khác thấy được route tĩnh bằng các câu lệnh sau : NAT_ROUTER(config)#ip route 0.0.0.0 0.0.0.0 200.200.100.2 //200.200.100.2 là địa chỉ IP của interface S0/1 của router Internet. NAT_ROUTER(config)#router eigrp 65 NAT_ROUTER(config-router)#redistribute static metric 15 2 255 255 1500
Kiểm tra bảng định tuyến của NAT_ROUTER và CLSWITCH
Cấu hình cho Router Internet INTERNET_ROUTER(config)#ip nat inside source list 1 interface Fast0/0 overload INTERNET_ROUTER(config)#access-list 1 permit any Mục đích thiết lập NAT ở đây là để cho ra Internet INTERNET_ROUTER(config)#interface Fas0/0 INTERNET_ROUTER(config-if)#ip address dhcp //Xin địa chỉ IP từ DHCP Server INTERNET_ROUTER(config-if)#ip nat outside INTERNET_ROUTER(config-if)#no shut INTERNET_ROUTER(config)#interface Serial0/1 INTERNET_ROUTER(config-if)#ip add 200.200.100.2 255.255.255.0 INTERNET_ROUTER(config-if)#ip nat inside INTERNET_ROUTER(config-if)#clock rate 64000 INTERNET_ROUTER(config-if)#no shut Tiếp theo phải cấu hình route tĩnh để ra Internet thông qua default gateway của internet la 192.168.1.1 và route tĩnh về địa chỉ NAT ra ngoài là 200.200.200.0(từ dãy địa chỉ 200.200.200.18-200.200.200.30) INTERNET_ROUTER(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1 INTERNET_ROUTER(config)#ip route 200.200.200.0 255.255.255.0 200.200.100.1