Imagine a large conference centre that sits exactly on the border between America and Mexico. The centre welcomes visitors from both countries but due to all the issues surrounding the border, strict security measures have been introduced to limit the access of people moving around the building.
Entrances
When a visitor approaches any entrance to the conference centre they have to queue up for an id badge. Visitors cannot pass through the entrance without receiving an id badge and it is securely fastened to them in such a way they cannot take it off while in the centre. Once they have their badge, visitors are allowed to continue on into the conference centre.
All of the entrances to the International Conference Centre on the American side are colour coded blue and visitors are allocated blue id badges. When an American visitor from inside the conference centre wants to leave, they approach any blue entrance and security removes their blue id badge and directs them back outside. Only visitors with a blue badge may leave through a blue entrance.
On the Mexican side, the entrances are green and work in exactly the same way. Mexican visitors are given green id badges which are returned to security when they leave (through a green entrance). Mexicans may not leave through the blue entrances and Americans may not leave through the green entrances.
Checkpoints
All visitors are allowed to freely move around the conference centre but some doorways are blocked by checkpoints which require visitors to show their badge. A few of the checkpoints are also restricted to only allow passage to either American or Mexican visitors.
Just like entrances, checkpoints are colour coded either blue, green (or both blue and green). When visitors arrive at a checkpoint they show their id badge and so long as it matches one of the signs they are allowed to pass through.
It is important to note that visitors do not receive (or return) an id badge when passing through a checkpoint.
If a visitor doesn’t have an id badge (for whatever reason) then they cannot pass through a checkpoint unless it’s marked specifically to allow visitors with no badge. We could use a white colour to denote this, it’s not important right now but take a mental note because we will come back to it later on.
Some Further Examples
So far we have only concerned ourselves with entrances which are colour coded to a single colour but like checkpoints it is possible for these to use multiple colours. To make things even more confusing, it is also possible to mix and match both checkpoints and entrances on the same door!
Let’s look at some examples to understand how this works:
Example 1: The American Embassy
On the Mexican side there is a special door labelled “American Embassy”. The door has three coloured signs:
For Mexicans, this door works pretty much the same as any other entrance from Mexico. They turn up, are given a green badge and then move into the conference centre. Mexicans leaving through this door return their green badge to security on the way out.
However Americans can also exit through this door in order to visit the American Embassy building which is located in Mexico. This door is treated as a checkpoint for Americans so they keep their badges and can use it to pass back through checkpoint again when they return to the conference centre.
The green allocate sign with an “A” isn’t so important for this door but it reminds security staff that visitors should always be given a green badge (if they don’t have one). We will see how this becomes more important in the next example.
Example 2: The Migration Exit
There is another special door on the Mexican side labelled “Migrate to Mexico!”. This door was an initiative by the Mexican government to entice Americans to move to Mexico and it has caused a few complications for the conference centre security team. It also has three coloured signs:
Like the “American Embassy” door, both Americans and Mexicans can leave through this door and head off into Mexico. However unlike that door, Americans must also give back their id badge when they leave. Welcome Americans to your new life in Mexico!
When a visitor enters through this door they are given a green badge as determined by the “A” sign. It doesn’t matter what the visitor looks like or if they have an accent, they are treated the same in the eyes of the security team.
This is bad news for Bob Carter from California who exited through this door looking for the American Embassy. Bob was allowed to re-enter the conference centre but he now has a green badge and will be unable to exit back into America through a blue entrance.
Note that if we changed the allocate sign to be blue then the situation would be flipped and after entering the conference centre, Mexicans would be unable to return back to Mexico.
Example 3: Lost and Found
Inside the conference centre there is another special door labelled “Lost and Found”. This door has two coloured signs:
This door has been created to help visitors who have either lost their badge or somehow found themselves in the conference centre without a badge.
Both Mexicans (green badge) and Americans (blue badge) cannot pass through the door but visitors without a badge can and they are allocated a blue id badge and may continue on their way just like any other blue badge wearer.
Example 4: An Entrance is Always an Entrance
There is one quirk with entrances which we’ve not talked about yet but it’s important to know. The security guards are strictly trained not to think and to follow their instructions to the letter no matter what the visitors are doing. These instructions are:
The quirk is that the security guards do not care which direction visitors are moving. If a visitor arrives at the conference centre with a badge then it is taken off them and they are shepherded inside without a badge. Similarly if they try to exit through an entrance without a badge then they are given one as they leave.
This can lead to unexpected behaviour when visitors arrive at an entrance with a badge they are not supposed to have or if visitors have their badge removed unexpectedly. To maintain security, the conference centre has to carefully consider each route a visitor may take through the building so situations like this cannot occur.
Example 5: “White” Doors
In the previous section about Checkpoints we briefly mentioned the idea of a white colour coding for visitors without a badge. This requires special consideration because these white doors won’t behave like the other colours:
White checkpoints (“C”) and entrances (“E”) behave exactly the same way and are interchangeable. Visitors without a badge may pass through freely without interruption and no badge is assigned or can be returned. Meanwhile visitors with a badge are turned around and denied access (unless their colour is also specified on the door).
Doors marked with a white allocate (“A”) do not actually assign any badges to visitors that pass through. If a coloured (non-white) entrance (“E”) is also present on the door then white allocate is no longer valid according to the following rules:
Bringing it back to VLANS
If you have any experience with VLANs then you have probably already joined the dots back to the International Conference Centre. For the uninitiated though let’s break it down:
Hopefully this article has helped you to get your head around 802.1Q VLANs. If you have any comments or suggestions for improvement then please leave these below!
Lennox IT are specialists in business IT support and solutions. If you need any help with networking for your business then please don’t hesitate to get in touch.