VLAN creation
on cisco packet tracer.
1. We will discuss in this lesson about VLAN. What is its purpose and why do we create it?
2. VLAN stands for virtual local area
network that means we can divide resources virtually in different type of
tasks. For example, in a company there are three department HR, ADMIN and IT department.
All resources connected to each other in single LAN by physically, but we can
divide them into three VLANs which will be separately for each department.
3. Let’s understand with practical way.
In this below picture we have taken one router, one switch and 6 PCs. We will
assign each two PC in different VLANs.
5. As you can see on above picture, I
have put IP for PC0 192.168.1.10 and default gateway for this 192.168.1.1 Its
mean default gateway will be 192.168.1.1, 192.168.2.1 and 192.168.3.1 for each
Department HR, ADMIN and IT. IPs will be next network host like 192.168.1.2
192.168.1.3 and so on ….
6. In next step we will configure VLAN
on switch, Kindly follow below configuration
Switch>en
Switch#config t
Switch(config)#vlan 10
Switch(config-vlan)#name HR
Switch(config-vlan)#exit
Switch(config)#vlan 11
Switch(config-vlan)#name ADMIN
Switch(config-vlan)#exit
Switch(config)#vlan 12
Switch(config-vlan)#name IT
Switch(config-vlan)#exit
Switch(config)#
7 7. Further step we need to assign switch
ports as access or trunk. So ports F0/1 to F0/6 will be access because they
will carry single VLAN data and port F0/7 will be trunk because it carries all
VLAN data. Follow below configuration to assign ports to particular VLAN.
Switch>
Switch>en
Switch#config t
Switch(config)#int range f0/1-2
Switch(config-if-range)#switchport
mode access
Switch(config-if-range)#switchport
access vlan 10
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#int range f0/3-4
Switch(config-if-range)#switchport
mode access
Switch(config-if-range)#switchport
access vlan 11
Switch(config-if-range)#exit
Switch(config)#int range f0/5-6
Switch(config-if-range)#switchport
mode access
Switch(config-if-range)#switchport access vlan 12
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#int f0/7
Switch(config-if)#switchport mode
trunk
Switch(config-if)#switchport trunk
allowed vlan 10
Switch(config-if)#switchport trunk
allowed add vlan 11
Switch(config-if)#switchport trunk
allowed add vlan 12
Switch(config-if)#
8. Go to router and need to configure
below for further steps.
Router>en
Router#config t
Router(config)#int f0/0
Router(config-if)#ip address
192.168.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int f0/0.1
Router(config-subif)#encapsulation dot1Q 11
Router(config-subif)#ip address
192.168.2.1 255.255.255.0
Router(config-subif)#no shut
Router(config-subif)#exit
Router(config)#int f0/0.2
Router(config-subif)#encapsulation
dot1Q 12
Router(config-subif)#ip address 192.168.3.1
255.255.255.0
Router(config-subif)#no shut
Router(config-subif)#
9.
Now you can try ICMP packets can be sent. As below in
the picture.
10. Kindly
put comment on comment box below for suggestion or concern.
|
---|

Hi all, welcome to this blog—your space to turn networking knowledge into practical skills. Here, we learn, collaborate, and support each other in the evolving world of networks. Ask questions, share insights, and lend expertise to those in need. Together, we build a vibrant, helpful community where every voice matters. Let’s grow and discover together—your contributions make a difference!
VLAN creation on cisco packet tracer.
Subscribe to:
Post Comments (Atom)
Upgrade Cisco 9200 switch step by step
Here is a step-by-step guide to upgrading a Cisco Catalyst 9200 switch in Install Mode: Clean up inactive installations : Use the command i...

-
How to create web server on packet tracer 1. In this lesson we will learn about how to create first web page on cisco packet tracer tha...
-
Configuration of mail server on cisco packet tracer 1. In this tutorial we will learn how to set mail server on cisco packet trac...
-
How to set IOT(AC and Solar panel) on cisco packet tracer 1. In this lesson we will learn about adding IOT devices cisco packet tr...
Happily recommending this 300-625 study guide from Crack4sure to all students.
ReplyDelete网址导航是一个集合较多网址,并按照一定条件进行分类的一种网址站。网址导航可谓是互联网最早的网站形式之一。把互联网上分散的资源融为有机整体,实现资源的全面共享和有机协作,使人们能够透明地使用资源的整体能力并按需获取信息。88152网址大全是一个简单实用的网址导航网站,也是专业的网站分类目录,免费收录国内外各行各业正规优质的网站。详情请浏览 http://www.88152.com 网址大全
ReplyDeleteI'm the owner of this website. I'll provide the service of all types of crack software for PC. You can also download it.
ReplyDeleteI read this article! I hope you will continue to have such articles to share with everyone! thank you! You can Visit my website
free4soft.com
Cisco Packet Tracer Crack
Im Very Impressed by Your blogI love the way you write this blog. Because it gave me some new knowladge~~
ReplyDeleteIf u want to Download Latest and Full verion of this software link is Below!
Virtual DJ Pro Crack
Windows Movie Maker Crack
Cisco Packet Tracer Crack
Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! agence web Aix-en-Provence
ReplyDelete