You are on page 1of 3

VTP

Server Mode - Sends VLAN info, does not update itself "automatically".
Client Mode - Receives VLAN info and updates itself.
Transparent Mode - Receive and send VLAN info, does not update itself.
3 layers
Core
Distribution
Access
1ROUTER=1 Local Network
Sub Interface
encap=translator
native=this is for VLAN 99 only, for the intermediaries to know their IP add
Subnet Name Address Mask Mask Assignable Range
VLAN 60 Students 192.168.0.0 255.255.255.128 192.168.0.1 - 19
2.168.0.126
VLAN 50 Faculty 192.168.0.128 255.255.255.128 192.168.0.129 - 192.168.
0.254
VLAN 40 HR 192.168.1.0 255.255.255.192 192.168.1.1 - 192.168.1.
62
VLAN 30 Accounting 192.168.1.64 255.255.255.192 192.168.1.65 - 192.168.1
.126
VLAN 20 Registrar 192.168.1.128 255.255.255.192 192.168.1.129 -
192.168.1.190
VLAN 10 Visitors 192.168.1.192 255.255.255.224 192.168.1.193 -
192.168.1.222
VLAN 99 Management 192.168.1.224 255.255.255.224 192.168.1.225 - 192.168.
1.254
SW1:
vtp mode server
vtp domain cisco
vtp password cisco
vlan 99
name Management
vlan 60
name Students
vlan 50
name Faculty
vlan 40
name HR
vlan 30
name Accounting
vlan 20
name Registrar
vlan 10
name Visitor
do wr
ip default-gateway 192.168.1.254
int vlan 99
ip add 192.168.1.225 255.255.255.224
do wr
int range f0/1-3
switchport mode trunk
switchport trunk native vlan 99
no shut
do wr
SW2:
vtp mode client
vtp domain cisco
vtp password cisco
ip default-gateway 192.168.1.254
int vlan 99
ip add 192.168.1.226 255.255.255.224
do wr
int range f0/1-3
switchport mode trunk
switchport trunk native vlan 99
no shut
do wr
int fa0/4
switchport access vlan 60
no shut
exit
int fa0/9
switchport acces vlan 50
no shut
exit
int fa0/12
switchport access vlan 40
no shut
do wr
SW3:
vtp mode client
vtp domain cisco
vtp password cisco
ip default-gateway 192.168.1.254
int vlan 99
ip add 192.168.1.227 255.255.255.224
do wr
int range f0/1-3
switchport mode trunk
switchport trunk native vlan 99
no shut
do wr
int fa0/14
switchport access vlan 30
no shut
exit
int fa0/15
switchport acces vlan 20
no shut
exit
int fa0/17
switchport access vlan 10
no shut
do wr
R1:
int f0/0
no shut
int fa0/0.99
encap dot1q 99 native
ip add 192.168.1.254 255.255.255.224
do wr
exit
int fa0/0.60
encap dot1q 60
ip add 192.168.0.126 255.255.255.128
exit
int fa0/0.50
encap dot1q 50
ip add 192.168.0.254 255.255.255.128
exit
int fa0/0.40
encap dot1q 40
ip add 192.168.1.62 255.255.255.192
exit
int fa0/0.30
encap dot1q 30
ip add 192.168.1.126 255.255.255.192
exit
int fa0/0.20
encap dot1q 20
ip add 192.168.1.190 255.255.255.192
exit
int fa0/0.10
encap dot1q 10
ip add 192.168.1.222 255.255.255.224
exit
do wr
int fa0/1
ip add 172.0.0.255 255.255.0.0
no shut
do wr
SERVER:
www.google.com
IP add: 172.0.0.1
SM: 255.255.0.0
Gateway: 172.0.0.255

You might also like