EVE-NG Cisco vIOS Router 설치

2024. 10. 9. 23:21·Network/Emulator

오늘은 EVE-NG에 Cisco vIOS Router을 설치하는 방법을 공유하려고 합니다. 

[ 작성 기준 ]

VMware Workstation Pro 17.0.0

EVE-NG Community Vertion 6.2.0-4

먼저 설치하려는 Cisco vIOS Router OS를 구글에 검색하여 파일을 다운로드해야 합니다.

 

1. EVE-NG Cisco vIOS Router 설치

https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-vios-from-virl/

 

Cisco vIOS from VIRL -

Versions this guide is based on: EVE Image Foldername Downloaded Original Filename Version vCPUs vRAM 1. vios-adventerprisek9-m.spa.159-3 vios-adventerprisek9-m.spa.159-3.m6.qcow2 15.9.6M6 1 1024 2. viosl2-adventerprisek9-m.SSA.high_iron_20200929 vios_l2-a

www.eve-ng.net

  • 필자는 위 사이트를 참고하여 설치하였다. 
  • 아래에 쉽게 설명하였으니 따라오면 문제없이 Cisco vIOS Router OS를 설치할 수 있다고 생각한다.

 

1) EVE-NG booting

  • 먼저 EVE-NG를 부팅한다.

 

2) Cisco vIOS Router OS upload

root@eve-ng:~# mkdir /opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T
root@eve-ng:~# cd /opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T/
root@eve-ng:/opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T# ls -la
total 8
drwxr-xr-x 2 root root 4096 Aug 24 12:29 .
drwxr-xr-x 9 root root 4096 Aug 24 12:29 ..
root@eve-ng:/opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T#
  • '/opt/unetlab/addons/qemu' 경로에 'vios-adventerprisek9-m.SPA.156-2.T'라는 Directory를 생성한다. 이때, vIOS Version에 맞게 Directory 이름을 설정한다.

 

  • FTP를 사용할 수 있는 프로그램을 실행한다.  
  • 위에서 생성한 '/opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T' Directory에 'vios-adventerprisek9-m.SPA.156-2.T' 파일을 복사한다.

 

root@eve-ng:~# cd /opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T/
root@eve-ng:/opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T# ls -la
total 125448
drwxr-xr-x 2 root root      4096 Aug 24 12:38 .
drwxr-xr-x 9 root root      4096 Aug 24 12:29 ..
-rw-r--r-- 1 root root 128450560 Aug 24 12:38 vios-adventerprisek9-m.vmdk.SPA.156-2.T
root@eve-ng:/opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T#

 

3) Cisco vIOS Router image name change

root@eve-ng:/opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T# mv vios-adventerprisek9-m.vmdk.SPA.156-2.T virtioa.qcow2
root@eve-ng:/opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T# ls -la
total 125448
drwxr-xr-x 2 root root      4096 Aug 24 12:39 .
drwxr-xr-x 9 root root      4096 Aug 24 12:29 ..
-rw-r--r-- 1 root root 128450560 Aug 24 12:38 virtioa.qcow2
root@eve-ng:/opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-2.T#
  • 위에서 Upload 한 'vios-adventerprisek9-m.SPA.156-2.T'를 'virtioa.qcow2'로 변경한다.

 

4) Fix permissions

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions

root@eve-ng:~#
  • 권한을 수정한다.

 

5) Cisco vIOS Router booting

  • Web을 이용하여 EVE-NG로 접속하면 'Cisco vIOS Router'가 추가되어 있다.

 

  • Image가 'vios-adventerprisek9-m.SPA.156-2.T'임을 확인한다. 
  • UUID는 입력할 필요가 없다.

 

-machine type=pc,accel=kvm -serial mon:stdio -nographic -no-user-config -nodefaults -rtc base=utc -cpu host
  • QEMU Version, QEMU Arch, QEMU Nic, QEMU custom options은 위 캡처 자료와 동일해야 한다.

 

  • 아래 로그는 Cisco vIOS Router가 부팅되는 과정이다.
