EVE-NG FAQ

EVE-NG FAQ

How to install EVE on bare box using Ubuntuoriginal ISO distro.
Get Ubuntu ISO:
and install Ubuntu server till you reachUNL installation using bellow guide:

1.      Login with your user as root:
sudo su
Enter your user password

2.      Change root passw
Type: sudo passwd root

root@unl01:~# sudo passwdroot
Enternew UNIX password: eve
Retypenew UNIX password: eve
passwd: password updatedsuccessfully
3.      Change hostname if need
nano /etc/hostname and
nano /etc/hosts

4.      Allow access to use root userssh
From cli:
nano /etc/ssh/sshd_config
change this line:
PermitRootLogin without-password
to
PermitRootLogin yes
And restart the SSHserver:
sudo service ssh restart

5.      After first boot ssh to serverand modify:
sed -i -e's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="net.ifnames=0"/'  /etc/default/grub
update-grub
 
reboot server


6.      It can be skipped ifyou have already IP configured per your needs
 
That step showswhere to configure IP
 
Type nano /etc/network/interfaces
Do adding’s and necessarychanges for this file below:

nano /etc/network/interfaces

# This file describes thenetwork interfaces available on your system
# and how to activatethem. For more information, see interfaces(5).

# The loopback networkinterface
auto lo
iface lo inet loopback

# The primary networkinterface
autoeth0
ifaceeth0 inet dhcp
 
It can also be staticIP, not necessary DHCP

7.      wget -O -http://everbx.podzone.net/repo/eczema@ecze.com.gpg.key | sudo apt-key add -

8.      apt-get update

9.      sudo add-apt-repository"deb [arch=amd64] http://everbx.podzone.net/repo xenial main"

10.  apt-get update

11.  DEBIAN_FRONTEND=noninteractiveapt-get -y install eve-ng

12.  su -
# answer to question …...

 

问:在HTML5控制台中,我单击断开连接并进入鳄梨酱登录页面,现在无法获取任何会话。恐慌。
A:退出/从/到前夕登录,以便能够再次打开html控制台。

问:如何升级我的EVE?

观看视频 
A:运行以下命令:
        apt-get update
        apt-get upgrade

重要提示:更新您的EVE VM后,请使用F5重启您的EVE VM和CLEAR浏览器缓存并刷新浏览器。

问:如何从UNL迁移到EVE?是upgarde可能吗?
A:不是。唯一的办法是备份UNL的所有图像,实验室等,从ISO或OVA安装新的EVE,并将备份从UNL移动到EVE。

问:为什么我的wireshark不工作?(
A:您需要编辑C:\ Program Files \ UNetLab \ wireshark_wrapper.bat文件,并更改root密码以匹配您使用的密码

。Q:启动更多,然后10个CSR给CPU HOG做什么?
A:UKSM是好的对于10个CSR,如果要启动超过10个CSR,请禁用UKSM

问:如何修复权限?
A:从cli 
        / opt / unetlab / wrappers / unl_wrapper -a修复漏洞运行命令

:Q:如何检查从CLI运行的EVE-NG版本?
A:从cli         dpkg -l eve-ng 运行这些命令

问:我的空间不足,我如何向虚拟机添加更多的存储空间?

观看视频 
A:确保您正在运行2.0.2-23 EVE版本或更高版本
        关闭VM 
        将新磁盘添加到具有所需大小
        的虚拟机启动VM

问:EVE-NG的默认用户名和密码是什么?
A:CLI - root / eve 
    WEB - admin / eve 

问:如何将多个节点连接到同一网络?
A:将网络对象添加到实验室拓扑中,并将多个节点连接到它。  

问:什么是CPU限制状态?
A:它限制每个节点的CPU过载,但它不涉及公共CPU利用率。

问:我的IOL节点升级到v2.0.3-53后在NVRAM中丢失配置:(
A:正确,如果实验室是在版本v2.0.2-23之前创建的,IOL使用旧代码与在以后的版本中修复的bug)new版本需要重新运行节点,将为您的IOL创建新的NVRAM解决方案保持您的配置:最好的方式如果你已经expoerted这些配置使用export cfg功能然后你可以启动节点NVRAM擦拭与您的配置在新版本前夕。


 

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 for single 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.1x49-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 packet loss.
  • Ostinato traffic generator 0.7, 0.8
 

使用例如FileZillaWinSCP将下载的映像上传到EVE 然后使用SSH协议以root身份登录并解压缩:

mkdir tmp
cd tmp
tar -xzvf ../NSVPX-KVM-10.5-54.9008.e_nc.tgz

将vmdk文件转换为兼容QEMU的格式:

/opt/qemu/bin/qemu-img convert -f raw -O qcow2 NSVPX-KVM-10.5-54.9008.e_nc.raw nsvpx.qcow2
/opt/qemu/bin/qemu-img convert -c -p -O qcow2 nsvpx.qcow2 nsvpx-cmp1.qcow2
(可选操作) virt-sparsify --compress nsvpx-cmp1.qcow2 nsvpx-cmp2.qcow2

创建HDD图像的文件夹并移动它:

mkdir -p /opt/unetlab/addons/qemu/nsvpx-10.5.54.9008
mv nsvpx-cmp2.qcow2 /opt/unetlab/addons/qemu/nsvpx-10.5.54.9008/virtioa.qcow2

清理并修复权限:

cd ..
rm -rf tmp
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

 

===============

 

CiscoIOUKeygen.py

#! /usr/bin/python
print("*********************************************************************")
print("Cisco IOU License Generator - Kal 2011, python port of 2006 C version")
print("Modified to work with python3 by c_d 2014")
import os
import socket
import hashlib
import struct

# get the host id and host name to calculate the hostkey
hostid=os.popen("hostid").read().strip()
hostname = socket.gethostname()
ioukey=int(hostid,16)
for x in hostname:
 ioukey = ioukey + ord(x)
print("hostid=" + hostid +", hostname="+ hostname + ", ioukey=" + hex(ioukey)[2:])

# create the license using md5sum
iouPad1 = b'\x4B\x58\x21\x81\x56\x7B\x0D\xF3\x21\x43\x9B\x7E\xAC\x1D\xE6\x8A'
iouPad2 = b'\x80' + 39*b'\0'
md5input=iouPad1 + iouPad2 + struct.pack('!I', ioukey) + iouPad1
iouLicense=hashlib.md5(md5input).hexdigest()[:16]

print("\nAdd the following text to ~/.iourc:")
print("[license]\n" + hostname + " = " + iouLicense + ";\n")
print("You can disable the phone home feature with something like:")
print(" echo '127.0.0.127 xml.cisco.com' >> /etc/hosts\n")


lic = ["[license]\n" + hostname + " = " + iouLicense + ";" + "\n"]
f = open('/opt/unetlab/addons/iol/bin/iourc','w')
f.writelines(lic)
f.close()

 

======================= End

 

posted @ 2018-08-31 15:25  lsgxeva  阅读(2914)  评论(0编辑  收藏  举报