How to Configure VLAN on Layer 2 Switch in GNS3 | L2 Switch VLAN Routing | SYSNETTECH Solutions

Subscribers:
12,800
Published on ● Video Link: https://www.youtube.com/watch?v=NjaVrYGSshc



Category:
Guide
Duration: 22:59
14,034 views
110


This video shows you the steps to create VLANs on Cisco Layer 2 Switches using the GNS3 network simulator program, as well as the steps of configuring Inter-VLAN routing to communicate computers on two different VLANs.

✅ S U B S C R I B E ► http://goo.gl/8d0iG9
✅ Article ► https://www.sysnettechsolutions.com/en/configure-vlan-in-layer-2-switch/

To create and configure #VLANs:

Step 1: First, install the #GNS3 program on your computer and then add the L2 Switch on it.

Step 2: Add one Cisco Router, two L2 Switches, and three Virtual PCs to the workspace.

Step 3: Create the network topology you see in our video tutorial in your workspace and connect the VPCS to SW1 and connect SW1 to the Router.

Step 4: Connect your SW2 device to SW1 only.

Step 5: Before creating VLAN5 and VLAN10 on your network topology, determine their IP Subnet addresses and write them down in the workspace.

Step 6: Select which VPCS you want to add to the VLANs we will create and write them down. Thus, you can better understand the working logic of virtual networks.

Step 7: Now configure the TCP/IP settings of the VPCS's respectively and assign one IP address. Do not forget to write down the IP address of the default gateway while doing this.

For example; ip address 192.168.5.5/24 192.168.5.1

Step 8: You can use the show ip command to view the settings you have made on Virtual PCs. Also, do not forget to save the settings with the save command because if you restart them, all the settings you have made will be lost.

Step 9: After configuring the VPCS, create a new VLAN with the vlan 5 and vlan 10 commands at the CLI command prompt of L2 SW1. Name the network with the name command in config mode of each virtual network you create.

Step 10: You can control the VLANs you created with the show vlan command in the enable mode of the #switch. The point you need to pay attention to here is to add FastEthernet or GigabitEthernet interfaces to the Ports section of the output.

Step 11: Now, to add the computers to VLANs, execute the switchport mode access and switchport access vlan (vlan number) commands in the config mode of the corresponding ethernet interface in the CLI of the Switch.

Step 12: Since SW2 added to the network topology is connected to the Gig0 / 3 interface of SW1, this port must be in Trunk mode to carry VLAN information. To do this, execute the switchport mode trunk and switchport trunk encapsulation dot1q commands on the respective interface.

Step 13: You also need to configure SW1's interface connected to the Router as Trunk. It is enough to execute switchport mode trunk and switchport trunk encapsulation dot1q commands in config mode of the relevant port.

Step 14: You can use the show interfaces switchport command in enable mode to control information such as VLAN information, encapsulation type, etc. about interfaces on the switch.

Step 15: Now create VLAN5 in SW2 and assign the Gig0/1 interface to which the VPCS is connected to VLAN5.

Step 16: Since SW2 is connected to SW1, configure the Gig0/0 interface as trunking so that it can receive VLAN information.

Step 17: Ping PC1 and PC2 through PC3 in SW2 and test the network connection. PC3 will not be able to ping PC2 because both computers are on a different subnet and no routing has been configured on the Router.

Step 18: Now, at the CLI command prompt of the Cisco Router, go to the interface configuration with the interface fastethernet0/0 command and open the port with the no shutdown command.

Step 19: After opening the port, exit the relevant interface with exit and execute the interface fastethernet 0/0. The VLAN-Number value here is the number of the virtual networks you created. This value is usually assigned according to VLAN numbers to avoid complexity in network design.

Step 20: After executing the subinterface command, execute the encapsulation dot1q (VLAN ID) command in the config subif mode of the interface. Then assign an IP address according to VLAN5. Likewise, execute these commands for VLAN10.

Step 21: So far everything is working perfectly and smoothly. PC3 was not pinging PC2, try again now and check the result.

Step 22: NOTE: Since there is only one cable connection between Router and Switch, VLAN Routing on a stick is configured in this topology.

