EVE-NG(网工神器)硬盘扩容

1.EVE-NG介绍

EVE-NG(全称 Emulated Virtual Environment- Next Generation),继 Unetlab 1.0 后的 Unetlab 的 2.0 新版本,改了名字,原名是 Unified Networking Lab 统一网络实验室。笔者觉得名字改的非常合理,这款模拟器已经不仅可以模拟网络设备,也可以运行一切虚拟机。理论上,只要能将虚拟机的虚拟磁盘格式转换为 qcow2 都可以在 EVE-NG 上运行。所以,EVE-NG 可以算得上是仿真虚拟环境。

EVE-NG 是国外大神们开发的,融合了 dynamips,IOL,KVM。它是深度定制的 Ubuntu 操作系统,可以直接把它安装在 x86 架构的物理主机上。它也有 ova 版本,可以导入到 VMware 等虚拟机软件中运行。

EVE-NG 在交互模式上更加具有优势,与 GNS3 截然不同。GNS3 更像是用户使用的软件,只有 GNS3 支持的 OS 才能使用;而 EVE-NG 更像是 CS 模型,EVE-NG 是服务端,用户端可以是支持 http/https 的任意 OS

2.EVE-NG 官方支持的镜像

Dynamips(Cisco IOS emulation)

  • c7200-adventerprisek9-mz.152-4.S6 (supported cards: PA-FE-TX, PA-4E,PA-8E)
  • c3725-adventerprisek9-mz.124-15.T14 (supported cards: NM-1FE-TX,NM-16ESW)
  • c1710-bk9no3r2sy-mz.124-23
  • Other images from the above series should work too

IOL(IOS on Linux also known as IOU)

  • L2-ADVENTERPRISE-M-15.1-20131216.bin
  • L2-ADVENTERPRISE-M-15.1-20140814.bin
  • L2-IPBASEK9-M-15.1-20130726.bin
  • L3-ADVENTERPRISEK9-M-15.4-1T.bin
  • L3-ADVENTERPRISEK9-M-15.4-2T.bin
  • L3-ADVIPSERVICES-M-15.1-2.9S.bin
  • And others

Qemu

  • Cisco ACS 5.6, 5.8.1.4
  • Cisco ISE 1.2, 1.4
  • Cisco ISE 2.1
  • Cisco ASA 8.0.2 (Singe and Multi Context)
  • Cisco ASA 8.4 Multicontext Support
  • Cisco ASA 9.1.5 Multicontext Support
  • Cisco ASAv 9.6.2, 9.7.1 or earlier
  • Cisco IPS 7.1
  • Cisco Firepower 6.1, 6.2 Management centre (FMC)
  • Cisco Firepower 6.1, 6.2 Treat defence ASAv (FTD)
  • Cisco Firepower 6.1, 6.2 NGIPSv
  • Cisco Firepower 5.4 (NGIPS, FMC)
  • Cisco CSR 3.16, 3,17
  • Cisco CSR 16.03 Denali
  • Cisco CSR 16.0.4 Everest
  • Cisco vIOS L3 15.5, 15.6.2T
  • Cisco vIOS L2 15.2
  • Cisco ESA 9.7, 9.8, Email Security Appliance
  • Cisco WSA 8.6, 9.2 10.0 Web Security Appliance
  • Cisco CDA 1.0 Context Delivery Agent
  • Cisco NXOS Titanium 7.1.0.3
  • Cisco NXOSk9 (require source of 2xCPU and 8G RAM for single node)
  • Cisco XRv 5.2.2, 5.3.2, 6.0.1, 6.0.2
  • Cisco XRvK9 6.0.1, 6.1.2 (require source of 4xCPU and 16G RAM forsingle node)
  • Cisco vWLC, 7.4. 8.0.100, 8.2.X, 8.3.X
  • Cisco vNAM Virtual Network Analysis Module 6.2.x
  • Cisco vWAAS 200.5.5
  • Cisco CUCM 11.5.1.11900-26
  • Juniper vSRX 12.1.47D
  • Juniper Olive M series
  • Juniper vSRX NG 15.1×49-D40.6
  • Juniper vXRX NG 15.1X49-D70.3
  • Juniper vMX 14.1.4R8
  • Juniper vMX 16.1R3.10 VCP (control plane node)
  • Juniper vMX 16.1R3.10 VFP (forwarding plane node)
  • Juniper vMX 17.1 VCP (control plane node)
  • Juniper vMX 17.1 VFP (forwarding plane node)
  • Juniper vQFX 10K VRE (routing engine)
  • Juniper vQFX 10K VFE (forwarding engine)
  • Junos Sphere 16.1
  • Alcatel 7750SR: 13.0.R3
  • A10, vThunder 2.7.1
  • Aruba: Clearpass 6.4.X
  • Arista vEOS 4,17.2F and earlier versions
  • Barracuda NGFW
  • Brocade vADX 3.01.1
  • Checkpoint FW: R77-20, R77-30
  • Citrix Netscaler 11.0.62
  • Dell SonicWall 11.3.0
  • CumulusVX 2.5.3
  • ExtremeOS 21.1.14
  • F5 BIG-IP 12.0.0 Supports LTM, GTM HA
  • Fortinet Manager v5
  • Fortinet Mail 53
  • Fortinet FGT v5.X
  • Fortinet 5.2.3
  • HP VSR 1000 7.10
  • Mikrotik 6.30.2
  • PaloAlto FW 7.0, 7.1
  • pfSense FW 2.3
  • S-Terra FW, Gate 4.1,
  • S-Terra CSP-VPN gate 3.1
  • VyOS 1.1.6
  • Windows XP
  • Windows 7
  • Windows 10
  • Windows Server 2003
  • Windows Server 2008R2
  • Windows Server 2012 R2
  • Windows Server 2016
  • Linux TinyCore 6.4
  • Linux Slax 7.08
  • Linux Mint 18
  • Linux Kali x64 Full
  • Linux Kali x386 light
  • Linux Mint 18
  • Linux Ubuntu Desktop 16.04
  • Linux DSL 4.4.10
  • Linus Ubuntu Server 16.04 Webmin
  • Linux NETem: NETem bandwidth limitation, delay, jitter and packetloss.
  • Ostinato traffic generator 0.7, 0.8

