How to Set VLAN in Cisco Packet Tracer?

How to Set VLAN in Cisco Packet Tracer
Set VLAN in Cisco Packet Tracer – Before creating a network, it’s a good idea to first design the topology so that after the actual design, the results will be the same as what was planned. This is why there is such a thing as a Cisco Packet Tracer that you can rely on. This time, we will discuss VLANs and also how to set up VLANs in Cisco Packet Tracer. And why this VLAN is so important to be in the network topology.
First, we will discuss the VLAN itself, both in terms of understanding, how it works, its function, and also the types of VLANs that you can apply according to your needs.

Understanding VLANs

VLAN (Virtual Local Area Network), from the name alone, we have guessed that this is a virtual LAN that is not real. This makes it seem as if we are on a different network while still on the same switch.
For example, port numbers 1-5 with ports 6-10 can use different networks and cannot be connected to each other even on one switch, the port grouping can be assigned a VLAN identity.

How VLANs Work

VLAN divides one broadcast domain into many, so that in one switch can consist of several networks. VLAN is a feature that is only owned by manageable mode switches, for example the Cisco one that people commonly call “‘catalys”.
On a common or unmanageable switch, the port can only be used for connections between networks and does not support the VLAN feature.

VLAN Functions and Benefits

After understanding how VLANs work, then of course you will wonder what the functions and benefits of VLANs are specifically. Of course there are various functions followed also benefits which are very important for the traffic of a network topology. Among others are:

Security

Compared to LANs, VLANs have the advantage of reducing network traffic and collisions, as well as being more cost-effective. In addition, VLANs can also provide additional security. When devices are separated into multiple VLANs it is easier to prevent compromised computers from infecting the entire network.

Cost reduction

One of the advantages of VLANs is that multiple bridge domains can be shared logically on a single switch platform. VLANs will work well for small businesses, especially for businesses that are looking to expand their network size for future growth.

Better performance

VLANs provide a way to group devices within a LAN. This is why VLANs can improve network performance by separating large broadcast domains into smaller ones. If a device in one VLAN sends an ethernet broadcast frame, all devices in the VLAN receive the frame, but devices in the other VLAN do not.

Shrink broadcast domain

VLANs reduce the need to have routers placed on the network to accommodate broadcast traffic. Packet flooding is limited to the switch ports belonging to the VLAN. Limiting broadcast domains on the network can significantly reduce traffic.

IT staff efficiency improvement

For IT staff, of course, VLANs are able to give them more free time than having to always monitor traffic from the traffic of a network topology that they monitor. IT staff can more freely have other time that can be used to organize various other work.

Simple project and application management

VLANs have separate functions, making it easier to manage a project or work with a specific application. An example of such an application is an e-learning development platform for universities.

Types of VLANs

VLAN also has various types, this is why it is explained from the start if choosing a VLAN can be tailored to your needs.
For the type of VLAN in general there are 5, namely; Management VLAN, data VLAN, Voice LAN, Default VLAN, and Native VLAN.
  1. VLAN Management
    Best practice is to set up separate VLANs for management traffic such as monitoring, system logging, SNMP, and other potentially sensitive management tasks. In addition to the security benefits, it ensures that bandwidth for management will be available even when the user is experiencing high traffic.
  2. VLAN data
    Also known as user VLANs, data VLANs are intended for user-generated data only. How you group your data VLANs (such as by department or workgroup, for example) will depend on your organizational structure and business processes. Before you jump right into configuring your data VLANs, take a look at the entire landscape of possible VLANs, and take the time to assess the logic of how to best segment your users.
  3. Voice VLAN
    If your organization uses voice over IP (VoIP), you will really need a separate voice VLAN. This can save bandwidth for other applications and ensure VoIP quality.
  4. Default VLANs
    It can refer to one of two types. Typically, the default VLAN refers to the one that all ports on the device have at power-on. On most switches, this default is VLAN 1 and must be changed for security reasons. Some network managers may use the term “default VLAN” to refer to the VLAN assigned to all ports when not in use.
  5. Native VLAN
    Native VLANs are VLANs where unsigned traffic will be placed when received on trunk ports. This allows your VLAN to support legacy devices or devices that don’t flag traffic such as multiple wireless access points and multiple network-connected devices.

What is Cisco Packet Tracer?

Before we discuss how to set VLAN in Cisco packet tracer, we must know the meaning of packet tracer itself.
Packet tracer is software designed as a simulator of Cisco network tools that is used as a learning and training medium, and is also often used as a computer network research simulation.
This program created by Cisco Systems is provided free of charge to students, faculty, and alumni who have participated in the Cisco Cisco Networking Academy.
The main purpose of the packet tracer is to provide facilities for students to be able to know what the principles of computer networks are, build skills in the field of Cisco network tools and also know how to set up VLAN in Cisco packet tracer.

