EVE-NG Cisco IOL(IOU on Linux) 설치

2024. 10. 5. 23:03·Network/Emulator

오늘은 EVE-NG에 Cisco IOL(IOU on Linux)을 설치하는 방법을 공유하려고 합니다.

[ 작성 기준 ]
VMware Workstation Pro 17.0.0
EVE-NG Community Vertion 6.2.0-4

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

 

1. EVE-NG Cisco IOL(IOU on Linux) 설치

https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-iol-ios-on-linux/

 

Cisco IOL (IOS on Linux) -

Versions this guide is based on: Recommended IOL image versions: Note: The older IOL versions might not work. Avoid using IOL L3 15.5.2T (it has serious freeze console bug after some time of running) Type …

www.eve-ng.net

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

 

1) EVE-NG booting

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

 

2) Cisco IOL OS upload

  • FTP를 사용할 수 있는 프로그램을 실행한다.
  • '/opt/unetlab/addons/iol/bin/' Directory에 IOL OS 파일들을 복사한다.

 

root@eve-ng:~# cd /opt/unetlab/addons/iol/bin/
root@eve-ng:/opt/unetlab/addons/iol/bin# ls -la
total 450856
drwxr-xr-x 2 root root      4096 Aug 23 20:05 .
drwxr-xr-x 4 root root      4096 Aug 23 21:21 ..
-rwxr-xr-x 1 root root  73017484 Aug 23 20:03 i86bi-linux-l2-adventerprisek9-15.1c.bin
-rwxr-xr-x 1 root root 103040504 Aug 23 20:03 i86bi-linux-l2-adventerprisek9-15.6.0.9S.bin
-rwxr-xr-x 1 root root 126249700 Aug 23 20:03 i86bi_linux_l2-adventerprisek9-ms.SSA.high_iron_20190423.bin
-rwxr-xr-x 1 root root 159350476 Aug 23 20:03 i86bi-linux-l3-adventerprisek9-15.4.2T4.bin
-rw-r--r-- 1 root root        38 Aug 23 20:05 iourc
root@eve-ng:/opt/unetlab/addons/iol/bin#

 

3) Fix permissions

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

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

 

4) Cisco IOL license input

root@eve-ng:~# cd /opt/unetlab/addons/iol/bin/
root@eve-ng:/opt/unetlab/addons/iol/bin# nano iourc
  • 'nano' 편집기를 사용하여 'iourc' 파일을 생성한다.

 

  • License 입력 후, 'Ctrl + x > y > Enter'를 입력한다.

 

root@eve-ng:/opt/unetlab/addons/iol/bin# cat iourc
[license]
eve-ng = 972f30267ef51616;

root@eve-ng:/opt/unetlab/addons/iol/bin#
  • 'cat' 명령어를 사용하여 'iourc' 파일에 License가 잘 입력되었는지 확인한다.

 

5) Cisco IOL booting

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

 

  • 업로드한 Image가 모두 있는지 확인한다.

 

  • 아래 로그는 Cisco IOL이 부팅되는 과정이다.
더보기
Press RETURN to get started!


*Aug 24 02:00:07.985: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Aug 24 02:00:08.316: %SYS-5-RESTART: System restarted --
Cisco IOS Software, Linux Software (I86BI_LINUXL2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20190423)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to  V152_6_0_81_E
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Tue 23-Apr-19 02:38 by mmen
*Aug 24 02:00:09.239: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Aug 24 02:00:09.240: %LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up
*Aug 24 02:00:09.240: %LINK-3-UPDOWN: Interface Ethernet0/2, changed state to up
*Aug 24 02:00:09.258: %LINK-3-UPDOWN: Interface Ethernet0/3, changed state to up
*Aug 24 02:00:10.178: %PLATFORM-5-SIGNATURE_VERIFIED: Image '/i86bi_linux_l2-adventerprisek9-ms.SSA.high_iron_20190423.bin' passed code signing verification
*Aug 24 02:00:10.243: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
*Aug 24 02:00:10.243: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to up
*Aug 24 02:00:10.243: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/2, changed state to up
*Aug 24 02:00:10.265: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/3, changed state to up
NIX ERR:tcgetattr:Inappropriate ioctl for device

              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, Linux Software (I86BI_LINUXL2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20190423)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to  V152_6_0_81_E
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Tue 23-Apr-19 02:38 by mmen
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.

Linux Unix (Intel-x86) processor with 921491K bytes of memory.
Processor board ID 67108880
4 Ethernet interfaces
1024K bytes of NVRAM.



Press RETURN to get started!


*Aug 24 02:00:23.669: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Aug 24 02:00:23.993: %SYS-5-RESTART: System restarted --
Cisco IOS Software, Linux Software (I86BI_LINUXL2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20190423)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to  V152_6_0_81_E
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Tue 23-Apr-19 02:38 by mmen
*Aug 24 02:00:25.201: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Aug 24 02:00:25.220: %LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up
*Aug 24 02:00:25.469: %LINK-3-UPDOWN: Interface Ethernet0/2, changed state to up
*Aug 24 02:00:25.469: %LINK-3-UPDOWN: Interface Ethernet0/3, changed state to up
*Aug 24 02:00:25.846: %PLATFORM-5-SIGNATURE_VERIFIED: Image '/i86bi_linux_l2-adventerprisek9-ms.SSA.high_iron_20190423.bin' passed code signing verification
*Aug 24 02:00:26.204: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up
*Aug 24 02:00:26.226: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/1, changed state to up
*Aug 24 02:00:26.477: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/2, changed state to up
*Aug 24 02:00:26.477: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/3, changed state to up
Switch>

 

Switch>enable 
Switch#show version 
Cisco IOS Software, Linux Software (I86BI_LINUXL2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20190423)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to  V152_6_0_81_E
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Tue 23-Apr-19 02:38 by mmen

ROM: Bootstrap program is Linux

Switch uptime is 1 minute
System returned to ROM by reload at 0
System image file is "unix:/opt/unetlab/addons/iol/bin/i86bi_linux_l2-adventerprisek9-ms.SS"
Last reload reason: Unknown reason

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

 

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

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

EVE-NG Wireshark Capture  (1) 2024.10.15
EVE-NG Cisco vIOS Switch 설치  (4) 2024.10.11
EVE-NG Cisco vIOS Router 설치  (1) 2024.10.09
EVE-NG Cisco IOS 설치  (4) 2024.10.07
EVE-NG Nokia 7750 SR 21.10.R1 설치  (1) 2024.10.03
EVE-NG Nokia 7750 SR 13.0.R4 설치  (4) 2024.10.01
EVE-NG ExtremeXOS 30.2.1.8 설치  (4) 2024.09.29
EVE-NG ExtremeXOS 22.4.1.4 설치  (4) 2024.09.27
'Network/Emulator' 카테고리의 다른 글
  • EVE-NG Cisco vIOS Router 설치
  • EVE-NG Cisco IOS 설치
  • EVE-NG Nokia 7750 SR 21.10.R1 설치
  • EVE-NG Nokia 7750 SR 13.0.R4 설치
ant-choi의 네트워크
ant-choi의 네트워크
안녕하세요. 네트워크 엔지니어로 근무하고 있는 직장인 입니다. 2024.08.26부터 새로운 버전으로 블로그를 개설하였습니다. 제가 스터디한 내용이나 회사에서 업무 진행 시, 필요한 내용들을 정리하여 업로드 하는 것을 목표로 하고 있습니다. 오류가 있거나 피드백이 있으신 분들은 댓글 남겨주시면 감사하겟습니다.
  • ant-choi의 네트워크
    ant-choi의 네트워크
    ant-choi의 네트워크
  • 전체
    오늘
    어제
    • 분류 전체보기 (141) N
      • Network (124) 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 (10) 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 IOL(IOU on Linux) 설치
    상단으로

    티스토리툴바