{"id":1114,"date":"2023-11-15T21:20:36","date_gmt":"2023-11-15T21:20:36","guid":{"rendered":"https:\/\/matob.web.id\/random\/?p=1114"},"modified":"2023-12-19T02:55:39","modified_gmt":"2023-12-19T02:55:39","slug":"how-to-configure-vlans-in-cisco-packet-tracer-with-one-switch","status":"publish","type":"post","link":"https:\/\/matob.web.id\/random\/how-to-configure-vlans-in-cisco-packet-tracer-with-one-switch\/","title":{"rendered":"How to Configure VLANs in Cisco Packet Tracer With One Switch"},"content":{"rendered":"<p>As in the previous material about\u00a0VLANs\u00a0, that one way that can be used to learn the concept of VLANs in computer networks is to use applications.\u00a0One application that we can use to learn how to configure vlan is to use the cisco package tracer.<\/p>\n<p>In the Cisco package tracer simulation application, we can create a VLAN simulator network. Even though it&#8217;s only a simulation, the utilization will be the same when we configure the VLAN with the actual tool.<\/p>\n<p>One example of a VLAN configuration in this Cisco package tracer is to use a single switch. The point is that we do this VLAN configuration only on one switch, which means that the computer network that is formed is centralized on one switch.<\/p>\n<p>The first step before configuring the VLAN switch in Cisco Package Tracer is that we first create a topology and planning table. The goal is to make it easier and more focused in completing a VLAN configuration in Cisco package tracer.<\/p>\n<p>The following is a topology and planning table that we will create in implementing the VLAN configuration on the switch in the Cisco package tracer.<\/p>\n<figure id=\"attachment_1115\" aria-describedby=\"caption-attachment-1115\" style=\"width: 320px\" class=\"wp-caption aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-1115 size-full\" src=\"https:\/\/matob.web.id\/random\/wp-content\/uploads\/sites\/2\/2021\/09\/VLAN-topology-in-Cisco-Packet-Tracer.jpg\" alt=\"VLAN topology in Cisco Packet Tracer\" width=\"320\" height=\"239\" title=\"\"><figcaption id=\"caption-attachment-1115\" class=\"wp-caption-text\">VLAN topology in Cisco Packet Tracer<\/figcaption><\/figure>\n<div><span lang=\"EN-US\">Description of the vlan configuration topology image on the switch<\/span><\/div>\n<ul type=\"disc\">\n<li><span lang=\"EN-US\">VLAN 10 consists of ports 1, 2, 3, 4 and 5<\/span><\/li>\n<li><span lang=\"EN-US\">VLAN 20 consists of ports 6, 7, 8, 9 and 10<\/span><\/li>\n<li><span lang=\"EN-US\">The type of cable used from PC to Switch is Straight<\/span><\/li>\n<li><span lang=\"EN-US\">Look at the planning table below<\/span><\/li>\n<\/ul>\n<figure id=\"attachment_1116\" aria-describedby=\"caption-attachment-1116\" style=\"width: 320px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"wp-image-1116 size-full\" src=\"https:\/\/matob.web.id\/random\/wp-content\/uploads\/sites\/2\/2021\/09\/Job-planning-table.jpg\" alt=\"\" width=\"320\" height=\"128\" title=\"\"><figcaption id=\"caption-attachment-1116\" class=\"wp-caption-text\">Job planning table<\/figcaption><\/figure>\n<h2>Steps to Create a Vlan Switch on Cisco<\/h2>\n<p>For the steps to configure the vlan switch on the cisco package tracer, we use the CLI language. So the vlan configuration that we do uses the command script. The steps for configuring a VLAN on a <a href=\"https:\/\/g.co\/kgs\/Sydi7n\">Cisco packet tracer<\/a> with one switch are as follows:<\/p>\n<p><span style=\"color: #ff6600;\"><strong>First<\/strong><\/span><\/p>\n<p>Click on the\u00a0<strong>Switch,<\/strong> go to the\u00a0<strong>CLI Tab,<\/strong> type the command below to see the condition of the VLAN on the switch (those in bold are typed).<\/p>\n<blockquote><p><code>Switch&gt;enable<br \/>\nSwitch#show vlan<\/code><\/p>\n<p>VLAN Name Status Ports\u00a0\u2014- \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2013 \u2014\u2014\u2014 \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014-\u00a01 default active Fa0\/1, Fa0\/2, Fa0\/3, Fa0\/4\u00a0 Fa0 \/5, Fa0\/6, Fa0\/7, Fa0\/8,\u00a0 Fa0\/9, Fa0\/10, Fa0\/11, Fa0\/12,\u00a0 Fa0\/13, Fa0\/14, Fa0\/15, Fa0\/16,\u00a0 Fa0\/17, Fa0\/ 18, Fa0\/19, Fa0\/20\u00a0 Fa0\/21, Fa0\/22, Fa0\/23, Fa0\/24\u00a01002 fddi-default act\/unsup 1003 token-ring-default act\/unsup 1004 fddinet-default act\/unsup<\/p>\n<p>1005 trnet-default act\/unsup VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2\u00a0\u2014- \u2014\u2013 \u2014\u2014\u2014- \u2014\u2013 \u2014\u2014 \u2014\u2014 \u2014\u2014\u2013 \u2014- \u2014\u2014\u2013 \u2014\u2014 \u2014\u2014\u00a01 enet 100001 1500 \u2013 \u2013 \u2013 \u2013 \u2013 0 0\u00a01002 fddi 101002 1500 \u2013 \u2013 \u2013 \u2013 0 0 1003 tr 101003 1500 \u2013 \u2013 \u2013 \u2013 \u2013 0 0 1004 fdnet 101004 1500 \u2013 \u2013 \u2013 ieee \u2013 0 0 1005 trnet 101005 1500 \u2013 \u2013 \u2013 ibm \u2013 0 0 Remote SPAN VLANs<\/p>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p><\/blockquote>\n<p><span style=\"color: #ff6600;\"><b><span lang=\"EN-US\">Second<\/span><\/b><\/span><\/p>\n<p><span lang=\"EN-US\">Continue to create\u00a0<b>VLAN 10<\/b>\u00a0with the name\u00a0<b>Lab1<\/b>\u00a0and\u00a0<b>VLAN 20<\/b>\u00a0with the name\u00a0<b>Lab2<\/b><\/span><\/p>\n<blockquote><p><span lang=\"EN-US\">Switch#\u00a0<b>Configure\u00a0<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config)#\u00a0<\/span><span lang=\"EN-US\"><b>vlan 10<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-vlan)#\u00a0<\/span><span lang=\"EN-US\"><b>name Lab1<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-vlan)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0\/1<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 10<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0 \/2<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 10<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0\/3<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 10<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0\/4<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(\u00a0<\/span><span lang=\"EN-US\">config-if)\u00a0<\/span><span lang=\"EN-US\">if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 10<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0\/5<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 10<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>exit<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config)#\u00a0<\/span><span lang=\"EN-US\"><b>vlan 20<\/b><\/span><span lang=\"EN-US\"><br \/>\n<\/span><\/p>\n<p><span lang=\"EN-US\">Switch(config-vlan)#\u00a0<b>name Lab2<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-vlan)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0\/6<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 20<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0\/7<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 20<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0\/8<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 20<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0\/9<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 20<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config -if)#\u00a0<\/span><span lang=\"EN-US\"><b>int f0\/10<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>switchport access vlan 20<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config-if)#\u00a0<\/span><span lang=\"EN-US\"><b>exit<\/b><\/span><span lang=\"EN-US\">\u00a0Switch(config)#\u00a0<\/span><span lang=\"EN-US\"><b>exit<\/b><\/span><span lang=\"EN-US\"><br \/>\n<\/span><\/p>\n<p>Switch#<\/p><\/blockquote>\n<p><span style=\"color: #ff6600;\"><b><span lang=\"EN-US\">Third <\/span><\/b><\/span><\/p>\n<p><span lang=\"EN-US\">Now we check with the\u00a0<b>show vlan<\/b>\u00a0command\u00a0\u00a0and there will be differences from the previous display, because we have created 2 VLANs namely VLAN 10 and VLAN 20, each of which uses 5 ports on the switch.\u00a0Here&#8217;s the image below.<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1117\" src=\"https:\/\/matob.web.id\/random\/wp-content\/uploads\/sites\/2\/2021\/09\/3.jpg\" alt=\"\" width=\"320\" height=\"286\" title=\"\"><br \/>\n<span style=\"color: #ff6600;\"><b><span lang=\"EN-US\">Fourth<\/span><\/b><\/span><\/p>\n<p><span lang=\"EN-US\">Up here we have configured the VLAN properly, then we set the PC by providing an IP address as listed below:<\/span><\/p>\n<blockquote><p>PC0<br \/>\nIP address : 10.10.10.1<br \/>\nNetmask : 255.0.0.0<\/p>\n<p>PC1<br \/>\nIP address : 10.10.10.2<br \/>\nNetmask : 255.0.0.0<\/p>\n<p>PC2<br \/>\nIP address : 10.10.10.3<br \/>\nNetmask : 255.0.0.0<\/p>\n<p>PC3<br \/>\nIP address : 10.10.10.4<br \/>\nNetmask : 255.0.0.0<\/p><\/blockquote>\n<figure id=\"attachment_1118\" aria-describedby=\"caption-attachment-1118\" style=\"width: 320px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1118\" src=\"https:\/\/matob.web.id\/random\/wp-content\/uploads\/sites\/2\/2021\/09\/4.jpg\" alt=\"Entering IP on PC\" width=\"320\" height=\"286\" title=\"\"><figcaption id=\"caption-attachment-1118\" class=\"wp-caption-text\">Entering IP on PC<\/figcaption><\/figure>\n<p><span lang=\"EN-US\" style=\"color: #ff6600;\"><b>Fifth<\/b><\/span><\/p>\n<p><span lang=\"EN-US\">After all PCs are set or given an IP address, it&#8217;s time to check.\u00a0By using the\u00a0<b>ping<\/b>\u00a0command\u00a0.\u00a0We will check from a PC one VLAN with a PC between VLANs.<\/span><\/p>\n<figure id=\"attachment_1119\" aria-describedby=\"caption-attachment-1119\" style=\"width: 320px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1119\" src=\"https:\/\/matob.web.id\/random\/wp-content\/uploads\/sites\/2\/2021\/09\/5.jpg\" alt=\"\" width=\"320\" height=\"286\" title=\"\"><figcaption id=\"caption-attachment-1119\" class=\"wp-caption-text\">Check with ping command<\/figcaption><\/figure>\n<div><span lang=\"EN-US\">From the results of checking that:<\/span><\/div>\n<ul type=\"disc\">\n<li><span lang=\"EN-US\">The first check to\u00a0<b>IP 10.10.10.2 was<\/b>\u00a0\u00a0successful. Repply, it was because\u00a0<b>PC0<\/b>\u00a0\u00a0and\u00a0<b>PC1 were<\/b>\u00a0\u00a0one VLAN, namely Vlan Lab1<\/span><\/li>\n<li><span lang=\"EN-US\">The second check to\u00a0<b>IP 10.10.10.2<\/b>\u00a0\u00a0did not work or RTO (Request Time Out), because the IP belongs to PC3 which is not in the same VLAN with PC0 and PC1.<\/span><\/li>\n<\/ul>\n<div><strong><span lang=\"EN-US\">Conclusion<\/span><\/strong><\/div>\n<div><\/div>\n<div><span lang=\"EN-US\">The <a href=\"https:\/\/matob.web.id\/random\/technology\/understanding-trunks-functions-and-explanations-of-trunk-links\/\">VLAN<\/a> that we created using a single switch here aims to separate data connections in one network.\u00a0Usually if we create a <a href=\"https:\/\/matob.web.id\/random\/technology\/computer-networking-basic-definition-topology-and-types\/\">network<\/a> with one switch and one network then all users or clients in the network will be connected.\u00a0But with the vlan we can make the connection limits<\/span><\/div>\n<div><\/div>\n<div><span lang=\"EN-US\">Thus the article on\u00a0<\/span><span lang=\"EN-US\">How to Configure VLANs in Cisco Packet Tracer With One Switch.\u00a0Hope it is useful.\u00a0Thank you<\/span><\/div>\n","protected":false},"excerpt":{"rendered":"<p>As in the previous material about\u00a0VLANs\u00a0, that one way that can be used to learn the concept of VLANs in computer networks is to use applications.\u00a0One application that we can use to learn how to configure vlan is to use the cisco package tracer. In the Cisco package tracer simulation application, we can create a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1120,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[122,121,63],"class_list":["post-1114","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-cisco","tag-lan","tag-network"],"_links":{"self":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts\/1114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/comments?post=1114"}],"version-history":[{"count":1,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts\/1114\/revisions"}],"predecessor-version":[{"id":3204,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/posts\/1114\/revisions\/3204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/media\/1120"}],"wp:attachment":[{"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/media?parent=1114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/categories?post=1114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matob.web.id\/random\/wp-json\/wp\/v2\/tags?post=1114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}