Step 23: Do not forget to subscribe to our YouTube channel for more videos on Cisco networking training with GNS3!


───────────────RELATED VIDEOS───────────────

➊ How to Configure RIPv1
https://www.youtube.com/watch?v=839dk8lYhFU

➋ How to Configure RIPv2
https://www.youtube.com/watch?v=1tsGWuCtEIw

➌ How to Configure Cloud
https://www.youtube.com/watch?v=DVokiwWzlxk

➍ How to Configure EIGRP
https://www.youtube.com/watch?v=rJC3UERvdnQ


───────────────FOLLOW US───────────────────

✔ Facebook
https://www.facebook.com/SysnettechSolutions/

✔ Twitter
https://twitter.com/SysnettechS/

✔ LinkedIn
https://linkedin.com/in/tolqabaqci/

███████████████████████████████████████████




Other Videos By SYSNETTECH Solutions


2017-05-31How to Increase Hard Disk Space in VMware Workstation 15/14/12 | SYSNETTECH Solutions
2017-05-29How to Add Cisco Router / Switch IOS Image to GNS3 VM | SYSNETTECH Solutions
2017-05-29How to Install GNS3 VM on VMware Workstation | GNS3 VM Integration | SYSNETTECH Solutions
2017-05-28How to Configure Port Security in Cisco Packet Tracer | SYSNETTECH Solutions
2017-05-27How to Configure Port Security on Cisco Switch in GNS3 | SYSNETTECH Solutions
2017-05-25How to Install Cisco Packet Tracer 7 on Ubuntu 17.04 | SYSNETTECH Solutions
2017-05-24How to Install GNS3 2.0 on Ubuntu 17.04 | SYSNETTECH Solutions
2017-05-22How to Install Ubuntu 17.04 on VMware Workstation 12 | SYSNETTECH Solutions
2017-05-22How to Duplicate Virtual Machine in VMware Workstation using Sysprep | SYSNETTECH Solutions
2017-05-16How to Install GNS3 2.0.1 | SYSNETTECH Solutions
2017-05-15How to Configure VLAN on Layer 2 Switch in GNS3 | L2 Switch VLAN Routing | SYSNETTECH Solutions
2017-05-14How to Clone Virtual Machine in VMware Pro | SYSNETTECH Solutions
2017-05-12How to Configure Trunk Port in Cisco Packet Tracer | 802.1Q and Trunking | SYSNETTECH Solutions
2017-05-11What is Access Port in Switch? | Cisco Access Port Configuration | SYSNETTECHSolutions
2017-05-10What is Native Vlan and How Does it Work? | Native Vlan (Vlan1) in Switch | SYSNETTECH Solutions
2017-05-02How to Configure PAT (NAT Overload) on Cisco Router in Cisco Packet Tracer | SYSNETTECH Solutions
2017-05-01How to Configure Dynamic NAT on Cisco Router in Cisco Packet Tracer | SYSNETTECH Solutions
2017-05-01How to Configure Static NAT on Cisco Router in Cisco Packet Tracer | SYSNETTECH Solutions
2017-04-28How to Configure Inter VLAN Routing on Cisco Switch in Cisco Packet Tracer | SYSNETTECH Solutions
2017-04-27How to Create and Configure VLAN on Cisco Switch in Cisco Packet Tracer | SYSNETTECH Solutions
2017-04-26How to Configure SSH on Cisco Router in Cisco Packet Tracer | SYSNETTECH Solutions



Tags:
How to Configure VLAN on Layer 2 Switch in GNS3
Layer 2 Switch in GNS3
L2 Switch VLAN Routing
Configure VLAN on Layer 2 Switch in GNS3
Creating VLAN in L2 Switch
Inter-VLAN Routing in Layer 2 Switch
L2 Switch Trunking
Layer 2 Switch VLAN Configuration
Layer 2 Switching
Creating VLAN
GNS3 VLAN
GNS3 Switch VLAN
VLAN Routing
Cisco Networking
Cisco
Cisco Switch
Cisco Layer 2 Switch
L2 Switch
L2
Routing