Skip to main content

Configure Inter VLAN Routing on Cisco Router and Layer 3 Switches


  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.

Comments

Popular posts from this blog

Why You Should Hire A Virtual Assistant

Hiring a  Virtual Assistant  can be a simple solution.  It would allow you time to spend on managing the important tasks in your business and less time managing your mundane tasks. This can increase your productivity. A virtual assistant by definition is usually a self-employed professional who carries out many different administrative jobs depending on each different client or project. They usually work for multiple people, but they just split their time up between each client. This is a better alternative to small business owners who are just starting out than hiring a full time administrative assistant. If you want to hire a couple of people and want to start something, you need a place to put them. A VA organization will do all of your tasks from their own office. You need to just hire them and they will provide you all of your services as much as they can. Suppose you hired a Personal Assistant for your administrative stuff. He has a particular hour to work....

How to create FTP server in Windows and make it public

FTP Server: The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network. Using FTP, a client can upload, download, delete, rename, move and copy files on a server. A user typically needs to log on to the FTP server, although some servers make some or all of their content available without login, also known as anonymous FTP. FTP Client Application: There are a vast number of FTP client applications available on Internet for all OS platform.  Filezilla (Windows), WinSCP (Windows), Transmit  (OS X), FireFTP (All Platform with Firefox), Cyberduck (OS X), LogicalDOC  (All Platform), NASLite (Linux), etc. FTP in Windows: Instead of using above third-party FTP client application you can also create your own FTP Server in your Windows system.  By doing this you can able to share your file and folder with other computers are connecting with your  LAN .  It is a very u...

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 Assist...
Download FIFA from here