VLAN VLAN l VLANIP address l l Switch

  • Slides: 41
Download presentation

VLAN

VLAN

VLAN

VLAN

實驗方法 l 網路拓樸:如下圖,其中VLAN分配和IP address規劃如下: l l Switch 1 -port 23互為Router 1 -f 0/0 主幹(trunk)

實驗方法 l 網路拓樸:如下圖,其中VLAN分配和IP address規劃如下: l l Switch 1 -port 23互為Router 1 -f 0/0 主幹(trunk) Switch 1 -port 24互為Switch 2 -port 24 主幹 Switch 3 -port 23互為Router 2 -f 0/0 主幹 Switch 3 -port 24互為Switch 4 -port 24 主幹

左邊網路LAN設定 l l LAN 1成員:名稱Sales,Switch 1 -port 1, port 68,IP address範圍192. 168. 11/24 LAN

左邊網路LAN設定 l l LAN 1成員:名稱Sales,Switch 1 -port 1, port 68,IP address範圍192. 168. 11/24 LAN 3成員:名稱Admin,Switch 1 -port 25, Switch 2 -port 1,IP address範圍192. 168. 13/24 LAN 8成員:名稱Engineer,Switch 1 -port 8 -10, Switch 2 -port 2 -10,IP address範圍 192. 168. 15/24 未指定的port均為LAN 1成員

右邊網路LAN設定 l l l LAN 1成員:名稱Account,Switch 1 -port 15, Switch 2 -port 6 -11,IP

右邊網路LAN設定 l l l LAN 1成員:名稱Account,Switch 1 -port 15, Switch 2 -port 6 -11,IP address範圍 192. 168. 12/24 LAN 2成員:名稱Finance,Switch 1 -port 610, Switch 2 -port 1 -5,IP address範圍 192. 168. 14/24 未指定的port均為LAN 1成員

PC設定 PC 2:IP address: 192. 168. 11. 1/24,Gateway: 192. 168. 11. 254 PC 3:IP

PC設定 PC 2:IP address: 192. 168. 11. 1/24,Gateway: 192. 168. 11. 254 PC 3:IP address: 192. 168. 13. 1/24,Gateway: 192. 168. 13. 254 PC 4:IP address: 192. 168. 13. 2/24,Gateway: 192. 168. 13. 254 PC 5:IP address: 192. 168. 1/24,Gateway: 192. 168. 18. 254 PC 6:IP address: 192. 168. 12. 1/24,Gateway: 192. 168. 12. 254 PC 7:IP address: 192. 168. 12. 2/24,Gateway: 192. 168. 12. 254 PC 8:IP address: 192. 168. 14. 1/24,Gateway: 192. 168. 14. 254 PC 9:IP address: 192. 168. 14. 2/24,Gateway: 192. 168. 14. 254

設定VLAN

設定VLAN

主幹鏈路(trunk link)

主幹鏈路(trunk link)

l Router 2組態設定

l Router 2組態設定

Router 3組態設定

Router 3組態設定

Switch 3組態設定

Switch 3組態設定

PC 2和PC 6(192. 168. 12. 1)tracert

PC 2和PC 6(192. 168. 12. 1)tracert

VTP domain l l VTP domain一定要設成相同的domain才可以互相分享 資訊。本實驗中左邊網路LAN的VTP domain設為 Taipei,Switch 1為伺服器,右邊網路LAN的VTP domain設為Shinchu,Switch 3為伺服器,並可應用『 show vtp

VTP domain l l VTP domain一定要設成相同的domain才可以互相分享 資訊。本實驗中左邊網路LAN的VTP domain設為 Taipei,Switch 1為伺服器,右邊網路LAN的VTP domain設為Shinchu,Switch 3為伺服器,並可應用『 show vtp status』查看VTP的狀態。 VTP的參數 l l l Maximum VLANs supported locally:支援的VLAN最大數 Number of existing VLANs:目前有的VLAN數 VTP Operating Mode:VTP運作的模式

Switch 1 VTP組態設定

Switch 1 VTP組態設定

Switch 2 VTP組態設定

Switch 2 VTP組態設定

Switch 2 VTP組態設定

Switch 2 VTP組態設定

Switch 3 VTP組態設定

Switch 3 VTP組態設定

Switch 4 VTP組態設定

Switch 4 VTP組態設定

PC 2和PC 4(192. 168. 13. 2)、PC 2和 PC 8(192. 168. 14. 1)tracert

PC 2和PC 4(192. 168. 13. 2)、PC 2和 PC 8(192. 168. 14. 1)tracert