思科VTP网络经典案例

VTP(Vlan Trunk Protocols) NETWORK

Goal: PCS communication each other via VTP network. Network map as below:
Environment:Cisco Packet Tracer

Workstation

Set static IP for workstaions

PC0: 192.168.1.2
     255.255.255.0
     192.168.1.1
PC1: 192.168.4.2
     255.255.255.0
     192.168.4.1
PC2: 192.168.3.2
     255.255.255.0
     192.168.3.1
PC3: 192.168.2.2
     255.255.255.0
     192.168.2.1

Connection

VTP SERVER Gig 0/1----->VTP CLIENT1 Fa 0/1
VTP SERVER Gig 0/2----->VTP CLIENT2 Fa 0/1
VTP CLIENT1 Fa 0/2----->VTP CLIENT4 Fa 0/2
VTP CLIENT1 Fa 0/24----->PC0
VTP CLIENT2 Fa 0/2----->VTP CLIENT3 Fa 0/2
VTP CLIENT2 Fa 0/24----->PC3
VTP CLIENT4 Fa 0/24----->PC1
VTP CLIENT3 Fa 0/24----->PC2

VTP SERVER

Create vlans

Set ip for vlans

Set the switchport (Connect with next switch) mode to trunk

Set VTP mode to server

Start Route function

VTP Clients

VTP Client 1

Set VTP mode to client

Set the switchport (Connect with next switch) mode to trunk

set the Switchport (connection with workstation) access to vlan2

VTP Client 2

VTP Client 3

VTP Client 4

Set VTP mode to client

Set the switchport (Connect with next switch) mode to trunk

Set the switchport (connection with workstation) access vlan 5

TEST

PCS Ping each other, Result:PASS

博主个人网站www.davis-wiki.com

你可能感兴趣的:(Cisco,VLAN,trunk,思科)