olzpromotions.blogg.se

Router on a stick vlan
Router on a stick vlan






router on a stick vlan

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.

router on a stick vlan

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 vlan

If I had two separate devices I would simply configure subinterfaces on a a router port and proceed with router-on-a-stick configuration.Router on a stick configuration on Packet Tracerīy default the nodes associated to same vlans can communicate with each other in switching environment. I understand my problem comes from the fact that the 878 has inside both a router and a switch, and the ports connecting the two are "hidden". What I want is to connect the trunk port on my switch to one of the LAN ports on the 878 and be able to route between the 2 segments. Now, in my switch I have configured a port as trunk. It does support VLANs and configuration of the switch ports. It supports routing between the (predetermined) WAN port and the 4 LAN ports, which essentially are switch ports and not router ports. The 878 is a beefed-up cousin of the consumer-grade routers ISP distribute for free. The thing is the only equipment I have available is a CISCO 878 router that, unfortunately, is a bit peculiar.








Router on a stick vlan