Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

routers virtual interface and vlans

Status
Not open for further replies.

julian403

Full Member level 5
Joined
Feb 28, 2014
Messages
254
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Location
Argentina
Activity points
2,105
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.

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_
 

That is correct.

g0/1.1 is a subinterface of g0/1
g0/1.2 is a subinterface of g0/1

Each has been given a different vlan definition (dot1q) so if you have an existing vlan schema you would probably want to use that instead.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top