



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
diffirent vlan communication.dgygshafhjbfjhcggggg
What you will learn
Typology: Study notes
1 / 5
This page cannot be seen from the preview
Don't miss anything!
Currently, this method of inter-VLAN routing that uses layer 3/multilayer switch and Switched Virtual Interfaces (SVI) is the most preferred. SVIs are created for VLANs exists on the switch which performs the same function for the VLANs as that of a router. Layer 3 switches are expensive, which are primarily suitable for large organization networks.
WE WOULD MAKE LOGICALY SUB INTERFACE IN ROUTER SO WE HAVE TO GIVE ENCAPSULATION TRUNK ENCAPSULATION: 802.1Q ISL Open Standard Vendor Inter Switch Link Supports Upto 1-4094 VLAN Cisco Would Only Use ISL & no Other Vendor 4 Bytes It Supports 1-1005 VLAN 3 0 Bytes Address Consider a LAN with 4 PCs, 1 switch, and a router connected we have to configure two VLANs 10 and 20, with PC0 and PC1 on VLAN10, and PC2 and PC3 are on VLAN20.
for each of the VLANs. This will allow two sub networks to communicate using the single interface. Router(config)#int g0/ Router(config-if)#no shutdown !activating the interface Router(config-if)#int g0/0.1 !first sub interface for vlan 10 on g0/ Router(config-subif)#encapsulation dot1q 10 !configuring the sub interface to respond to traffic from vlan 10 Router(config-subif)#ip add 192.168.1 0 .1 255.255.255. !configuring the IP address of the sub interface g0/0. Router(config-subif)#exit !exiting from the sub interface Router(config)#int g0/0 !entering our physical router interface Router(config-if)#no shutdown !activating our physical interface Router(config-if)#int g0/0.2 !second sub interface for vlan 20 on g0/ Router(config-subif)#encapsulation dot1q 20 !configuring the sub interface to respond to traffic from vlan 20 Router(config-subif)#ip add 192.168.2 0 .1 255.255.255. !configuring the IP address of the sub interface g0/0. Router(config-subif)#exit Router(config)#do write !saving our running configurations into the start-up configuration file
From the configurations above, the interface g0/0 is subdivided into two sub interfaces: g0/0.10 for VLAN10 and g0/0.20 for VLAN20. Then, the two sub-interfaces are assigned IP addresses and serve as the trunk ports for carrying the traffic. Step 5 Test the inter-VLAN connectivity by trying to ping the different PCs. For instance, if we ping PC2 in VLAN20 from PC0 in VLAN10, it should be successful Router#sh ip interface brief Router#sh int g0/0.