julian403
Full Member level 5
Hello All.
In Cisco, if I want to create a virtual interface in a router for inter VLAN routing. How I associate it to a physic port? Looking for some example on the internet I found.
If the virtual interface is interface g0/1.2 it-s means that is link with the physic port Gi0/1? And for example if it would be g0/0.2 that would means that it-s link the Gi0/0_
In Cisco, if I want to create a virtual interface in a router for inter VLAN routing. How I associate it to a physic port? Looking for some example on the internet I found.
Code:
conf t
interface g0/1
no ip address
!
interface g0/1.1
encapsulation dot1q 1
ip address 1.1.1.1 255.255.255.0
!
interface g0/1.2
encapsulation dot1q 2
ip address 2.2.2.2 255.255.255.0
If the virtual interface is interface g0/1.2 it-s means that is link with the physic port Gi0/1? And for example if it would be g0/0.2 that would means that it-s link the Gi0/0_