Cisco Packet Tracer Functions

What is the function of cisco packer tracer? Among others:
  1. This packet tracer can be used to configure and build networks with an easy-to-use drag and drop interface.
  2. The second function is that you can practice new skills that are used to complete projects in real life.
  3. Can support CCNA routing protocol technology, security, as well as other critical IT resources.
  4. Provides an easy-to-learn interface similar to a real-world network with comprehensive feedback.
  5. Can be used to monitor packet transfers, data transfers and more in real time.
  6. There are community features that are easy to learn, share ideas, learn and practice from other instructors.
  7. can collaborate with multiple users by offering a competitive learning experience.

How to Set VLAN in Cisco Packet Tracer

It’s time we will discuss how to set VLAN in Cisco Packet Tracer which will be explained below:

Preparation of VLAN Configuration for VLAN To Set in Cisco Packet Tracer

First of all we have to install Cisco Packet Tracer Mobile. To login you can use guest for the first time without having to use a login account first. Then you can create a topology as shown below:
The topology above is the simplest topology that you can develop yourself according to your creations.

Configure IP Address on each PC

First we have to configure the IP address on PC 1 by clicking PC > desktop > IPv4 configuration > input the IP address for example 192.168.1.2 subnet 255.255.255.0 > apply changes > close
You can configure each client PC or you can follow the IP configuration as below:
  • PC 1 : ip address 192.168.1.2 subnet 255.255.255.0
  • PC 2 : ip address 192.168.1.3 subnet 255.255.255.0
  • PC 3 : ip address 192.168.1.4 subnet 255.255.255.0
  • PC 4 : ip address 192.168.1.5 subnet 255.255.255.0

If we have set up each client PC then we need to set the switch so that it can be VLAN.

Configuring VLAN To Set VLAN in Cisco Packet Tracer

Select the switch then select the CLI and settings with the command below:
Give each VLAN a name

Switch>en #enable

Switch#conf t #untuk memulai konfiggurasi

Switch(config)#vlan 2

Switch(config-vlan)#name pojokstudy1

Switch(config-vlan)#ex #exit

Switch(config)#vlan 3

Switch(config-vlan)#name pojokstudy2

Switch(config-vlan)#ex

To prevent VLAN 2 and VLAN 3 from being connected to each other, the network that is connected is only 1 VLAN and not to other VLANs, still on the CLI switch and continue the following CLI command:
VLAN 1

Switch (config)#interface f0/1 #untuk config f0/1 (pc 1) agar masuk ke vlan 2

Switch (config-if)#switchport mode access

Switch (config-if)#switchport access vlan 2

Switch (config-if)#ex

Switch (config)#interface f20/2 #untuk menambahkan ke vlan 2

Switch (config-if)#switchport mode access

Switch (config-if)#switchport access vlan 2

Switch (config-if)#ex

 

VLAN 2

 Switch (config)#interface f0/3 #untuk config fa0/3 (pc 3) agar masuk ke vlan 3

Switch (config-if)#switchport mode access

Switch (config-if)#switchport access vlan 3

Switch (config-if)#ex

Switch (config)#interface f0/4 #untuk menambahkan ke vlan 3

Switch (config-if)#switchport mode access

Switch (config-if)#switchport access vlan 3

Switch (config-if)#ex

 

Command to Display a list of VLANs that have been created based on their status and active ports.

Switch (config)#do show vlan

VLAN Ping Test Results VLAN To Set in Cisco Packet Tracer

To test the segmented VLAN you can do a ping test from PC1 to PC2 from PC 3 to PC 4.
The picture above shows the results of the ping test between PC 1 to PC 2 which can communicate well in one VLAN 2.
In the second ping test above, it shows that PC 1 to PC 3 occurs RTO or request time out, which means different VLAN segments that are already running well.

Conclusion

Those are some reviews about the Cisco packet tracer and also How to Set VLAN in Cisco Packet Tracer above.
We can conclude that How to Set VLANs in Cisco Packet Tracer can make it easier for us to learn about network building principles, especially creating VLANs.
Netdata as an IT company offers reliable enterprise-scale network creation services in Indonesia.
In addition to network creation services, Netdata also provides complete and original Cisco hardware such as switches, routers, and many more.

Loading

Leave a Reply

Your email address will not be published. Required fields are marked *

Semua operasional PT. Network Data Sistem akan menggunakan domain nds.id per tanggal 8 Mei 2019. Semua informasi/promosi dalam bentuk apapun selain menggunakan domain nds.id bukan tanggung jawab PT. Network Data Sistem Dismiss