Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 VLAN Trunking Protocol  



1.1  Version 3  





1.2  version 1 and 2  







2 Limitations of Private VLANs  



2.1  No support for:[1][2]  





2.2  Configuration limitations  







3 Cisco implementation  





4 Use cases  



4.1  Network segregation  





4.2  Secure hosting  





4.3  Secure VDI  





4.4  Backup network  





4.5  Broadcast mitigation  







5 Vendor support  



5.1  Hardware switches  





5.2  Software switches  





5.3  Other private VLANaware products  







6 See also  





7 References  





8 External links  





9 Further reading  














Private VLAN






Français

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Private VLAN, also known as port isolation, is a technique in computer networking where a VLAN contains switch ports that are restricted such that they can only communicate with a given uplink. The restricted ports are called private ports. Each private VLAN typically contains many private ports, and a single uplink. The uplink will typically be a port (orlink aggregation group) connected to a router, firewall, server, provider network, or similar central resource.

The concept was primarily introduced as a result of the limitation on the number of VLANs in network switches, a limit quickly exhausted in highly scaled scenarios. Hence, there was a requirement to create multiple network segregations with a minimum number of VLANs.

The switch forwards all frames received from a private port to the uplink port, regardless of VLAN ID or destination MAC address. Frames received from an uplink port are forwarded in the normal way (i.e. to the port hosting the destination MAC address, or to all ports of the VLAN for broadcast frames or for unknown destination MAC addresses). As a result, direct peer-to-peer traffic between peers through the switch is blocked, and any such communication must go through the uplink. While private VLANs provide isolation between peers at the data link layer, communication at higher layers may still be possible depending on further network configuration.

A typical application for a private VLAN is a hotel or Ethernet to the home network where each room or apartment has a port for Internet access. Similar port isolation is used in Ethernet-based ADSL DSLAMs. Allowing direct data link layer communication between customer nodes would expose the local network to various security attacks, such as ARP spoofing, as well as increase the potential for damage due to misconfiguration.

Another application of private VLANs is to simplify IP address assignment. Ports can be isolated from each other at the data link layer (for security, performance, or other reasons), while belonging to the same IP subnet. In such a case, direct communication between the IP hosts on the protected ports is only possible through the uplink connection by using MAC-Forced Forwarding or a similar Proxy ARP based solution.

VLAN Trunking Protocol[edit]

Version 3[edit]

Version 3 of VLAN Trunking Protocol saw support added for private VLANs.

version 1 and 2[edit]

If using version 1 and 2, the switch must be in VTP transparent mode.

VTP v1 and 2 do not propagate private-VLAN configuration, so the administrator needs to configure it one by one.

Limitations of Private VLANs[edit]

No support for:[1][2][edit]

Configuration limitations[edit]

Cisco implementation[edit]

Private VLAN Traffic Flow
Example of private VLAN port types on the switch

Cisco Systems' Private VLANs have the advantage that they can function across multiple switches.[3] A Private VLAN divides a VLAN (Primary) into sub-VLANs (Secondary) while keeping existing IP subnet and layer 3 configuration. A regular VLAN is a single broadcast domain, while private VLAN partitions one broadcast domain into multiple smaller broadcast subdomains.

There are mainly two types of ports in a Private VLAN: Promiscuous port (P-Port) and Host port. Host port further divides in two types – Isolated port (I-Port) and Community port (C-port).

Example scenario: a switch with VLAN 100, converted into a Private VLAN with one P-Port, two I-Ports in Isolated VLAN 101 (Secondary) and two community VLANs 102 and 103 (Secondary), with 2 ports in each. The switch has one uplink port (trunk), connected to another switch. The diagram shows this configuration graphically.

The following table shows the traffic which can flow between all these ports.

I-Port P-Port C1-Port C2-Port Uplink to Switch2
I-Port Deny Permit Deny Deny Permit/Deny
P-Port Permit Permit Permit Permit Permit
C1-Port Deny Permit Permit Deny Permit
C2-Port Deny Permit Deny Permit Permit
Uplink to Switch2 Permit/Deny Permit Permit Permit Permit

Traffic from an Uplink port to an Isolated port will be denied if it is in the Isolated VLAN. Traffic from an Uplink port to an isolated port will be permitted if it is in the primary VLAN.

Use cases[edit]

Network segregation[edit]

Private VLANs are used for network segregation when:

Secure hosting[edit]

Private VLANs in hosting operation allows segregation between customers with the following benefits:

Secure VDI[edit]

An Isolated VLAN can be used to segregate VDI desktops from each other, allowing filtering and inspection of desktop to desktop communication. Using non-isolated VLANs would require a different VLAN and subnet for each VDI desktop.

Backup network[edit]

On a backup network, there is no need for hosts to reach each other. Hosts should only reach their backup destination. Backup clients can be placed in one Isolated VLAN and the backup servers can be placed as promiscuous on the Primary VLAN, this will allow hosts to communicate only with the backup servers.

Broadcast mitigation[edit]

Because broadcast traffic on a network must be sent to each wireless host serially, it can consume large shares of air time, making the wireless network unresponsive.[citation needed] Where there is more than one wireless access point connected to a switch, private VLANs can prevent broadcast frames from propagating from one AP to another, preserving network performance for connected hosts.

Vendor support[edit]

Hardware switches[edit]

Software switches[edit]

Other private VLAN–aware products[edit]

See also[edit]

References[edit]

  1. ^ "Private VLANs | Junos OS | Juniper Networks". www.juniper.net. Retrieved 2023-11-08.
  • ^ "Catalyst 4500 Series Switch Cisco IOS Software Configuration Guide, 12.2(25)EW - Configuring Private VLANs [Cisco Catalyst 4500 Series Switches]". Cisco. Retrieved 2023-11-08.
  • ^ S. HomChaudhuri; M. Foschiano (June 2009). Cisco Systems' Private VLANs: Scalable Security in a Multi-Client Environment. IETF. doi:10.17487/RFC5517. RFC 5517. Informational. Independent Submission.
  • ^ "Configuring Private VLANs". Cisco Systems. Retrieved 2014-08-28.
  • ^ "Managing Feature Licenses for Cisco ASA Version 9.1".
  • ^ "PVLAN – A Widely Underutilized Feature".
  • ^ "Manual: Switch Chip Features". MikroTik. Retrieved 2020-01-06.
  • External links[edit]

    Further reading[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Private_VLAN&oldid=1194826923"

    Categories: 
    Local area networks
    Network architecture
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    All articles with unsourced statements
    Articles with unsourced statements from September 2022
     



    This page was last edited on 10 January 2024, at 23:01 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki