VLANs and VoIP phones

VLANs and VoIP phones

NewsGroups | Search | Tools
 comp.dcom.lans.ethernet  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
VLANs and VoIP phones Phil Schuman 07-27-2006
Posted by anoop on July 27, 2006, 4:40 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


Phil Schuman wrote:
> I'm trying to find some good web reading that gives a brief
> intro/tutorial
> to VLANs and various techniques used to tag the frames.
> I thought that the frames were tagged
> by which physical port switch port they entered.

That's the default behavior. If an untagged frame arrives
at a switch, it gets tagged with the PVID of that port.
This was the behavior defined in the original 802.1Q spec
(802.1Q-1998).

> Are there different ways of tagging frames today
> basaed upon different standards, that were not around a few years ago ?

802.1Q was enhanced to support port+protocol classification.
Now the VLAN can be assigned to an untagged frame based
on a protocol table that sits on the port. If the frame doesn't
match any of the protocols specified in that table, then it gets
the PVID. Here the frame's "protocol" is what is contained
in the Ethertype field if the frame is Ethertype-encapsulated,
or the protocol type if the frame is of some other encapsulation
(e.g. a frame with a SNAP-encapsulated protocol type).

There are other non-standard ways of assigning the VID
to untagged frames; e.g. subnet based, MAC address-based, etc.
I wouldn't bother with these if you really care about
interoperability.

> Can switches from different vendors all play nice together ?

Usually they can, as long as you make sure you're using
standards-based protocols for communicating between them.
In other words, if you were using PVST (per-VLAN spanning
tree) on Cisco switches, you won't be able to talk to most
other switches unless you turned off PVST.

> What happens to tagged frames vs un-tagged frames ?

>From an 802.1Q-perspective, the first thing that the
switch will do to an incoming frame is assign it to a VLAN.
It does this based on the VID in the tag if the frame was
tagged, or if it is untagged it will assign a VID based on
either the port or port+protocol.

> What if a frame doesn't have the extra 4-bytes for VLANs,

See above.

> what about a tagged frame going thru an old legacy switch
> that doesn't know about the extra bytes ?

This is usually not a problem except for, potentially, the
frame length, as pointed out by another poster.

> How does a frame obtain the VLAN ID - where does it come from ?

See above.

> Only from physically connecting to a specific switch port ?
> I've read abotu DHCP handing out VLAN ID - How ?

DHCP cannot handle VLAN IDs! A VLAN defines a broadcast
domain and you have to know what VLAN you're in before
you can used DHCP. There may be protocols whereby
a switch identifies a device as being a phone (based on
a protocol such as LLDP or CDP) and configures that port
to automatically be on a certain VLAN.

> And lastly - and most important -
> How does a VoIP phone, with it's internal 2-port switch
> create a VLAN ID for the phone's ethernet port,
> and a different one (or just untagged ?) for the connected PC ?
>
> How does it all work when the phone is just physically moved,
> and plugged into a different wall jack - hence a different switch port ?
>
> How does DHCP enter into this picture ?

I'm not conversant with the way VOIP phones work
so I don't have answers to the rest of the questions.

Anoop


Posted by Doug McIntyre on July 27, 2006, 5:12 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


>> Only from physically connecting to a specific switch port ?
>> I've read abotu DHCP handing out VLAN ID - How ?

>DHCP cannot handle VLAN IDs! A VLAN defines a broadcast
>domain and you have to know what VLAN you're in before
>you can used DHCP.

You can use .1x to specify a VLAN though. The process of logging in,
and getting the data from your ACS (or whatever) server can have the
switch reset you onto the proper VLAN. The whole process, could be
confused with DHCP being one part of the .1x negotiation.



Posted by William P.N. Smith on July 27, 2006, 6:04 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


>How does a VoIP phone, with it's internal 2-port switch
>create a VLAN ID for the phone's ethernet port,
>and a different one (or just untagged ?) for the connected PC ?

And can VLANs be used to separate security domains, so (for instance)
any computer plugged into a port (on a phone or switch) that's not
'known' or 'authorized' in some way only gets (say) Internet access,
and can't see internal LAN file servers, print servers or other LAN
PCs?

Or is that too easily spoofed by having the client PC pretend to be on
VLAN #7, which is where all the good stuff is?

Thanks!

Posted by Rich Seifert on July 28, 2006, 1:34 pm
If you were  Registered and logged in, you could reply and use other advanced thread options



> I'm trying to find some good web reading that gives a brief
> intro/tutorial
> to VLANs and various techniques used to tag the frames.
> I thought that the frames were tagged
> by which physical port switch port they entered.
>

[snip]

>
> Are there different ways of tagging frames today
> basaed upon different standards, that were not around a few years ago ?
>
> What happens to tagged frames vs un-tagged frames ?
> What if a frame doesn't have the extra 4-bytes for VLANs,
> what about a tagged frame going thru an old legacy switch
> that doesn't know about the extra bytes ?
>
> How does a frame obtain the VLAN ID - where does it come from ?
> Only from physically connecting to a specific switch port ?

Although it's not "web reading", there is a complete explanation of the
entire range of VLAN tagging possibilities, along with the behavior of
VLAN-compatible and non-VLAN compatible switches, in Chapters 11 and 12
of "The Switch Book" [shameless plug admitted].

--
Rich Seifert Networks and Communications Consulting
21885 Bear Creek Way
(408) 395-5700 Los Gatos, CA 95033
(408) 228-0803 FAX

Send replies to: usenet at richseifert dot com

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Posted by TexasMirty@gmail.com on July 28, 2006, 5:19 pm
If you were  Registered and logged in, you could reply and use other advanced thread options


Here is another source of info on that --
http://www.cisco.com/en/US/products/sw/voicesw/ps4625/products_installation_guide_chapter09186a0080527151.html


Similar ThreadsPosted
VLAN 2 Internet Connections. Send PC's down 1 ISP, VoIP phones down 2nd ISP April 1, 2006, 8:08 am
Voip Updated Howto,Voip AT Home June 28, 2006, 9:08 pm
SUNROCKET PROMOTION FREE PHONES December 4, 2005, 11:04 am
PoE VoIP phone--PPoE-8 November 17, 2005, 3:01 am
Logitech Dives Into VoIP August 16, 2006, 4:42 am
Allied telesyn & VOIP July 19, 2007, 9:43 pm
Allied telesyn & VOIP July 23, 2007, 12:26 am
VOIP/Wireless router/FWT/FWP December 1, 2007, 2:42 am
Smart DIaler, commercial VOIP softphone available May 23, 2006, 11:03 am
Black PoE VoIP phone--PPoE-8,with 2 Ethernet Ports. December 21, 2005, 3:22 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map