Skip to main content

Configure Inter VLAN Routing on Cisco Router and Layer 3 Switches

HOW TO CREATE VLAN ON CISCO SWITCHS?


  1. First of all create two VLAN in the switch and named VLAN A and VLAN B with the following command.

  1. OK, the VLANs A and B are created successfully. Now check them with “show vlan” command.

  1. You see the result on screenshot, the VLANs are ready for assigning switch ports to them.

ASSIGNING SWITCH PORTS FOR VLANS

  1. Try to assign switch ports for each VLANs with the following commands.
  1. Now the portFastEthernet 0/2 and FastEthernet 0/5 are members of VLAN 2 which named VLAN-A. Go to set the PC3 and PC2 to VLAN-B.
  2. Let’s assign a rang or ports to a VLAN using “interface range” command.
  1. Now we have just done the basic VLAN configuration like creating VLAN and assigning switch ports to VLANs. Let’s enable Trunking mode on switch port to router and then configure Inter VLAN routing on router.

CONFIGURE TRUNKING PORTS ON SWITCH

  1. Just navigate toFastEthernet 0/1 interface and type “switchport mode trunk the press enter to enable trunking on Fa0/1 interface line.
  1. Now the VLANs can transmit traffic over theFastethernet 0/1 without any problems.

CONFIGURE INTER VLAN ROUTING ON CISCO ROUTER

  1. Try to assign IP address to router and enable the interface you want to configure inter VLAN routing.
  1. Good, the IP192.168.10.1 with the subnet mask of 255.255.255.248 is assigned for physical Fastethernet 0/0 interface.
  1. Now try to create sub-interface for each VLAN withinterface command and assign IP address from different network for each VLAN. In this case I have sub-netted the192.168.10.0/24 IP address to 3 networks.
  1. See the result with “do show ip interface brief” from sub-interface area.
  1. Do the same to create a sub-interface for VLAN-B also.
  1. Everything is fine, but you see the error with red color! It is because we forgot to set theencapsulation dot1Q command. Before assigning IP address to a sub-interface, you should set IEEE 802.1q with encapsulation command.
Jayanta Guha
wervas.com

Comments

Popular posts from this blog

Time Management – The key to Virtual Assistants’ success

“Time is money” , a phrase used by Benjamin Franklin in “ Advice to a Young Tradesman, Written by an Old One” .  The more preferable line can be “Time is more than money”  because you can’t use your money to make more time, but you can use your time to make money and much more. From our childhood, we learned about time management. People often say,  “I don’t have the time to…” : meet people, make the launch, do exercise, start an organization, blah..blah… Of course, they don’t have time, just because of their undisciplined time management. Just think about them – founder of google, owner of Microsoft, inventor of social media. We all have the same 24 hours in each day. How can they maintain their time and manage everything in their busy schedule? And we don’t have time to make our daily necessary things. It’s all about a proper Time Management. Time Management is the most powerful key for  Virtual Assistants  to unlock their destiny.  Virtual Assistan...

Why does e-commerce startup fail in India?

E-commerce is one of the popular business nowadays. People are too lazy to go to shopping malls, as well as they are very much tech savvy. Hence, they just take out their mobile or laptop while laying down on the bed and can get an item from e-commerce by just a click, without wasting much time. That is why most of the startup businessman thinks that they should go for an e-commerce business. Starting an e-commerce business is not much expensive. But in India, 70-80 percent startup e-commerce business has failed. Though each new business niche is unique, there are common contributors to e-commerce failures. There are some success stories which one cannot neglect, such as  amazon ,  Flipkart ,  jabong ,  myntra  and many more. Beside, there are always many e-commerce failure records in Indian online market (DoneByNone, Jewelskart, Indiaplaza, Klozee and many more). Everyone is talking about growing e-commerce businesses, but it is also necessary to talk about t...
How to crack your Windows System Admin Password without using Software or Live CD People make mistakes! Mistakes are a very normal activity in our daily life. Some mistakes can be recovered, some are not. What happen if you mistakenly typed a password of your windows system and you mistakenly forgot the password? What would be your next step? Do you format the system? If you think about this option, you will lose your all important data. There is another option – Recovery Password. There are several options to recover your User Admin Password of your windows system. You can use Linux Live CD, Password recovery software, recovery disk, etc. You might be known about these. But, I am going to show you a very simple trick to crack you windows admin password without using any software or any live CD. Backdoor:  I am going to show you how to crack the Admin password of your Windows System from Backdoor? You probably hear about the term Backdoor.  Backdoor is feature ...