3.EVE-NG硬盘扩容

 一、查看当前磁盘使用情况

/dev/mapper/eve--ng--vg-root 就是存放模拟器镜像,需要给LV扩容。

二、EVE-NG硬盘扩容,必须加大物理磁盘,此次选用vsphere环境

三、EVE-NG系统层面增大VG容量

1、修改硬盘容量并确认。

sda2的end sector的值,该数值+1才是sda3的start sector

2、硬盘分区

需要重启才可以

3、SDA3加入VG

查看VG的名字:

将SDA3加入eve-ng-vg

4、扩容LV

查看LV路径和大小

root@eve-ng:~# lvdisplay                     

  --- Logical volume ---

  LV Path                /dev/eve-ng-vg/root

  LV Name                root

  VG Name                eve-ng-vg

  LV UUID                0wyDXu-602J-HQ0N-T1Ue-J5si-EFFY-vKO1tX

  LV Write Access        read/write

  LV Creation host, time eve-ng, 2017-03-18 22:23:02 +0200

  LV Status              available

  # open                 1

  LV Size                23.52 GiB

  Current LE             6021

  Segments               1

  Allocation             inherit

  Read ahead sectors     auto

  - currently set to     256

  Block device           252:0

  

  --- Logical volume ---

  LV Path                /dev/eve-ng-vg/swap_1

  LV Name                swap_1

  VG Name                eve-ng-vg

  LV UUID                umXPMX-3BGd-2TR6-Msjn-zp05-GLvx-ReOHx6

  LV Write Access        read/write

  LV Creation host, time eve-ng, 2017-03-18 22:23:02 +0200

  LV Status              available

  # open                 2

  LV Size                6.00 GiB

  Current LE             1536

  Segments               1

  Allocation             inherit

  Read ahead sectors     auto

  - currently set to     256

  Block device           252:1

将剩余的容量扩容到/dev/eve-ng-vg/root的路径下

重新计算文件系统大小

1.计算文件系统之前的状态

2.计算文件系统之后的状态

扩容完成,希望大家玩EVE-NG玩的开心,祝愿大家拿多多的毛爷爷,迎接白富美,走上人生的巅峰

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值