Solved

PC connected to a trunk port

Posted on 2014-12-22
4
1,685 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 26

Accepted Solution

by:
Predrag Jovic earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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 26

Expert Comment

by:Predrag Jovic
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now