Building VLAN and Sub interfaces on Cisco Packet Tracer
Hello, today we will try to build a network with VLAN on layer 2 switch and assign the sub interfaces to the router. After that we will route the IPs among the networks so that they can communicate each other.
1- First Step is we get to pick the end devices, switches, routers and servers. For my topology I decided to put 3 different networks and each network has 2 different VLAN. You may see the image as below :
- DNS and Web Servers are there just to show if our VLANs are working. We will check that at the end.
2- After connecting them with the ethernet cables, open the switch IOS -CLI start the configuration you may see the codes below;
3- After finishing this part; go to your Router and open IOS-CLI and write down the codes as you see below;
4- We are pretty much done here but I would like to explain whole process again and let’s see the result;
- First; design your topology according to your need and make the physical connections.
- Then go to your switch and configure the vLans as many as you needed.
- Next step is Router, configurethe sub-interfaces to your Router’s interface that connects to the network.
- After you configure all the IPs, Subnets and Gateways to the devices in the network, you may try pinging to the other devices.
Thank you for reading my entry I hope it helps you to build your vLan on Cisco Packet Tracer.
You may follow me on www.linkedin.com/in/burkay-erturk