Mục tiêu thực hành:
- Cấu hình trên Firewall Fortigate, quay số PPPoE trên WAN1 vs WAN2.
- Cấu hình trên Firewall Fortigate, thiết lập Firewall Policy cho phép các Internal LAN truy cập Internet.
- Cấu hình trên Firewall Fortigate, thiết lập Static Route tới VLAN 50.
- Cấu hình trên CoreSwitch, thiết lập trunk trên các Port của CoreSwitch.
- Cấu hình trên CoreSwitch, thiết lập IP cho các Interface VLAN của CoreSwitch.
- Cấu hình trên CoreSwitch, thiết lập Default-Route tới Firewall Fortigate.
- Cấu hình trên AccessSwitch, thiết lập trunk trên các Port của AccessSwitch.
- Cấu hình trên AccessSwitch, khởi tạo VLAN 50 trên AccessSwitch.
- Cấu hình trên AccessSwitch, gán các Interface tương ứng vào VLAN 50.
Các bước triển khai:
Cấu hình trên Firewall Fortigate, quay số PPPoE trên WAN1 vs WAN2.
Cấu hình trên Firewall Fortigate, thiết lập Firewall Policy cho phép các Internal LAN truy cập Internet.
Cấu hình trên Firewall Fortigate, thiết lập Static Route tới VLAN 50.
Cấu hình trên CoreSwitch, thiết lập trunk trên các Port của CoreSwitch.
- Cấu hình trunk trên interface g2/0/1 và thiết lập tương tự trên các interface còn lại.
CoreSwitch# show running-config interface g2/0/1interface GigabitEthernet2/0/1switchport trunk encapsulation dot1qswitchport mode trunkspanning-tree portfast trunkendCoreSwitch#
CoreSwitch# show interfaces trunkPort Mode Encapsulation Status Native vlanGi2/0/1 on 802.1q trunking 1Gi2/0/3 on 802.1q trunking 1Port Vlans allowed on trunkGi2/0/1 1-4094Gi2/0/3 1-4094Port Vlans allowed and active in management domainGi2/0/1 1-3,10,20,30,35,50Gi2/0/3 1-3,10,20,30,35,50Port Vlans in spanning tree forwarding state and not prunedGi2/0/1 1-3,10,20,30,35,50Gi2/0/3 1-3,10,20,30,35,50CoreSwitch#
Cấu hình trên CoreSwitch, thiết lập IP cho các Interface VLAN của CoreSwitch.
CoreSwitch# show running-config interface vlan 1interface Vlan1ip address 192.168.0.2 255.255.255.224endCoreSwitch#
CoreSwitch# show running-config interface vlan 50interface Vlan50ip address 172.16.20.1 255.255.255.0endCoreSwitch#
Cấu hình trên CoreSwitch, thiết lập Default-Route tới Firewall Fortigate.
CoreSwitch# show running-config | include ip routeip route 0.0.0.0 0.0.0.0 192.168.0.1CoreSwitch#
Cấu hình trên AccessSwitch, thiết lập trunk trên các Port của AccessSwitch.
AS1# show running-config interface g0/2interface GigabitEthernet0/2switchport mode trunkspanning-tree portfast trunkendAS1#
AS1# show interfaces trunkPort Mode Encapsulation Status Native vlanGi0/2 on 802.1q trunking 1Port Vlans allowed on trunkGi0/2 1-4094Port Vlans allowed and active in management domainGi0/2 1-2,5-8,10,35,50Port Vlans in spanning tree forwarding state and not prunedGi0/2 1-2,5-8,10,35,50AS1#
Cấu hình trên AccessSwitch, khởi tạo VLAN 50 trên AccessSwitch.
AS1(config)# vlan 50
AS1# show vlanVLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/23, Fa0/24, Gi0/150 VLAN0050 active Fa0/3, Fa0/41002 fddi-default act/unsup1003 token-ring-default act/unsup1004 fddinet-default act/unsup1005 trnet-default act/unsupVLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------1 enet 100001 1500 - - - - - 0 02 enet 100002 1500 - - - - - 0 05 enet 100005 1500 - - - - - 0 06 enet 100006 1500 - - - - - 0 07 enet 100007 1500 - - - - - 0 08 enet 100008 1500 - - - - - 0 010 enet 100010 1500 - - - - - 0 035 enet 100035 1500 - - - - - 0 050 enet 100050 1500 - - - - - 0 01002 fddi 101002 1500 - - - - - 0 01003 tr 101003 1500 - - - - - 0 01004 fdnet 101004 1500 - - - ieee - 0 01005 trnet 101005 1500 - - - ibm - 0 0Remote SPAN VLANs------------------------------------------------------------------------------Primary Secondary Type Ports------- --------- ----------------- ------------------------------------------AS1#
Cấu hình trên AccessSwitch, gán các Interface tương ứng vào VLAN 50.
AS1# show running-config interface f0/3interface FastEthernet0/3switchport access vlan 50switchport mode accessspanning-tree portfastendAS1#
AS1# show running-config interface f0/4interface FastEthernet0/4switchport access vlan 50switchport mode accessspanning-tree portfastendAS1#
Tham gia Lớp Network Basic (Thứ 7 hàng tuần) để học tập và tìm kiếm việc làm Network phù hợp hơn. Mọi thắc mắc, các bạn có thể liên lạc với mình thông qua kênh Zalo (Jade Bùi) 076.877.2021.
0 comments