We will set the ports as member of a VLAN. Then, we will configure the access ports. Switch_1(config-if)# switchport mode trunk Switch_1(config-if)# switchport trunk encapsulation dot1q Below, we sill set this on the trunk port of switch 1, on Gigabit Ethernet 0/2. Then we set the encapsulation types of this ports. On the switch of router on stick topology, we will configure the switch port modes firstly. Inter VLAN Routing Cisco Switch Configuration Now, we will configure the switch part of this configuration example. With this configuration, we have finished router part of this Inter VLAN Routing Configuration Example. R1(config-subif)# encapsulation dot1Q 200 R1(config-subif)# encapsulation dot1Q 100 Here, the ip addresses are in different networks asa you can see below. We will also give the ip addresses of the sub interfaces. VLAN identifier will show that this sub interfaces is belong to that VLAN. We will set the encapsulation type as dot1.q with VLAN identifier under these sub interfaces. Our sub interfaces will be Gi0/0.100 and Gi0/0.200. Then, we will create sub interfaces under this Gigabit ethernet 0/0 interface. Because by default, as you know the router ports are shutdown. On the router, we will open the interface with “ no shutdown” command firstly. Inter VLAN Routing Cisco Router Configuration Router on Stick Configuration Verification.Inter VLAN Routing Cisco Switch Configuration.Inter VLAN Routing Cisco Router Configuration.You can also view Packet Tracer Inter VLAN Routing Example Now, let’s go to the configuration and learn how to configure VLAN Routing with Router on stick Topology with GNS3. Here, the ip addresses of the sub interface and the PC connected to it will be in the same network. In this topology, our sub interfaces and their ip addresses will be: We will also configure the switch with VLANs, we will assign access and trunk ports on it. In this topology, we will create sub interfaces on Router and we will also assign dot1q encapsulation on them. You can download this lab on GNS3 Cisco Labs page In other words, we will provide pinging between PCs that are in different VLANs by the help of a layer 3 device, Router.įor our Inter VLAN Configuration Example, we will use the below Router on Stick topology on GNS3. Our main aim is to provide routing between VLANs. In this lesson, we will focus on Cisco Inter VLAN Routing Configuration with a Router on Stick Topology on GNS3. Especially Inter VLAN Routing Router on Stick topology is one of the well-known topologies for this configuration. Inter VLAN Routing is one of the important lessons of Cisco CCNA Certification.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |