Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Network(VLAN)
Compiled By : MISS KIRAN AYUB
VLAN -Introduction
VLAN -Introduction
VLANs logically segment switched networks
based on the functions, project teams, or
applications of the organization regardless of
the physical location or connections to the
network.
All workstations and servers used by a
particular workgroup share the same VLAN,
regardless of the physical connection or
location.
Configuration or reconfiguration of VLANs is
done through software.
VLAN -Introduction
VLAN operation
Benefits of VLANs
Types Of VLAN
Dynamic VLAN:
Dynamic VLAN works with MAC address
Administrator adds only MAC address in
VLAN
By using VMPS(VLAN management policy
server)dynamic VLAN will work
VMPS contains MAC Address and respective
VLAN number,
10
11
Functions of VLAN
It is switching technology
Logically group user
Segmenting Broadcast domain
Access control
VLAN is a logical broadcast domain
QOS(quality of services)=IP Phone
Ease of management Troubleshooting
12
Types Of Links/Ports
1 Access links
2 Trunk links
3 Hybird link
13
IEEE 802.1Q
Open standard
14
Vlan -Tagging
LAN emulation (LANE) is a way to make an Asynchronous Transfer
Mode (ATM) network simulate an Ethernet network.
There is no tagging in LANE, but the virtual connection used implies
a VLAN ID.
As packets are received by the switch from any attached end-station
device, a unique packet identifier is added within each header.
This header information designates the VLAN membership of each
packet.
The packet is then forwarded to the appropriate switches or routers
based on the VLAN identifier and MAC address.
Upon reaching the destination node the VLAN ID is removed from the
packet by the adjacent switch and forwarded to the attached device.
Packet tagging provides a mechanism for controlling the flow of
broadcasts and applications while not interfering with the network
and applications.
15
SM
4 Bytes Tag
3 Bit PRI
Ethernet Frame
FCS
VLAN
16
OLD METHOD
Switch>enable
Switch#conf t
Switch(config)#vlan <ID>
Switch(config-vlan)#name <
vlan name>
Switch>enable
Switch#vlan database
Switch(vlan)#vlan <ID> name <
vlan name>
17
Example:Configuring static
VLANs
Switch>enable
Switch#conf t
Switch(config)#vlan 20
Switch(config-vlan)#name IT
18
Switch>enable
Switch#vlan database
% Warning: It is recommended to configure
VLAN from config mode,as VLAN database mode
is being deprecated. Please consult user
documentation for configuring VTP/VLAN in
config mode.
Switch(vlan)#vlan 30 name HR
VLAN 30 added:
Name: HR
19
20
Switch#conf t
Enter configuration commands, one per line.
End with CNTL/Z.
Switch(config)#
Switch(config)#int range fa 0/1-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan
20
20 is vlan ID/number
21
22
Switch>en
Switch#conf t
Switch(config)#int fa0/5
Switch(config-if)#switchport mode trunk
Fa0/5 (fastEthernet 0/5 is port number)
23
Router On A Stick
After assigning the IP add to the PCs
Step 1:
Step 2:
Make a Trunk Link
Step 3:
click on the Router and write the following
commands
24
25
26
Router(config)#int fa0/0.2
Router(config-subif)#encapsulation dot1q 30
Router(config-subif)#ip address 192.168.2.1
255.255.255.0
27