This repo project demonstrates my self study prep of CCNP comptetencies using EVE-NG (Emulated Virtual Environment Next Generation) in preperation for certification acquisition. It showcases that not alot of financial resourcs are needed in order to pursue your education goals in becoming a competent CCNP level Network Engineer. With a labtop of 16GB (recommended) of ram, this platform allows training from anywhere in the world.
To illustrate a cost effective platform to allow for the practice and self study in Network Engineering via providing the ability to:
- Design and emulate a complex network topology
- Practice configuration of Cisco routers, Layer 2/3 switches, and firewalls
- Test routing protocols (OSPF, EIGRP, BGP)
- Implement VLANs and inter-VLAN routing
- Simulate internet connectivity with NAT/PAT
- Prepare for CCNA/CCNP certification as well as network automation
| Tool | Purpose |
|---|---|
| EVE-NG | Network Emulation Platform |
| Cisco IOU / Dynamips | Router & Switch Emulation |
| SD-WAN | Overlay network implementation over core underlay routing |
| Linux / Windows VMs | Host Simulation and network automation |
| Wireshark | Packet Capture and Analysis |
Please view my EVE-NG setup tutorial for lab environment setup.
For L3 (Router) and L2 (Switch) files, there are 2 main flavors commonly used:
- IOL (contains less features, but requires less system resources to run allowing more nodes to run successfully)
- vIOS (more feature rich, requiring more system resources to run)
Place IOL image files on EVE-NG in folder /opt/unetlab/addons/iol/bin folder location
└─ Also place license generation file.py in same folder
└─ Change execution permission on the file via: sudo chmod +x <filename>
└─ 1) Copy License information generated
└─ 2) Paste contents into iourc file you'll create via: nano -c iourc > Ctrl + X > Enter to save
└─ Fix permission via command: /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
IOL images should now run successfully after starting and able to console into
Place vIOS image files in folders on EVE-NG in folder /opt/unetlab/addons/qemu folder location
└─ For L2 switch, make sure folder is named: viosl2-<foldername choice>
└─ For L2 router, make sure folder is named: vios-<foldername choice>
└─ Fix permission via command: /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
vIOS images should now run successfully after starting and able to console into
If you are looking for alternative variations for logging into router/switch consoles or graphical gui devices, please follow these steps and feel free dig deeper for more custom configurations to suit your preferences.
Learning is a lifelong journey and we all go about it in our own way. I've always been a self starter, constantly seeking and pushing towards non-conventional methods for obtaining the knowledge I know I needed to get to where I wanted trajectory of my life to go. Has the trial and error always gone as planned - ABSOLUTELY NOT... but it's the spice of life that keeps things interesting and builds resolve to just keep going after picking yourself up, dusting yourself off, and shaking off the disapointments and setbacks. This CCNP Lab repo, I hope, will show my resolve to constantly get better, even if revisiting the chapters of my professional journey in Networking seems a bit combersome at times.
Big shout out to the pioneers who shaped my educational yesteryear; from the countless CBT Nugget series videos and Kevin Wallace - who personally explained networking to me in an easy, digestable format that allowed this free thinker to finally make sense of the Networking jumble. Salute.
Colleagues, Onward.
The aim for this section is to showcase configuration and verification of EIGRP topics. High level, theoretcial knowledge on the EIGRP routing protocol can be found here.
| Commands | Summary |
|---|---|
| show ip eigrp neighbors | show EIGRP neighbors and operational status |
| show ip eigrp neighbors detail | show EIGRP neighbor adjacency details, stub router |
| clear ip eigrp 1 neighbors | clear (reset) all neighbor adjacencies for AS 1 |
| show ip eigrp interfaces | show EIGRP active interfaces and performance |
| show ip eigrp interfaces detail Gi1/0 | show detailed operational status of EIGRP interfaces |
| show ip eigrp topology | show EIGRP topology table entries, metrics, and states |
| show ip eigrp topology 10.0.5.0/27 | show EIGRP topology entry details for a specific prefix |
| show ip eigrp topology all-links | show all paths and non-feasible in EIGRP topology table |
| show eigrp protocols | show EIGRP global settings, metrics, AD, variance |
-
Enable EIGRP globally on all routers
-
Configure router id manually on all routers.
-
Advertise LAN segments, WAN connected subnets and loopbacks
-
Enable passive interface for LAN segments and loopbacks
-
Do not redistribute routes between AS 100 and AS 200
-
Verify EIGRP neighbor adjacenty and routing tables
- show ip eigrp neighbors
- show ip route eigrp
- show ip route (R4)
-
Redistribute eigrp (as number) for advertising between EIGRP AS's
The aim for this lab is to showcase configuration and OSPF verification. Theoretcial knowledge on the OSPF routing protocol can be found here.
-
Enable OSPF on all R1, R2, R3, INET-1 interfaces with interface method
-
Configure passive interfaces on LAN Segments and loopbacks
-
Enable OSPF on Remote-1 and Remote-2 interfaces with global method
-
Advertise all LAN segments, WAN connected subnets, and loopbacks
-
Advertise default route from INET-1 to downstream routers for internet access
-
Verify lab configuration and OSPF routing tables
- show ip ospf neighbor (R1, INET-1, R3)
- show ip route ospf (R1, INET-1, R3)
- show ip protocols (R1)
- show ip ospf interface (R1, INET-1, Remote-1)
- ping (LAN-2, ISP, Remote-1)
Will take a look at OSPF learned networks and checks only from INET-1 perspective here & verify Pings - proving connectivity... all other verification checks from lab requirements successful ✔️.
Show ip ospf neighbor
└─ 1) Shows Management (loopback) addresses for directly connected neighbors
Show ip route ospf
└─ 2) Show learned routes through OSPF, make note of Remote routes (172...) learned from summary route configured from Remote-1
└─ 3) Also showing the point-to-point routes for interface IPs configured connecting OSPF participating routers
Show ip protocols
└─ 1) Shows Management (loopback) addresses for INET-1 (192.168.255.4)
└─ 2) Indicates INET-1 as both ABR and ASBR, also showing directly connected OSPF areas (0 & 3)
└─ 3) Shows participating interfaces in Area 0
└─ 4) Shows participating interfaces in Area 3
└─ 5) Shows passive interfaces (interfaces where routes will not be advertised, but still run - reducing routing table overhead)
└─ 6) Shows neighboring OSPF Participating routers
R1:
hostname R1
interface Loopback0
description Management Interface
ip address 192.168.255.1 255.255.255.255
ip ospf 1 area 0
interface Ethernet0/0
description link to R2 router
ip address 192.168.1.2 255.255.255.252
ip ospf 1 area 1
duplex auto
speed auto
media-type rj45
interface Ethernet0/1
description link to INET-1 router
ip address 192.168.1.9 255.255.255.252
ip ospf 1 area 0
duplex auto
speed auto
media-type rj45
interface Ethernet0/2
description link to R3 router
ip address 192.168.1.5 255.255.255.252
ip ospf 1 area 0
duplex auto
speed auto
media-type rj45
router ospf 1
passive-interface Loopback0
R2:
hostname R2
interface Loopback0
description Management Interface
ip address 192.168.255.2 255.255.255.255
ip ospf 1 area 1
interface Ethernet0/0
description link to R1 router
ip address 192.168.1.1 255.255.255.252
ip ospf 1 area 1
duplex auto
speed auto
media-type rj45
interface Ethernet0/1
description LAN (172.16.1.0/24)
ip address 172.16.1.254 255.255.255.0
ip ospf 1 area 1
duplex auto
speed auto
media-type rj45
router ospf 1
passive-interface default
no passive-interface Ethernet0/0
R3:
hostname R3
interface Loopback0
description Management Interface
ip address 192.168.255.3 255.255.255.255
ip ospf 1 area 0
interface Ethernet0/0
description link to R1 router
ip address 192.168.1.6 255.255.255.252
ip ospf 1 area 0
duplex auto
speed auto
media-type rj45
interface Ethernet0/1
description link to INET-1 router
ip address 192.168.1.13 255.255.255.252
ip ospf 1 area 0
duplex auto
speed auto
media-type rj45
interface Ethernet0/2
description link to Remote-1
ip address 192.168.1.17 255.255.255.252
ip ospf 1 area 2
duplex auto
speed auto
media-type rj45
router ospf 1
passive-interface Loopback0
INET-1:
hostname INET-1
interface Loopback0
description Management Interface
ip address 192.168.255.4 255.255.255.255
ip ospf 1 area 0
interface Ethernet0/0
description link to R1 router
ip address 192.168.1.10 255.255.255.252
ip ospf 1 area 0
duplex auto
speed auto
media-type rj45
interface Ethernet0/1
description link to R3 router
ip address 192.168.1.14 255.255.255.252
ip ospf 1 area 0
duplex auto
speed auto
media-type rj45
interface Ethernet0/2
description link to ISP router
ip address 172.33.1.1 255.255.255.252
duplex auto
speed auto
media-type rj45
interface Ethernet0/3
description link to Remote-2 router
ip address 192.168.1.21 255.255.255.252
ip ospf 1 area 3
duplex auto
speed auto
media-type rj45
router ospf 1
passive-interface Ethernet0/2
passive-interface Loopback0
default-information originate
ip route 0.0.0.0 0.0.0.0 172.33.1.2
Remote-1:
hostname Remote-1
no logging console
vtp mode transparent
spanning-tree mode rapid-pvst
vlan 10-12
interface Loopback0
description Management Interface
ip address 192.168.255.5 255.255.255.255
interface Ethernet0/1
switchport access vlan 10
switchport mode access
media-type rj45
negotiation auto
interface Ethernet0/2
switchport access vlan 11
switchport mode access
media-type rj45
negotiation auto
interface Ethernet0/3
switchport access vlan 12
switchport mode access
media-type rj45
negotiation auto
interface Ethernet0/0
description link to R3 router
no switchport
ip address 192.168.1.18 255.255.255.252
negotiation auto
interface Vlan10
ip address 172.16.10.254 255.255.255.0
interface Vlan11
ip address 172.16.11.254 255.255.255.0
interface Vlan12
ip address 172.16.12.254 255.255.255.0
router ospf 1
passive-interface Loopback0
passive-interface Vlan10
passive-interface Vlan11
passive-interface Vlan12
network 172.16.0.0 0.0.255.255 area 2
network 192.168.1.16 0.0.0.3 area 2
network 192.168.255.5 0.0.0.0 area 2
Remote-2:
hostname Remote-2
interface Loopback0
description Management Interface
ip address 192.168.255.6 255.255.255.255
interface Ethernet0/0
description link to INET-1 router
ip address 192.168.1.22 255.255.255.252
duplex auto
speed auto
media-type rj45
interface Ethernet0/1
description LAN (172.16.2.0/26)
ip address 172.16.2.62 255.255.255.192
duplex auto
speed auto
media-type rj45
router ospf 1
passive-interface default
no passive-interface Ethernet0/0
network 172.16.2.0 0.0.0.63 area 3
network 192.168.1.20 0.0.0.3 area 3
network 192.168.255.6 0.0.0.0 area 3
ISP:
hostname ISP
interface Ethernet0/0
description link to INET-1 router
ip address 172.33.1.2 255.255.255.252
duplex auto
speed auto
media-type rj45
ip route 0.0.0.0 0.0.0.0 172.33.1.1
No Shuts on all interfaces:
interface Ethernet0/0
no shut
!
interface Ethernet0/1
no shut
!
interface Ethernet0/2
no shut
!
interface Ethernet0/3
no shut
!
The aim for this lab is to illustrate industry standard Switching practices at CCNP level, troubleshooting, and verification. Theoretcial knowledge on Switching can be found here. Please feel free to dive deeper into topics still a bit uncertain to you.
| Tool | Purpose |
|---|---|
| root guard | Allows downstream switches from becoming root bridge, err-disabling receiving port if higher bpdu recieved |
| etherchannel | Allows for redundant connectivity, in case of link failure |
| rapid VLAN spanning-tree | Fast convergence, in case of link failure |
| trunks | vlan proliferation |
| portfast | For LAN (PCs, Printers) fast convergence |
| bpduguard | For LAN (PCs, Printers), prevents loops if switch plugged in, err-disabling port |
- DC-3 / DC-4
- show interfaces trunk
- show etherchannel summary
- show spanning-gree summary
- show spanning-tree interface E0/0 detail
- show spanning-tree interface E0/1 detail
- root guard on e0/0 & e0/1
- DC-1 / DC-2
- show interfaces trunk
- show spanning-tree interface e0/0
- show spanning-tree interface e0/1
- show spanning-tree interface E0/0 detail
- show spanning-tree interface E0/0 detail
- Ping
- LAN-1> ping 192.168.9.254
- LAN-2> ping 192.168.10.254
- LAN-3> ping 192.168.11.254
- LAN-4> ping 192.168.12.254
- Failover Testing
-
DC-1: interface e0/0 (shut)
LAN-2 > ping 192.168.9.254 -
DC-1: interface e0/1 (shut)
LAN-1 > ping 192.168.10.254 -
DC-2: interface e0/0 (shut)
LAN-4 > ping 192.168.11.254 -
DC-2: interface e0/0 (shut)
LAN-3 > ping 192.168.12.254
Per topology, the correct ports are designated as ROOT, leading to perspective Root Bridges on DC-3 & DC-4 (Distribution Layer Switches)
- Confirms expected trunk creations, using set native vlan of (99) - industry practice to move off vlan 1
- Redundant port channel (LACP shown)... even with required shutdowns on ports from requirments, this allows for proper pinging of servers through etherchannel
- Verified Rapid Per VLAN spanning tree enabled
4-6 Same verified as on DC-3 as DC-4
With ports shutdown from requirement, LAN PCs are able to reach the .254 server addresses successfully.
DC-1:
hostname DC-1
vtp mode transparent
spanning-tree mode rapid-pvst
vlan 9-10
interface Ethernet0/0
description link to DC-3 (DTP)
switchport trunk allowed vlan 9,10
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
media-type rj45
negotiation auto
interface Ethernet0/1
description link to DC-4 (DTP)
switchport trunk allowed vlan 9,10
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
shutdown
media-type rj45
negotiation auto
interface Ethernet0/2
description hosts VLAN 9
switchport access vlan 9
switchport mode access
media-type rj45
negotiation auto
spanning-tree portfast edge
spanning-tree bpduguard enable
interface Ethernet0/3
description hosts VLAN 10
switchport access vlan 10
switchport mode access
media-type rj45
negotiation auto
spanning-tree portfast edge
spanning-tree bpduguard enable
DC-2:
hostname DC-2
vtp mode transparent
spanning-tree mode rapid-pvst
vlan 11-12
interface Ethernet0/0
description link to DC-4 (Static Trunk)
switchport trunk allowed vlan 11,12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
shutdown
media-type rj45
negotiation auto
interface Ethernet0/1
description link to DC-3 (Static Trunk)
switchport trunk allowed vlan 11,12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
media-type rj45
negotiation auto
interface Ethernet0/2
description hosts VLAN 11
switchport access vlan 11
switchport mode access
media-type rj45
negotiation auto
spanning-tree portfast edge
spanning-tree bpduguard enable
interface Ethernet0/3
description hosts VLAN 12
switchport access vlan 12
switchport mode access
media-type rj45
negotiation auto
spanning-tree portfast edge
spanning-tree bpduguard enable
DC-3:
hostname DC-3
vtp mode transparent
spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 1,10-11 priority 0
spanning-tree vlan 9,12 priority 4096
vlan 9-12
interface Port-channel1
switchport trunk allowed vlan 9-12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
interface Ethernet0/0
description link to DC-1 (DTP)
switchport trunk allowed vlan 9,10
switchport trunk native vlan 99
switchport mode dynamic desirable
media-type rj45
negotiation auto
spanning-tree guard root
interface Ethernet0/1
description link to DC-2 (Static Trunk)
switchport trunk allowed vlan 11,12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
spanning-tree guard root
interface Ethernet0/2
description LACP EtherChannel
switchport trunk allowed vlan 9-12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
channel-group 1 mode active
interface Ethernet0/3
description LACP EtherChannel
switchport trunk allowed vlan 9-12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
channel-group 1 mode active
interface Ethernet1/0
description Server (VLAN 10)
switchport access vlan 10
switchport mode access
switchport nonegotiate
media-type rj45
negotiation auto
interface Ethernet1/1
description Server (VLAN 11)
switchport access vlan 11
switchport mode access
switchport nonegotiate
media-type rj45
negotiation auto
DC-4:
hostname DC-4
vtp mode transparent
spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 9,12 priority 0
spanning-tree vlan 10-11 priority 4096
vlan 9-12
interface Port-channel1
switchport trunk allowed vlan 9-12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
interface Ethernet0/0
description link to DC-2 (Static Trunk)
switchport trunk allowed vlan 11,12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
spanning-tree guard root
interface Ethernet0/1
description link to DC-1 (DTP)
switchport trunk allowed vlan 9,10
switchport trunk native vlan 99
switchport mode dynamic desirable
media-type rj45
negotiation auto
spanning-tree guard root
interface Ethernet0/2
description LACP EtherChannel
switchport trunk allowed vlan 9-12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
channel-group 1 mode passive
interface Ethernet0/3
description LACP EtherChannel
switchport trunk allowed vlan 9-12
switchport trunk encapsulation dot1q
switchport trunk native vlan 99
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
channel-group 1 mode passive
interface Ethernet1/0
description Hosts (VLAN 9)
switchport access vlan 9
switchport mode access
switchport nonegotiate
media-type rj45
negotiation auto
interface Ethernet1/1
description Hosts (VLAN 12)
switchport access vlan 12
switchport mode access
switchport nonegotiate
media-type rj45
negotiation auto
No Shuts on all interfaces:
interface Ethernet0/0
no shut
!
interface Ethernet0/1
no shut
!
interface Ethernet0/2
no shut
!
interface Ethernet0/3
no shut
!













