flokinet-004 - VLANs

title: flokinet-004 - VLANs
author: Nicholas Morrison
draft: false
tags: [network, workshop, arista]
categories: [workshop]
noindex: true

Connecting to the lab server

Diagram

Topology 02
Topology 02

Goal

What you are responsible for configuring

Creating VLANs

!
vlan 10
   name web
vlan 20
   name mail
!
! etc etc

Configuring access (untagged) ports

!
interface ethernet 2
   description -- link to web-b --
   switchport
   switchport mode access
   switchport access vlan 10
!

Configuring trunk (tagged) ports

!
interface ethernet 1
   description -- link to switch-01 --
   switchport
   switchport mode trunk
   switchport trunk allowed vlan 10,20
!

Looking at the dot1q tags

Look at packets without VLAN tags:

switch-01#bash
bash# tcpdump -i eth2 icmp

web-a# ping 192.168.10.20

Look at packets with VLAN tags:

switch-01#bash
bash# tcpdump -i eth1 icmp
web-a# ping 192.168.10.20

Inspecting the core switch

show mac address-table
show ip arp
show ip route
ping 192.168.x.x

Questions