๐ POST 2
Installing EVE-NG on ESXi: VM Sizing, Time Synchronization, and the Failures That Taught Me the Most
๐ POST 2
Installing EVE-NG on ESXi: VM Sizing, Time Synchronization, and the Failures That Taught Me the Most
Introduction
Installing EVE-NG is deceptively simple.
Download ISO โ create VM โ boot โ login โ GUI loads.
At this point, many people think theyโre done.
I thought so too โ until things started breaking in ways that werenโt obvious, werenโt documented, and werenโt clearly connected.
This post covers what really matters after the ISO boots:
- Correct VM sizing
- Time synchronization
- Hidden dependencies
- Real failure scenarios and fixes
1. Designing the EVE-NG Virtual Machine (This Matters More Than You Think)
EVE-NG is not a โnormalโ VM. It is a hypervisor inside a hypervisor.
That means:
- CPU scheduling matters
- Memory pressure is unforgiving
- Disk and I/O latency show up as strange behavior
2. Recommended EVE-NG VM Sizing (Baseline)
Here is a realistic baseline for a serious lab:

Rule of thumb: If you want IOS-XRv or CSR1000v, 32 GB RAM is the real minimum.
3. Hardware Sizing Examples (Practical Scenarios)
๐น Example 1: Enterprise Lab (IOL + Few CSR)
Goal: Campus + WAN lab Nodes:
- 6 ร IOL L2
- 4 ร IOL L3
- 2 ร CSR1000v
RAM calculation:
- IOLs: ~4 GB total
- CSR: ~8 GB
- EVE overhead: ~6โ8 GB
โก๏ธ Total needed: ~20 GB โก๏ธ Recommended VM RAM: 32 GB (safe margin)
๐น Example 2: ISP / MPLS Lab (XRv heavy)
Nodes:
- 4 ร IOS-XRv (PE/P)
- 2 ร CSR (CE)
- Few IOLs for access
RAM calculation:
- XRv: ~20โ24 GB
- CSR: ~8 GB
- EVE overhead: ~8 GB
โก๏ธ Total needed: ~36โ40 GB โก๏ธ Recommended VM RAM: 48โ64 GB
Lesson: XRv does not fail loudly when RAM is insufficient. It justโฆ behaves badly.
4. CPU Oversubscription: What Works and What Doesnโt
CPU is far more forgiving than RAM.
What works:
- Oversubscribing vCPU
- Sharing cores across IOL nodes
- Bursty CPU usage
What doesnโt:
- Starving XRv during boot
- Running many XRv nodes on few physical cores
Rule: CPU oversubscription is fine. RAM oversubscription is not.
5. The Time Synchronization Problem (The Silent Killer)
This was the most confusing issue I faced.
Symptoms (Real Ones)
- apt update fails with: โRelease file is not valid yetโ
- Package installations fail randomly
- VPN installation refuses to work
- No obvious error pointing to time
Nothing looked broken.
6. Diagnosing Time Issues
First check:
timedatectl
If you see:
System clock synchronized: no
You are already in trouble โ even if the GUI loads fine.
7. Why This Happens (Important Insight)
- Package repositories are time-signed
- Certificates depend on system time
- VPNs refuse to authenticate if time drifts
- Nested VMs often donโt sync time reliably
So one small issue breaks:
- APT
- TLS
- VPN
- Updates
All at once.
8. Real Failure Scenario: APT and VPN Both Broken
In my case:
- EVE-NG GUI worked
- Images partially worked
- VPN installation kept failing
- APT showed confusing errors
The root cause? โก๏ธ System time was ahead of real time.
This took far longer to diagnose than it should have.
9. The Reliable Fix: Chrony (Server-Grade NTP)
Instead of relying on default time sync, I switched to chrony.
Installation
apt install -y chrony
systemctl enable chrony
systemctl start chrony
Verify
chronyc tracking
Expected output includes:
Leap status : Normal
System time : very small offset
Then confirm:
timedatectl
System clock synchronized: yes
After this:
- APT worked immediately
- VPN installed cleanly
- Errors disappeared
Lesson: If time is wrong, nothing else is trustworthy.
10. Disk and Storage Considerations (Often Ignored)
Images grow quickly.
What starts as:
- 1 GB image
Becomes:
- 4โ8 GB after operation
- More with snapshots
Recommendation
- Allocate 200+ GB disk
- Avoid thin provisioning if possible
- Monitor /opt/unetlab/addons
Running out of disk causes:
- Image corruption
- Silent node failures
11. Early Stability Lessons
Before even adding serious labs, I learned:
- EVE-NG is stable if the base OS is stable
- Time sync is not optional
- RAM planning avoids 90% of issues
- Many failures look unrelated but share a root cause
This changed how I approached the rest of the setup.
Closing Thoughts
This stage taught me something important:
Most lab problems are infrastructure problems, not networking problems.
Before touching routing protocols, I had to:
- Fix time
- Fix resources
- Fix stability
Only then did EVE-NG behave predictably.
๐ Next in the Series
Post 3: Installing Network Images in EVE-NG โ Precision, Permissions, and Why Images Donโt Appear
This is where most people get stuck โ and where accuracy matters more than experience.
๋ฉํ๋ฐ์ดํฐ
- post_id
- cd285fc14790
- slug
- post-2-cd285fc14790
- url
- https://medium.com/@khan.khalidn/post-2-cd285fc14790
- canonical_url
- https://medium.com/@khan.khalidn/post-2-cd285fc14790
- author_url
- https://medium.com/@khan.khalidn
- status
- ok
- fetched_at
- 2026-07-13 12:25:32