Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PC connected to a trunk port

Posted on 2014-12-22
4
Medium Priority
?
3,337 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 31

Accepted Solution

by:
Predrag earned 1000 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 1000 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 31

Expert Comment

by:Predrag
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

926 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