This document describes a network configuration that uses VLAN encapsulation to connect two PCs through a switch and router. The switch is configured with VLANs 5 and 6 and the appropriate ports are assigned. The router has two virtual interfaces configured corresponding to each VLAN using 802.1q encapsulation. Each virtual interface is assigned an IP address for the respective VLAN subnet. The configurations of the switch and router are shown.
This document describes a network configuration that uses VLAN encapsulation to connect two PCs through a switch and router. The switch is configured with VLANs 5 and 6 and the appropriate ports are assigned. The router has two virtual interfaces configured corresponding to each VLAN using 802.1q encapsulation. Each virtual interface is assigned an IP address for the respective VLAN subnet. The configurations of the switch and router are shown.
This document describes a network configuration that uses VLAN encapsulation to connect two PCs through a switch and router. The switch is configured with VLANs 5 and 6 and the appropriate ports are assigned. The router has two virtual interfaces configured corresponding to each VLAN using 802.1q encapsulation. Each virtual interface is assigned an IP address for the respective VLAN subnet. The configurations of the switch and router are shown.
interligamos 2 micros atravs de Vlans a 1 Roteador cisco. No cisco foi criado 2 interfaces virtuais e configurado as Vlans nas 2 interfaces virtuais. CONF. SWITCH Vlan 5 Int f0/1 Vlan 6 Int f0/2 Wr Int f 0/24 Switch mode trunk - para a porta 24 Int f0/24 Swichtport trunk allowed vlan 5,6 trunk para as vlans Show interfaces trunk Sh vlan br Sh run CONF. ROUTER Int f0/0 NO SHUTDOWN Int f 0/0.1 PORTA VIRTUAL DE ENCAPSULAMENTO Encapsulation dot1q ? Encapsulation dot1q 5 Ip address 10.0.0.1 255.255.255.0 F 0/0.2 PORTA VIRTUAL DE ENCAPSULAMENTO Encapsulation dot1q ? Encapsulation dot1q 6 Ip address 10.0.1.1 255.255.255.0