더보기
 GNU GRUB  version 2.00


      Use the ^ and v keys to select which entry is highlighted.      
      Press enter to boot the selected OS, `e' to edit the commands      
      before booting or `c' for a command-line. ESC to return      
      previous menu.      
   The highlighted entry will be executed automatically in 5s.
   The highlighted entry will be executed automatically in 4s.
   The highlighted entry will be executed automatically in 3s.
   The highlighted entry will be executed automatically in 2s.
   The highlighted entry will be executed automatically in 1s.
   The highlighted entry will be executed automatically in 0s.
  Booting `IOSv'

error: Can't get controller info..
Booted IOSv. Boot args: [/vios-adventerprisek9-m]

Smart Init is enabled

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706



Cisco IOS Software, IOSv Software (VIOS-ADVENTERPRISEK9-M), Version 15.6(2)T, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Tue 22-Mar-16 16:19 by prod_rel_team




This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco IOSv (revision 1.0) with  with 984321K/62464K bytes of memory.Installed image archive

Processor board ID 9XS1BT2IOWXZT4PRPK2WO
4 Gigabit Ethernet interfaces
DRAM configuration is 72 bits wide with parity disabled.
256K bytes of non-volatile configuration memory.
2097152K bytes of ATA System CompactFlash 0 (Read/Write)
0K bytes of ATA CompactFlash 1 (Read/Write)
0K bytes of ATA CompactFlash 2 (Read/Write)
0K bytes of ATA CompactFlash 3 (Read/Write)


         --- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: no


Press RETURN to get started!


*Mar  1 00:00:00.627: %ATA-6-DEV_FOUND: device 0x1F0
*Mar  1 00:00:08.107: %NVRAM-5-CONFIG_NVRAM_NOT_FOUND: NVRAM configuration 'flash:/nvram' could not be found on disk.
*Aug 24 12:35:08.329: %PA-3-PA_INIT_FAILED: Performance Agent failed to initialize (Missing Data License)
*Aug 24 12:35:11.304: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up
*Aug 24 12:35:11.306: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up
*Aug 24 12:35:11.307: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up
*Aug 24 12:35:11.308: %LINK-3-UPDOWN: Interface GigabitEthernet0/3, changed state to up
*Aug 24 12:35:12.306: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
*Aug 24 12:35:12.307: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
*Aug 24 12:35:12.307: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up
*Aug 24 12:35:12.308: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to up
*Aug 24 12:36:32.227: %IP-5-WEBINST_KILL: Terminating DNS process
*Aug 24 12:36:32.920: %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to administratively down
*Aug 24 12:36:32.946: %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to administratively down
*Aug 24 12:36:32.971: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively down
*Aug 24 12:36:32.997: %LINK-5-CHANGED: Interface GigabitEthernet0/3, changed state to administratively down
*Aug 24 12:36:33.920: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to down
*Aug 24 12:36:33.946: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down
*Aug 24 12:36:33.971: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to down
*Aug 24 12:36:33.997: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to down
*Aug 24 12:36:39.402: %SYS-5-RESTART: System restarted --
Cisco IOS Software, IOSv Software (VIOS-ADVENTERPRISEK9-M), Version 15.6(2)T, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Tue 22-Mar-16 16:19 by prod_rel_team
*Aug 24 12:36:39.472: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Aug 24 12:36:39.473: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*Aug 24 12:37:02.502: %PLATFORM-5-SIGNATURE_VERIFIED: Image 'flash0:/vios-adventerprisek9-m' passed code signing verification
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS  *
* education. IOSv is provided as-is and is not supported by Cisco's      *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any       *
* purposes is expressly prohibited except as otherwise authorized by     *
* Cisco in writing.                                                      *
**************************************************************************
Router>

 

Router>enable 
Router#show version 
Cisco IOS Software, IOSv Software (VIOS-ADVENTERPRISEK9-M), Version 15.6(2)T, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Tue 22-Mar-16 16:19 by prod_rel_team

~~~ 생략 ~~~
  • Cisco vIOS는 기본 계정이 없다.
  • Version 확인

 

저작자표시 비영리 변경금지 (새창열림)

'Network > Emulator' 카테고리의 다른 글

EVE-NG Juniper vQFX 18.4R1.8 설치  (0) 2025.03.24
EVE-NG Juniper vQFX 17.4R1.16 설치  (0) 2025.03.22
EVE-NG Wireshark Capture  (1) 2024.10.15
EVE-NG Cisco vIOS Switch 설치  (4) 2024.10.11
EVE-NG Cisco IOS 설치  (4) 2024.10.07
EVE-NG Cisco IOL(IOU on Linux) 설치  (6) 2024.10.05
EVE-NG Nokia 7750 SR 21.10.R1 설치  (1) 2024.10.03
EVE-NG Nokia 7750 SR 13.0.R4 설치  (3) 2024.10.01
'Network/Emulator' 카테고리의 다른 글
  • EVE-NG Wireshark Capture
  • EVE-NG Cisco vIOS Switch 설치
  • EVE-NG Cisco IOS 설치
  • EVE-NG Cisco IOL(IOU on Linux) 설치
ant-choi의 네트워크
ant-choi의 네트워크
안녕하세요. 네트워크 엔지니어로 근무하고 있는 직장인 입니다. 2024.08.26부터 새로운 버전으로 블로그를 개설하였습니다. 제가 스터디한 내용이나 회사에서 업무 진행 시, 필요한 내용들을 정리하여 업로드 하는 것을 목표로 하고 있습니다. 오류가 있거나 피드백이 있으신 분들은 댓글 남겨주시면 감사하겟습니다.
  • ant-choi의 네트워크
    ant-choi의 네트워크
    ant-choi의 네트워크
  • 전체
    오늘
    어제
    • 분류 전체보기 (139) N
      • Network (122) N
        • Juniper Software (0)
        • Juniper Basic (7)
        • Emulator (24)
        • Network Basic (11)
        • ARP, ICMP (14)
        • VLAN (22)
        • STP (0)
        • VRRP (11)
        • Link Aggregation (10)
        • MC-LAG (0)
        • Switching, Routing Basic (15)
        • DHCP (8) N
        • OSPF (0)
        • BGP (0)
        • Routing Instance (0)
        • VXLAN (0)
        • Issue (0)
      • Office (5)
        • Office 공통 (1)
        • Excel (1)
        • Power Point (1)
        • Word (2)
        • Outlook (0)
      • 기타 (12)
        • Windows (1)
        • Browser (4)
        • Tistory (7)
        • Notion (0)
        • Application (0)
  • 블로그 메뉴

    • hELLO· Designed By정상우.v4.10.3
    ant-choi의 네트워크
    EVE-NG Cisco vIOS Router 설치
    상단으로

    티스토리툴바