Solved

PC connected to a trunk port

Posted on 2014-12-22
4
2,126 Views
Last Modified: 2014-12-22
I am just curious why when I plug my PC to a trunk port and it is working. In my network, vlan1 is for voice and vlan2 is for data. But the port that the PC connected to is a trunk. So if I guess correctly, the PC will be in the default vlan1 and that is why it is working. Correct?
0
Comment
Question by:leblanc
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
Predrag Jovic earned 250 total points
ID: 40513256
The reason that your PC is working is - native VLAN. Native VLAN has no VLAN tag.
So, all untagged traffic that acomes into switch port is considered as part of native VLAN (in your case VLAN1).
0
 
LVL 11

Assisted Solution

by:rharland2009
rharland2009 earned 250 total points
ID: 40513261
Not necessarily. Many networks who share infrastructure for voice and data employ a strategy that allows the phones to be identified as such by DHCP options and given an appropriate address, after which they boot up into the appropriate VLAN.
For example, in one of our facilities we have VLAN 14 for computers and VLAN 8 for phones. Each port that a phone and computer connect to are untagged (native in Cisco-speak, I believe) in the computers VLAN and tagged in the voice VLAN.
Our VoIP phones have a 2-port switch for passthrough to the computer.
So what happens is this. The first time a phone is connected to the port, it powers up and asks for a DHCP address. We've configured the voice DHCP scope to pass some options (instructions) to the phones - in this case, reboot and come back up in VLAN 8. The computers ignore these options and will get a DHCP address as normal since their VLAN is the 'default' for this port.
0
 
LVL 1

Author Comment

by:leblanc
ID: 40513277
I assume that your phones are connected to ports configured with voice and data vlan. With my phones (NEC), it is a bit wired because my ports have to be configured as a trunk.
0
 
LVL 28

Expert Comment

by:Predrag Jovic
ID: 40513290
As I told you.
Trunk is created, but only voice traffic is tagged.
PC VLAN traffic is not tagged, so all untagged traffic is considered as part of native VLAN.
If you change native VLAN to VLAN 10, all untagged traffic will be part of VLAN 10 in that case.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question