Hotel case study - VLANs
VLANs and trunks
Explanation
What you need to do
- You should create and name one VLAN for hotel staff and a separate VLAN for Guests on each floor of the hotel. This will require three VLANs at each site.
Where to configure this
VLANs define the security roles for devices at the access layer. The VLANs provide a separation of traffic that forms the basis of security at this layer. In order to provide connectivity between VLANs we need routing and that function is delivered by the distribution layer. Thus the VLANs need to be present on that layer as well. To carry VLAN information (tags) between the access and the distribution layer, our links need to be configured as trunks.
So every access layer and distribution layer device that deals with a particular VLAN needs to have that VLAN present and every link between the two layers needs to be a trunk. Often the VLAN and trunks will need to cover more links than are necessary for bare connectivity because we are also providing redundant paths for reliability.
How you will know it is configured correctly
You can use the show vlan and
The hostname can be seen in the device prompt. When unconfigured, devices default to the names "Router" and "Switch". Once configured correctly the device should have the same prompt as its name.
Suggestion Throughout this case study, you have many devices to configure, often with the same or similar commands. It is worthwhile creating a sequence of common commands in an editor such as "notepad" or "gedit" and pasting these into your switches and routers to save time. For example, the following can be pasted into each switch to set the VTP mode.
enable conf t vtp mode transparent
Providing a meaningful hostname prevents confusion when remotely accessing a switch or router.
The addition of the command "vtp mode transparent" allows EVE to successfully capture your VLAN information from switches during export. This will become more meaningful as we move through the switching topics.
Configure the hostnames as indicated in the topology diagram and add the command "vtp mode transparent" to each switch. Note that the ISP router is preconfigured and you should not make changes on that device as it is not owned by the California Hotel group.
The hostname on every device and "vtp mode transparent" on each switch (Access and Distribution)".
The hostname can be seen in the device prompt. When unconfigured, devices default to the names "Router" and "Switch". Once configured correctly the device should have the same prompt as its name.
Suggestion
Throughout this case study, you have many devices to configure, often with the same or similar commands. It is worthwhile creating a sequence of common commands in an editor such as "notepad" or "gedit" and pasting these into your switches and routers to save time. For example, the following can be pasted into each switch to set the VTP mode.
enable conf t vtp mode transparent
What questions could I see on the practical exam?
- You might need to set or change a hostname.
You might need to set or change a hostname.
- Use VTP mode transparent as this will force EVE to save your VLAN information in the running configuration.
- Trunks should be implemented between the distribution and access switches to provide redundant connections.
- The access switch port connecting to each PC should be placed in an appropriate VLAN.