blitzasebo.blogg.se

Router on a stick lab
Router on a stick lab







There are five ports of switch which are involve in this lab, port fastEthernet 0/1 is connected to swich therefore we configure this port as trunk with encapsulation dot1q for inter-vlan routing. Switch(config-if-range)# switchport access vlan 44 Switch(config)# interface range fastEthernet 0/4 – 5 Creating vlan 33Ībove Command will create the vlan 33 automatically on switch. Switch(config-if-range)# switchport access vlan 33 Switch(config-if-range)# switchport mode access Switch(config)# interface range fastEthernet 0/2 – 3 We will assign the vlan 33 to port2 and port3 as it is in vlan 33, while other ports will be assign with vlan 44. Configure the each device according to following configuration.įour ports are required to be configured as access ports because these ports are connected with the PCs. We can configure an IP address on each sub-interface in order to make communication possible between different Vlans.ĭesign the lab according to following figure and we have four PC/host PC0 & PC1 are belongs to vlan 33 and PC2 & PC3 are belong to vlan 44. In this lesson I will show you how you can use a router connecting different Vlans with each other with single switch & this is known as “router on a stick” or “inter-vlan routing”.įor inter clan routing you are required to create the sub-interfaces for each vlan on a router. You require a router if you want to interconnect VLANs with each other. Router on a stick configuration on Packet Tracerīy default the nodes associated to same vlans can communicate with each other in switching environment.









Router on a stick lab