2013年9月28日 星期六

利用VLAN設定, 把PC1和PC3能通, PC2和PC4能通
但PC1不能連到PC3
作業繳交方式:
1. 繳交部落格網址, 內含:
a. 題目:
b. 網路架構擷圖:

C. 指令(依照不同設備, 分開寫):
PC0 :
IP Address 192.168.0.1
mask           255.255.255.0
gateway      192.168.0.254

PC1:
IP Address 192.168.1.1
mask           255.255.255.0
gateway      192.168.1.254PC2:IP Address 192.168.0.2
mask           255.255.255.0
gateway      192.168.0.254PC3:IP Address 192.168.1.2
mask           255.255.255.0
gateway      192.168.1.254

Switch1:
interface fastEthernet 0/2
switchport mode access
switchport access vlan 11
Switch1:
interface fastEthernet 0/3
switchport mode access
switchport access vlan 12

Switch2:
interface fastEthernet 0/2
switchport mode access
switchport access vlan 11

Switch2:
interface fastEthernet 0/3
switchport mode access
switchport access vlan 12

Router0:
interface fastEtherent 0/0
no shut


interface FastEtherent 0/0.10
 encapsulation dot1Q 11
IP Address 192.168.0.254 255.255.255.0

interface FastEthernet 0/0.20
 encapsulation dot1Q12
IP address 192.168.1.254 255.255.255.0


Switch0:
Interface FastEthernet 0/1
Switchport mode Trunk

Switchport mode Trunk
Switchport mode Trunk

d. 其它參考文件:http://showipprotocols-tw.blogspot.tw/2009/03/lan-vlan-cna-03-007.html

沒有留言:

張貼留言