상세 컨텐츠

본문 제목

[EVE-NG] ASAv 및 ASDM 설치 (Level 4)

보안

by 검은체리 2019. 7. 15. 18:24

본문

1. ASAv 파일(virtioa.qcow2)을 /opt/unetlab/addons/qemu/asav-981/에 복사

 

2. eve-ng에서 아래 명령어 실행 (맨아래 링크 참고)

apt-get update
apt-get install libguestfs-tools
cd /opt/unetlab/addons/qemu/asav-981/

guestfish -a virtioa.qcow2 
run
mount /dev/sda2 /
touch /use_ttyS0
umount /
exit

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

 

3. 실행 후 eve-ng에 ASAv 확인

Cisco ASAv 추가

4. 테스트 구성도를 만들어 보자

테스트 구성도
ASDM을 disk0:에 넣기위해 Mgmt0/0에 Nework 연결

5.  Mgmt0/0 IP 설정  

interface Management0/0 
 nameif management 
 security-level 0 
 ip address 192.168.80.10 255.255.255.0   // asdm 접속 ip
 no shut
ciscoasa(config)# ping 192.168.80.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.80.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
ciscoasa(config)# dir

Directory of disk0:/

7      -rwx  0            04:19:14 Jan 05 2019  use_ttyS0
11     drwx  4096         07:06:04 Jul 02 2019  smart-log
8      drwx  4096         07:05:12 Jul 02 2019  log
12     drwx  4096         07:06:08 Jul 02 2019  coredumpinfo

 

6. FTP로 ASDM 파일 업로드

3CDaemon

ciscoasa(config)# copy ftp: flash:
Address or name of remote host []? 192.168.80.1
Source filename []? asdm-7101.bin
Destination filename [asdm-7101.bin]? 

Accessing ftp://192.168.80.1/asdm-7101.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Verifying file disk0:/asdm-7101.bin...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Writing file disk0:/asdm-7101.bin...

34143680 bytes copied in 4.600 secs (8535920 bytes/sec)
ciscoasa(config)# dir

Directory of disk0:/

7      -rwx  0            04:19:14 Jan 05 2019  use_ttyS0
11     drwx  4096         07:06:04 Jul 02 2019  smart-log
8      drwx  4096         07:05:12 Jul 02 2019  log
12     drwx  4096         07:06:08 Jul 02 2019  coredumpinfo
81     -rwx  34143680     08:55:45 Jul 15 2019  asdm-7101.bin // 파일 확인 

8571076608 bytes total (8515211264 bytes free)

 

7. ASDM 접속을 위한 설정 및 192.168.80.10 접속 

username admin password cisco 
logging enable
!
http server enable
http 192.168.80.0 255.255.255.0 management

192.168.80.10 접속화면

8. JAVA 설치 후 ASDM설치 설치후 접속 

ASDM 접속화면

 

✔ TIP (asdm 설치 이후 실행이 안되고 아래와 같은 화면이 나올 경우)

- 윈도우+r (Run) > winver로 확인하여 1903이전 버전이면 추가 작업 필요

실행파일에서 Propeties의 Target을 아래와 같이 수정

C:\Windows\System32\wscript.exe invisible.vbs run.bat

 

 

- Cisco ASAv IOS 파일 공유 

 

EVE-NG - Google 드라이브

 

drive.google.com

- 참고 링크

 

HowTo add Cisco ASAv

 

www.eve-ng.net

 

# 2021-08 업데이트

 

EVE 2.0.3-112 에서는 부팅 안되는 증상이 발견. (2.0.3-110은 정상동작)
EVE 2.0.3-112에서는 ASAv 9.15-16 사용 필요

구글 드라이브 업데이트 완료

관련글 더보기