Computer and phone on different vlans but in same access port?

I'm a little confused on how this works, I'm hoping someone can clarify it for me.  On our network we have VOIP service on VLAN 200, Data on VLAN 300.  Our switchports I believe are defined as access ports, which means they should only have 1 VLAN (I don't know what the VLAN is on the access port - I assume 200 or 300).  But the telephone plugs directly into the switchport then the computer plugs into the PC port on the back of the phone.  How is it that this works?  It seems to my befuddled brain that this means there are 2 seperate VLAN's sending info on the switchport - the phone over 200 the PC over 300.
steven smithAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

justin_grswldCommented:
It sounds like you are using Cisco switches.  Which will mean that the port can actually be configured with two VLAN ports.  One for Data and one for Voice.  You are correct that the port is configured into Access mode, which is normally set to the Data VLAN.  There is another configuration you can set on the port "switchport voice vlan 123".  This allows the phone to access the voice VLAN and pass data traffic as well.

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2950/software/release/12-1_11_yj4/configuration/guide/lrescg/swvoip.html
Steven CarnahanNetwork ManagerCommented:
Here is how one of our ports is configured:

interface GigabitEthernet5/2
 description Gi5/2
 switchport access vlan 2
 switchport mode access
 switchport nonegotiate
 switchport voice vlan 100
end

We have additional configuration for port security and QOS that I left out
steven smithAuthor Commented:
Yes, I was able to gain access to the switch and you are correct - it does specify "switchport voice vlan 200".  I take it from your immediately identifying it as a Cisco switch (it is) that this isn't common?  Most layer2/3 switches CAN'T do that?  How would the whole pc-plugged-into-the-phone work in that case - both have to be on the same VLAN or no vlan at all?  Curious about that for new deployments, but trying to figure out the best (and least expensive) way to do a new deployment on current equipement here.  Trying to see if we have a Cisco with 1 free port but 5 computer / phone pairs to connect if we can simply use a standard 10/100/1000 switch plugged into that Cisco port, then the phone / computer pairs plugged into that switch.  The switch isn't VLAN aware, so it should just pass the info along and the port on the Cisco will sort it out and not care about the switch or the fact that there are 10 devices working off it, correct?  Thanks, you have been most helpful so far.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Steven CarnahanNetwork ManagerCommented:
1. The non Cisco (or non-managed Cisco) switch needs to be PoE or you need power bricks for the phones.  
2. If you are going to use another switch for the connections and run them through a single port in the Cisco switch then the port on the Cisco needs to be a trunk (uplink) port
UnHeardOfCommented:
the port on the switch would be trunked and placed on both vlans. The phone we use ( NEC ) needs to be configured with the vlans. the port that the phone plugs into on the switch would be configured with the phone vlan and the port for the computer would be tagged for the second vlan.
steven smithAuthor Commented:
Not sure I understand why it wouldn't work - same 2 VLAN ID's (one specified as the voice) - what is different between having 1 pair connected of 5 pairs connected through a switch?
Steven CarnahanNetwork ManagerCommented:
Are you running Cisco phones as well?  

Is the unmanaged switch also a Cisco?

All you should need to do is set the port on the managed switch:

 switchport trunk native vlan 100
 switchport trunk allowed vlan 1,100,200
 switchport mode trunk

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
steven smithAuthor Commented:
Thanks guys, between the lot of you I understand this a LOT better now.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.