안녕하세요.

 

오늘은 PNETLab Upgrade하는 방법에 대해서 알아보겠습니다.

 

1. PNETLab 설치 방법

https://itblog-kr.tistory.com/122

 

[PNETLab][#1]- Installation on VMware workstation

안녕하세요.  EVE-NG Community 무료 버전을 사용하고 있는데, SDWAN 테스트 할때 Jitter, Delay등등을 테스트 하기 위해서는 EVE-NG  PRO로 업그레이드 해야 합니다.  그래서 이번에 PNETLab를 설치 하고 안

itblog-kr.tistory.com

 

2. GUI에 접속 합니다. https://192.168.40.250

System 클릭 합니다. 

 

3. Versions을 클릭 합니다. 

 

4. Upgrade버튼을 클릭 합니다.

 

Current Version이랑 Latest Version이랑 똑같아서 클릭 해도 Upgrade가 않됩니다. 

위와 같은 방법으로 upgrade하면 됩니다. 

안녕하세요.

 

오늘은 PNETLab에서 CheckPoint Firewall를 설치해보겠습니다.

 

PNETLab VMware를 실행 합니다.

설치 방법은 아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/122

 

[PNETLab][#1]- Installation on VMware workstation

안녕하세요.  EVE-NG Community 무료 버전을 사용하고 있는데, SDWAN 테스트 할때 Jitter, Delay등등을 테스트 하기 위해서는 EVE-NG  PRO로 업그레이드 해야 합니다.  그래서 이번에 PNETLab를 설치 하고 안

itblog-kr.tistory.com

 

1. Putty를 통해서 PNETLab에 접속 합니다.

 

IP주소는 위에 참고해서 접속 합니다.

 

2. ishare2 search cpsg검색합니다. 

ishare로는 검색이 되지 않습니다.

ishare2를 설치 해야 합니다.

아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/123

 

[PNETLab][#2]- ishare command

안녕하세요.  오늘은 PNETLab에 ishare command에 대해서 알아보겠습니다.EVE-NG는 시뮬레이션 이미지를 직접 다운로드 받아서 EVE-NG에 업로드 해야합니다.하지만 PNETLab는 자체적으로 시뮬레이션 이미

itblog-kr.tistory.com

 

root@pnetlab:~# ishare2 search cpsg
=============================
    Available QEMU images
=============================
ID   NAME                      SIZE
--   ----                      ----
201  cpsg-R77-20 (checkpoint)  4.0 GiB
202  cpsg-R80-20M1_T14         3.9 GiB
203  cpsg-R80-40               7.4 GiB
204  cpsg-R81                  5.5 GiB
205  cpsg-R81.10               8.1 GiB
206  cpsg-R81.10               5.7 GiB
207  cpsg-R81.20-Licensed      4.9 GiB
208  cpsg2-R81.20-Licensed     4.7 GiB

8 QEMU images found for the term: "cpsg"

============================
    Available IOL images
============================
ID  NAME  SIZE
--  ----  ----

No IOL images found for the term: "cpsg"

=================================
    Available DYNAMIPS images
=================================
ID  NAME  SIZE
--  ----  ----

No DYNAMIPS images found for the term: "cpsg"

root@pnetlab:~#

 

3. CheckPoint Firewall 설치


root@pnetlab:~# ishare2 pull qemu 202
[!] IMAGE INFO
 - Image Name       : cpsg-R80-20M1_T14
 - Image Size       : 3.9 GiB
 - Image Type       : QEMU
 - Image ID         : 202
 - Image path       : /opt/unetlab/addons/qemu/cpsg-R80-20M1_T14
 - Using host       : https://drive.labhub.eu.org
[!] DOWNLOADING IMAGE
/opt/unetlab/addons 100%[===================>]   3.92G  6.78MB/s    in 14m 17s
[+] DOWNLOAD COMPLETED!
[-] Fixing permissions...

[+] Fix permissions command has been executed correctly
root@pnetlab:~#

 

3. https://192.168.40.250 접속 하고 아래 버튼을 클릭 합니다.

 

4. 아래 정보를 입력하고 Add버튼을 클릭 합니다.  CheckPoint Test 그리고 Savve 버튼을 클릭 합니다. 

5. 오른쪽 마우스를 클릭 후 Node를 클릭 합니다. 

 

6. CheckPoint Security Gateay VE 선택합니다. 

7. Save버튼을 클릭 합니다. 

8. Network를 클릭 합니다. 

 

9. save버튼을 클릭 합니다. 

 

10. 아래처럼 연결하고 start버튼을 클릭 합니다. 

11. 아이콘을 더블클릭 하면 아래처럼 putty 또는 CRT가 실행 됩니다.

 

안녕하세요.

 

오늘은 PNETLab에서 Aruba Mobility Controller 설치해보겠습니다.

 

PNETLab VMware를 실행 합니다.

설치 방법은 아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/122

 

[PNETLab][#1]- Installation on VMware workstation

안녕하세요.  EVE-NG Community 무료 버전을 사용하고 있는데, SDWAN 테스트 할때 Jitter, Delay등등을 테스트 하기 위해서는 EVE-NG  PRO로 업그레이드 해야 합니다.  그래서 이번에 PNETLab를 설치 하고 안

itblog-kr.tistory.com

 

1. Putty를 통해서 PNETLab에 접속 합니다.

 

IP주소는 위에 참고해서 접속 합니다.

 

2. ishare2 search VMC검색합니다. 

ishare로는 검색이 되지 않습니다.

ishare2를 설치 해야 합니다.

아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/123

 

[PNETLab][#2]- ishare command

안녕하세요.  오늘은 PNETLab에 ishare command에 대해서 알아보겠습니다.EVE-NG는 시뮬레이션 이미지를 직접 다운로드 받아서 EVE-NG에 업로드 해야합니다.하지만 PNETLab는 자체적으로 시뮬레이션 이미

itblog-kr.tistory.com

 

root@pnetlab:~# ishare2 search VMC
=============================
    Available QEMU images
=============================
ID  NAME                      SIZE
--  ----                      ----
59  aruba-VMC-8.5.0.13_80140  238.9 MiB
60  aruba-VMC-8.6.0.4-74969   246.3 MiB
61  aruba-VMC-8.8.0.1_80393   257.1 MiB
62  aruba-VMC-8.8.0.1_80393   206.5 MiB
63  aruba-VMC_8.3.0.3         726.0 MiB
64  aruba-VMC_8.4.0.3         238.7 MiB

6 QEMU images found for the term: "VMC"

============================
    Available IOL images
============================
ID  NAME  SIZE
--  ----  ----

No IOL images found for the term: "VMC"

=================================
    Available DYNAMIPS images
=================================
ID  NAME  SIZE
--  ----  ----

No DYNAMIPS images found for the term: "VMC"

root@pnetlab:~#

 

3. Aruba VMC 설치

root@pnetlab:~# ishare2 pull qemu 61
[!] IMAGE INFO
 - Image Name       : aruba-VMC-8.8.0.1_80393
 - Image Size       : 257.1 MiB
 - Image Type       : QEMU
 - Image ID         : 61
 - Image path       : /opt/unetlab/addons/qemu/aruba-VMC-8.8.0.1_80393
 - Using host       : https://drive.labhub.eu.org
[!] DOWNLOADING IMAGE
/opt/unetlab/addons/qemu/ 100%[====================================>] 237.56M  8.24MB/s    in 28s
/opt/unetlab/addons/qemu/ 100%[====================================>]  19.50M  6.03MB/s    in 3.5s
[+] DOWNLOAD COMPLETED!
[-] Fixing permissions...

[+] Fix permissions command has been executed correctly
root@pnetlab:~#


 

3. https://192.168.40.250 접속 하고 아래 버튼을 클릭 합니다.

 

4. 아래 정보를 입력하고 Add버튼을 클릭 합니다. 

5. 오른쪽 마우스를 클릭 후 Node를 클릭 합니다. 

 

6. Aruba WIFI Controller 선택합니다. 

7. Save버튼을 클릭 합니다. 

 

8. Network를 클릭 합니다. 

 

9. save버튼을 클릭 합니다. 

 

10. 아래처럼 연결하고 start버튼을 클릭 합니다. 

 

부팅이 완료 될때까지 기다립니다.

 

그리고 기본적은 설정을 합니다.

 

Yes를 입력하면 재부팅이 됩니다. 

부팅이 완료 될때까지 기다립니다. 

 

https://192.168.10.88 

 

 

로그인 정보를 입력 합니다.

 

지금까지 [PNETLab][#7]-Aruba Mobility Controller Install 글을 읽어주셔서 감사합니다. 

안녕하세요.

 

오늘은 PNETLab에서 Aruba CX Switch를 설치해보겠습니다.

 

PNETLab VMware를 실행 합니다.

설치 방법은 아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/122

 

[PNETLab][#1]- Installation on VMware workstation

안녕하세요.  EVE-NG Community 무료 버전을 사용하고 있는데, SDWAN 테스트 할때 Jitter, Delay등등을 테스트 하기 위해서는 EVE-NG  PRO로 업그레이드 해야 합니다.  그래서 이번에 PNETLab를 설치 하고 안

itblog-kr.tistory.com

 

1. Putty를 통해서 PNETLab에 접속 합니다.

 

IP주소는 위에 참고해서 접속 합니다.

 

2. ishare2 search arubacx 검색합니다. 

ishare로는 검색이 되지 않습니다.

ishare2를 설치 해야 합니다.

아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/123

 

[PNETLab][#2]- ishare command

안녕하세요.  오늘은 PNETLab에 ishare command에 대해서 알아보겠습니다.EVE-NG는 시뮬레이션 이미지를 직접 다운로드 받아서 EVE-NG에 업로드 해야합니다.하지만 PNETLab는 자체적으로 시뮬레이션 이미

itblog-kr.tistory.com

 

root@pnetlab:~# ishare2 search arubacx
┌────────────────────────────────────────────────────────────────┐
│ MOTD from the ishare2 team:                                    │
│ Changelog:                                                     │
│ - Fixed bug when doing integrity checks againts qemu images.   │
│                                                                │
│ Telegram: https://t.me/NetLabHub │
│ Donate: https://buymeacoffee.com/sudoalex │
│ GitHub: https://github.com/ishare2-org/ishare2-cli │
└────────────────────────────────────────────────────────────────┘
=============================
    Available QEMU images
=============================
ID  NAME           SIZE
--  ----           ----
65  arubacx-10.03  882.9 MiB
66  arubacx-10.04  1013.9 MiB
67  arubacx-10.04  329.7 MiB
68  arubacx-10.05  350.6 MiB
69  arubacx-10.07  1.4 GiB
70  arubacx-10.07  483.7 MiB

6 QEMU images found for the term: "arubacx"

============================
    Available IOL images
============================
ID  NAME  SIZE
--  ----  ----

No IOL images found for the term: "arubacx"

=================================
    Available DYNAMIPS images
=================================
ID  NAME  SIZE
--  ----  ----

No DYNAMIPS images found for the term: "arubacx"

 

3. Aruba CX Switch 설치

root@pnetlab:~# ishare2 pull qemu 69
[!] IMAGE INFO
 - Image Name       : arubacx-10.07
 - Image Size       : 1.4 GiB
 - Image Type       : QEMU
 - Image ID         : 69
 - Image path       : /opt/unetlab/addons/qemu/arubacx-10.07
 - Using host       : https://drive.labhub.eu.org
/opt/unetlab/addons/qemu/arubacx-10.07/virt 100%[========================================================================================>]   1.40G  1.15MB/s    in 20m 55s
[+] DOWNLOAD COMPLETED!
[-] Fixing permissions...

[+] Fix permissions command has been executed correctly
root@pnetlab:~#


 

3. https://192.168.40.250 접속 하고 아래 버튼을 클릭 합니다.

4. 아래 정보를 입력하고 Add버튼을 클릭 합니다. 

5. 오른쪽 마우스를 클릭 후 Node를 클릭 합니다. 

 

6. Aruba OS-CX Virtual Switch 선택합니다. 

7. Save버튼을 클릭 합니다. 

8. 장비를 부팅 합니다. 

 

10. 디폴트 로그인 정보입니다. 

user: admin

password: no password

 

switch login: admin
Password: 


Please configure the 'admin' user account password.
Enter new password: *************
Confirm new password: *************
switch# 


switch# show 
  aaa                    Authentication, Authorization and Accounting 
  access-list            Access control list (ACL) 
  accounting             Show local accounting information 
  active-gateway         Show active gateway settings 
  alias                  Short names configured for a set of commands 
  arp                    Show IPv4 addresses from neighbor table 
  aruba-central          Configure Aruba-Central 
  banner                 Show one of the configured system banners 
  bfd                    Show BFD information 
  bgp                    BGP specific commands 
  bluetooth              Display information about Bluetooth wireless 
                         management 
  boot-history           Display boot history details 
  capacities             Show system capacities and their values 
  capacities-status      Show system capacities status and their values 
  cdp                    Show various CDP settings 
  checkpoint             Checkpoint information 
  class                  Show Class configuration 
  clock                  Show system date, time, and timezone settings 
  configuration-lockout  Show REST Lockout configuration 
  copp-policy            Control Plane Policing (CoPP) policy 
  core-dump              Display core-dump list for current boot 
  crypto                 Display crypto related features and settings 
  debug                  Display currently active debug log destinations and 
                         types 
  dhcp                   Dynamic Host Configuration Protocol 
  dhcp-relay             Show DHCP relay configuration 
  dhcp-server            Show DHCP server configuration 
  dhcpv4-snooping        Show DHCPv4-Snooping configuration 
  dhcpv6-relay           Show DHCPv6 relay configuration 
  dhcpv6-server          Show DHCP V6 server configuration 
  dhcpv6-snooping        Show DHCPv6-Snooping configuration 
  domain-name            Display domain name 
  environment            Display system environment status information 
  events                 Display all event logs 
  evpn                   EVPN sub-address family 
  external-storage       Show info for one external storage volume or all if 
                         none specified 
  history                Show previously entered commands 
  hostname               Display hostname 
  https-server           HTTPS Server Configuration 
  interface              Interface information 
  ip                     IP information 
  ip-sla                 IP SLA 
  ipv4                   IPv4 information 
  ipv6                   IPv6 information 
  keychain               Keychain information 
  lacp                   Show various LACP settings 
  lag                    Show LAG interface information 
  lldp                   Show various LLDP settings 
  logging                Display all event logs 
  logrotate              Show logrotate config parameters 
  loop-protect           Show loop protection status for all ports with loop 
                         protection enabled 
  mac-address-table      Show Layer 2 MAC address table information 
  macsec                 Show MACsec information 
  mirror                 Show Mirroring configuration 
  mka                    Show MKA information 
  mvrp                   Show MVRP settings and status 
  nae-agent              NAE Agent details 
  nae-script             NAE Script details 
  nd-snooping            Show ND Snooping configuration 
  ntp                    Show NTP information 
  object-group           Object Group 
  password-complexity    Show password complexity enforcement 
  pbr                    Show Policy Based Routing (PBR) information 
  pbr-action-list        Show Policy Based Routing (PBR) action list 
                         configuration information 
  policy                 Classifier policy 
  port-access            Show Port Access information 
  power-over-ethernet    Show Power over Ethernet (PoE) information 
  qos                    Show QoS Configuration 
  radius                 RADIUS Client configuration 
  radius-server          Show RADIUS server configuration 
  resources              Show line module resource information 
  rmon                   Show RMON alarm configurations 
  route-map              Display all Route-map 
  router                 Routing Information 
  running-config         Current running configuration 
  service                Show service information 
  session-timeout        Idle session timeout in minutes 
  sflow                  sFlow configuration 
  snmp                   SNMP configuration 
  snmpv3                 SNMP version 3 configurations 
  spanning-tree          Show spanning tree information 
  ssh                    Show SSH configuration 
  startup-config         Contents of startup configuration 
  system                 System information 
  tacacs-server          Show TACACS server configuration 
  tech                   Display output of a predefined command sequence used 
                         by technical support 
  terminal-monitor       Displays Terminal-monitor status 
  tls                    Display the state of TLS settings 
  track                  Track information 
  ubt                    User Based Tunnel configuration 
  udld                   Show UDLD information 
  upgrade                Show upgrade information 
  uptime                 Show the elapsed time since the device was booted 
  usb                    USB storage device settings 
  user                   Show user information 
  user-group             Local user group to be displayed 
  user-list              Displays the list of local users 
  version                Displays switch version 
  vlan                   Show VLAN configuration 
  vrf                    VRF Configuration 
  vrrp                   VRRP information 
  vsx                    Show various VSX settings 
  ztp                    Zero Touch Provisioning 
switch# show 
% Command incomplete.
switch#    

 

지금까지 [PNETLab][#6]-Aruba CX Switch Install 글을 읽어주셔서 감사합니다.

안녕하세요.

 

오늘은 PNETLab에서 Aruba ClearPass를 설치해보겠습니다.

 

PNETLab VMware를 실행 합니다.

설치 방법은 아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/122

 

[PNETLab][#1]- Installation on VMware workstation

안녕하세요.  EVE-NG Community 무료 버전을 사용하고 있는데, SDWAN 테스트 할때 Jitter, Delay등등을 테스트 하기 위해서는 EVE-NG  PRO로 업그레이드 해야 합니다.  그래서 이번에 PNETLab를 설치 하고 안

itblog-kr.tistory.com

 

1. Putty를 통해서 PNETLab에 접속 합니다.

 

IP주소는 위에 참고해서 접속 합니다.

 

2. ishare2 search clearpass 검색합니다. 

ishare로는 검색이 되지 않습니다.

ishare2를 설치 해야 합니다.

아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/123

 

[PNETLab][#2]- ishare command

안녕하세요.  오늘은 PNETLab에 ishare command에 대해서 알아보겠습니다.EVE-NG는 시뮬레이션 이미지를 직접 다운로드 받아서 EVE-NG에 업로드 해야합니다.하지만 PNETLab는 자체적으로 시뮬레이션 이미

itblog-kr.tistory.com

 

root@pnetlab:~# ishare2 search clearpass
=============================
    Available QEMU images
=============================
ID   NAME                   SIZE
--   ----                   ----
192  clearpass-6.4.0.66263  10.8 GiB
193  clearpass-6.4.0.66263  10.8 GiB
194  clearpass-6.8.0        2.9 GiB

3 QEMU images found for the term: "clearpass"

============================
    Available IOL images
============================
ID  NAME  SIZE
--  ----  ----

No IOL images found for the term: "clearpass"

=================================
    Available DYNAMIPS images
=================================
ID  NAME  SIZE
--  ----  ----

No DYNAMIPS images found for the term: "clearpass"

root@pnetlab:~#

 

3. Aruba Classpass 설치

root@pnetlab:~# ishare2 pull qemu 194
[!] IMAGE INFO
 - Image Name       : clearpass-6.8.0
 - Image Size       : 2.9 GiB
 - Image Type       : QEMU
 - Image ID         : 194
 - Image path       : /opt/unetlab/addons/qemu/clearpass-6.8.0
 - Using host       : https://drive.labhub.eu.org
[!] DOWNLOADING IMAGE
/opt/unetlab/addons 100%[===================>]   2.86G   497KB/s    in 87m 5s
[+] DOWNLOAD COMPLETED!
[-] Extracting: clearpass-6.8.0.tgz file...
[+] Extracted: /opt/unetlab/addons/qemu/clearpass-6.8.0. Image ready to use.
[-] Fixing permissions...

[+] Fix permissions command has been executed correctly
root@pnetlab:~#

 

3. https://192.168.40.250 접속 하고 아래 버튼을 클릭 합니다.

 

4. 아래 정보를 입력하고 Add버튼을 클릭 합니다. 

 

5. 오른쪽 마우스를 클릭 후 Node를 클릭 합니다. 

 

6. Aruba ClearPass 선택합니다. 

 

7. Save버튼을 클릭 합니다. 

 

8. Network를 클릭 합니다. 

 

9. save버튼을 클릭 합니다. 

 

10. 아래처럼 연결하고 start버튼을 클릭 합니다. 

 

11. Lab용이기 때문에, 1번을 선택하고 엔터를 누릅니다. 

 

Y를 선택 합니다.

 

Y를 선택 합니다.

 

Y선택 합니다.

 

부팅이 완료 될때까지 기다립니다.

 

엔터를 클릭 합니다. 

 

12. 디폴트 Username 그리고 Password

user: appadmin

password: eTIPS123

 

13. 아래처럼 기본 설정을 합니다.

 

IP주소를 잘못 설정 하였습니다.

로그인해서 아래처럼 수정 하고 Y를 클릭 합니다.

 

그리고 PC에서 PIng를 시도 합니다.

Ping 192.168.40.91 32바이트 데이터 사용:
192.168.40.91의 응답: 바이트=32 시간=1ms TTL=64
192.168.40.91의 응답: 바이트=32 시간<1ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=1ms TTL=64
192.168.40.91의 응답: 바이트=32 시간<1ms TTL=64
192.168.40.91의 응답: 바이트=32 시간<1ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=1ms TTL=64
192.168.40.91의 응답: 바이트=32 시간<1ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=1ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=4ms TTL=64
192.168.40.91의 응답: 바이트=32 시간<1ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=54ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=120ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=201ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=283ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=359ms TTL=64
192.168.40.91의 응답: 바이트=32 시간=395ms TTL=64

 

https://192.168.40.91로 접속 하면 잘 접속 됩니다. 

ClearPass Policy Manager를 클릭 하면 라이센스 입력 페이지가 나옵니다.

 

Aruba Clear Pass는 NAC역활을 합니다. Cisco 제품군으로 비교하면 Cisco ISE랑 똑같습니다.

Cisco ISE는 6개월 정도 라이센스없이 Trial Version으로 사용 가능하나

Aruba Clear Pass는 라이센스 없으면 사용이 불가능 합니다. 홈페이지에서 trial license 신청 가능합니다. 

 

지금까지 [PNETLab][#5]-Aruba ClearPass Install 글을 읽어주셔서 감사합니다. 

안녕하세요.

 

오늘은 PNETLab를 통해서 Arista vEOS Switch를 설치 해보겠습니다.

 

PNETLab VMware를 실행 합니다.

설치 방법은 아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/122

 

[PNETLab][#1]- Installation on VMware workstation

안녕하세요.  EVE-NG Community 무료 버전을 사용하고 있는데, SDWAN 테스트 할때 Jitter, Delay등등을 테스트 하기 위해서는 EVE-NG  PRO로 업그레이드 해야 합니다.  그래서 이번에 PNETLab를 설치 하고 안

itblog-kr.tistory.com

 

1. Putty를 통해서 PNETLab에 접속 합니다.

 

IP주소는 위에 참고해서 접속 합니다.

 

2. ishare2 search veos 검색합니다. 

ishare로는 검색이 되지 않습니다.

ishare2를 설치 해야 합니다.

아래 글을 참고 부탁드립니다.

https://itblog-kr.tistory.com/123

 

[PNETLab][#2]- ishare command

안녕하세요.  오늘은 PNETLab에 ishare command에 대해서 알아보겠습니다.EVE-NG는 시뮬레이션 이미지를 직접 다운로드 받아서 EVE-NG에 업로드 해야합니다.하지만 PNETLab는 자체적으로 시뮬레이션 이미

itblog-kr.tistory.com

 

root@pnetlab:~# ishare2 search veos
=============================
    Available QEMU images
=============================
ID   NAME                    SIZE
--   ----                    ----
903  veos-4.14.0F            403.1 MiB
904  veos-4.14.5F            402.9 MiB
905  veos-4.15.0F            491.9 MiB
906  veos-4.23.2             425.2 MiB
907  veos-4.23.2.1           431.1 MiB
908  veos-4.24.0             418.5 MiB
909  veos-4.24.1             420.8 MiB
910  veos-4.24.1.1F          420.8 MiB
911  veos-4.24.2.1F          427.0 MiB
912  veos-4.24.2.2F          427.0 MiB
913  veos-4.24.2.3F          426.9 MiB
914  veos-4.24.2.4F          426.9 MiB
915  veos-4.24.2F            426.9 MiB
916  veos-4.24.3M            426.9 MiB
917  veos-4.24.4M            429.0 MiB
918  veos-4.24.5M            429.2 MiB
919  veos-4.24.6M            429.2 MiB
920  veos-4.24.7M            429.4 MiB
921  veos-4.24.8M            428.7 MiB
922  veos-4.25.0F            438.7 MiB
923  veos-4.25.0FX-LDP-RSVP  438.6 MiB
924  veos-4.25.1F            436.9 MiB
925  veos-4.25.2F            423.3 MiB
926  veos-4.25.3.1M          424.1 MiB
927  veos-4.25.3M            423.5 MiB
928  veos-4.25.4M            423.9 MiB
929  veos-4.25.5.1M          433.5 MiB
930  veos-4.25.5M            433.4 MiB
931  veos-4.25.6M            434.1 MiB
932  veos-4.25.7M            433.6 MiB
933  veos-4.26.0.1F          431.0 MiB
934  veos-4.26.0F            431.0 MiB
935  veos-4.26.1F            442.4 MiB
936  veos-4.26.2F            449.1 MiB
937  veos-4.26.3M            449.1 MiB
938  veos-4.26.4M            449.3 MiB
939  veos-4.26.5M            449.4 MiB
940  veos-4.27.0F            442.5 MiB
941  veos-4.27.1F            453.9 MiB
942  veos-4.27.3F            471.1 MiB
943  veos-4.27.4.1M          472.5 MiB
944  veos-4.27.4M            472.5 MiB
945  veos-4.28.0F            481.4 MiB
946  veos-4.28.1F            495.0 MiB
947  veos-4.29.2F            521.3 MiB

45 QEMU images found for the term: "veos"

============================
    Available IOL images
============================
ID  NAME  SIZE
--  ----  ----

No IOL images found for the term: "veos"

=================================
    Available DYNAMIPS images
=================================
ID  NAME  SIZE
--  ----  ----

No DYNAMIPS images found for the term: "veos"

root@pnetlab:~#

 

2. 저는 947  veos-4.29.2F            521.3 MiB 설치해보겠습니다

ishare2 pull qemu 947

root@pnetlab:~# ishare2 pull qemu 947
[!] IMAGE INFO
 - Image Name       : veos-4.29.2F
 - Image Size       : 521.3 MiB
 - Image Type       : QEMU
 - Image ID         : 947
 - Image path       : /opt/unetlab/addons/qemu/veos-4.29.2F
 - Using host       : https://labhub.eu.org
[!] DOWNLOADING IMAGE
/opt/unetlab/addons/qemu/v 100%[======================================>] 521.29M  5.33MB/s    in 94s
[+] DOWNLOAD COMPLETED!
[-] Extracting: veos-4.29.2F.tgz file...
[+] Extracted: /opt/unetlab/addons/qemu/veos-4.29.2F. Image ready to use.
[-] Fixing permissions...

[+] Fix permissions command has been executed correctly
root@pnetlab:~#

 

3. https://192.168.40.250 접속 하고 로그인 합니다. 

 

4. 아래 버튼을 클릭 합니다. 

5. 아래처럼 New Lab이름을 정하고 Add버튼을 클릭 합니다. 

6. 오른쪽 마우스를 클릭하고 Node를 클릭 합니다. 

 

7. Arista vEOS를 선택 합니다. 

 

8. 수정없이 그냥 Save버튼을 클릭 합니다. 

 

9. 장비를 부팅 합니다.

 

10. 장비를 더블클릭하면 Putty또는 CRT가 자동으로 실행 됩니다.

[    4.374620] Running e2fsck on: /mnt/flash
[    4.405684] e2fsck on /mnt/flash took 0s
Data in /mnt/flash/vEOS-lab.swi differs from previous boot image on /mnt/flash.
Saving new boot image to /mnt/flash...
Switching rootfs

Welcome to Arista Networks EOS 4.29.2F
Architecture: x86_64
Starting ProcMgr: Removing all files in all subdirs of /etc/ProcMgr.d/run
[  OK  ]
Starting EOS initialization stage 1: [  OK  ]
Starting NorCal initialization: Starting EOS Cloud Init: [  OK  ]
[  OK  ]
Starting EOS initialization stage 2: [  OK  ]
Completing EOS initialization (press ESC to skip): [  OK  ]
Model and Serial Number: unknown
System RAM: 2005420 kB
Flash Memory size:  3.9G

No startup-config was found.

The device is in Zero Touch Provisioning mode and is attempting to 
download the startup-config from a remote system. The device will not  
be fully functional until either a valid startup-config is downloaded 
from a remote system or Zero Touch Provisioning is cancelled.

To cancel Zero Touch Provisioning, login as admin and type 
'zerotouch cancel' at the CLI. Alternatively, to disable Zero Touch  
Provisioning permanently, type 'zerotouch disable' at the CLI.  
Note: The device will reload when these commands are issued. 

localhost login: Feb  3 12:30:44 localhost ZeroTouch: %ZTP-6-DHCPv4_QUERY: Sending DHCPv4 request with system MAC address on [ Ethernet1, Ethernet2, Ethernet3, Ethernet4, Ethernet5, Ethernet6, Ethernet7, Ethernet8 ] (option 67, 143)
Feb  3 12:30:44 localhost ZeroTouch: %ZTP-6-DHCPv4_QUERY: Sending DHCPv4 request with serial number on [ Ethernet1, Ethernet2, Ethernet3, Ethernet4, Ethernet5, Ethernet6, Ethernet7, Ethernet8 ] (option 67, 143)
Feb  3 12:30:50 localhost Stp: %SPANTREE-6-STABLE_CHANGE: Stp state is now stable
Feb  3 12:30:59 localhost ZeroTouch: %ZTP-4-DHCPv4_QUERY_FAIL: Failed to get a valid DHCPv4 response (option 67, 143)
Feb  3 12:30:59 localhost ZeroTouch: %ZTP-6-RETRY: Retrying Zero Touch Provisioning from the beginning (attempt 1)


No startup-config was found.

The device is in Zero Touch Provisioning mode and is attempting to 
download the startup-config from a remote system. The device will not  
be fully functional until either a valid startup-config is downloaded 
from a remote system or Zero Touch Provisioning is cancelled.

To cancel Zero Touch Provisioning, login as admin and type 
'zerotouch cancel' at the CLI. Alternatively, to disable Zero Touch  
Provisioning permanently, type 'zerotouch disable' at the CLI.  
Note: The device will reload when these commands are issued. 

localhost login: Feb  3 12:31:14 localhost ZeroTouch: %ZTP-6-DHCPv4_QUERY: Sending DHCPv4 request with system MAC address on [ Ethernet1, Ethernet2, Ethernet3, Ethernet4, Ethernet5, Ethernet6, Ethernet7, Ethernet8 ] (option 67, 143)
Feb  3 12:31:14 localhost ZeroTouch: %ZTP-6-DHCPv4_QUERY: Sending DHCPv4 request with serial number on [ Ethernet1, Ethernet2, Ethernet3, Ethernet4, Ethernet5, Ethernet6, Ethernet7, Ethernet8 ] (option 67, 143)


No startup-config was found.

The device is in Zero Touch Provisioning mode and is attempting to 
download the startup-config from a remote system. The device will not  
be fully functional until either a valid startup-config is downloaded 
from a remote system or Zero Touch Provisioning is cancelled.

To cancel Zero Touch Provisioning, login as admin and type 
'zerotouch cancel' at the CLI. Alternatively, to disable Zero Touch  
Provisioning permanently, type 'zerotouch disable' at the CLI.  
Note: The device will reload when these commands are issued. 

localhost login: admin
localhost>
localhost>?
  clear       Reset functions
  connect     TELNET client
  default     Set a command to its defaults
  disable     Disable commands for a specified privilege level
  enable      Enable commands for a specified privilege level
  exit        Leave Exec mode
  logout      Exit from EXEC mode
  netconf     Configure NETCONF
  no          Disable the command that follows
  ping        Ping remote systems
  reset       Reset various components of the switch
  run         Run multiple commands in one line
  show        Display details of switch operation
  ssh         Open ssh connection
  tcpdump     Monitor packets with tcpdump
  telnet      TELNET client
  terminal    Set terminal parameters
  traceroute  Traceroute command
  watch       Execute a command repeatedly
  zerotouch   ZeroTouch configuration

localhost>

 

시간이 지나면 위에 처럼 정삭적으로 동작합니다. 

 

지금까지 [PNETLab][#4]- Arista vEOS Switch Install 글을 읽어주셔서 감사합니다. 

안녕하세요. 

 

오늘은 PNETLab에 ishare command에 대해서 알아보겠습니다.


EVE-NG는 시뮬레이션 이미지를 직접 다운로드 받아서 EVE-NG에 업로드 해야합니다.

하지만 PNETLab는 자체적으로 시뮬레이션 이미지 파일을 제공합니다. 

 

ishare command 통해서 다운로드 가능 합니다. 

 

putty를 통해서 pnetlab에 접속 합니다. 

root@pnetlab:~# ishare search

    Usage ishare [action] [param]

    action:
        search  :   Search images
        pull    :   Download image
        detail  :   Detail information of image
        help    :   Show this help page

    Example
    - ishare search vios
    - ishare pull vios-3.4.5
    - ishare detail vios-3.4.5

root@pnetlab:~#

 

ishare search 2019 검색해보겠습니다. 

root@pnetlab:~# ishare search 2019
<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>

Traceback (most recent call last):
  File "ishare.py", line 118, in <module>
  File "ishare.py", line 112, in main
  File "ishare.py", line 82, in search
TypeError: 'bool' object has no attribute '__getitem__'


 

등등 에러 메시지가 발생 합니다. 구글에 검색해보니 ishare제대로 동작안되는거 같습니다.

 

ishare2를 설치해서 사용 하면 정상적으로 작동합니다.

wget -O /usr/sbin/ishare2 https://raw.githubusercontent.com/ishare2-org/ishare2-cli/main/ishare2 > /dev/null 2>&1 && chmod +x /usr/sbin/ishare2 && ishare2

 

ishare2가 설치 됩니다. 

그냥 디폴트값으로 사용하면 되기때문에 그냥 Enter만 입력합니다. 

┌────────────────────────────────────────────────────────────────────────┐
│ Welcome to the ishare2 configuration wizard.                           │
│ - This wizard will guide you through the configuration process.        │
│ - Press Enter to accept the default value.                             │
│ - You can modify the configuration later by running: ishare2 config.   │
│ - Press Ctrl+C to cancel.                                              │
└────────────────────────────────────────────────────────────────────────┘
[+] Use aria2c for faster downloads? (default: no)
[+] (y/n):
[+] Check SSL certificate? (default: yes)
[+] (y/n):
[+] Choose the update channel.
 1) alpha
 2) beta
 3) main
[*] Enter the number of the branch you want to use (default: main):
[!] Using the default branch.
[+] Choose a mirror. (default: Rotate mirrors)
 1) Rotate mirrors (recommended)
 2) Google Drive mirror
 3) Onedrive mirror
 4) Custom mirror
[*] Enter the number of the mirror you want to use (default: 1):
[!] ishare2 will rotate among the available mirrors.
┌─────────────────────────────────────────────────────────────┐
│ Configuration completed successfully.                       │
│ You can start using ishare2!                                │
│ [!] IMPORTANT NOTICES:                                      │
│ - ishare2 is a free and open-source project. If you paid    │
│   for it, you have been scammed.                            │
│ - Do not download ishare2 from unofficial sources as they   │
│   may contain arbitrary code.                               │
└─────────────────────────────────────────────────────────────┘
┌────────────────────────────────────────────────────────────────┐
│ MOTD from the ishare2 team:                                    │
│ Changelog:                                                     │
│ - Fixed bug when doing integrity checks againts qemu images.   │
│                                                                │
│ Telegram: https://t.me/NetLabHub │
│ Donate: https://buymeacoffee.com/sudoalex │
│ GitHub: https://github.com/ishare2-org/ishare2-cli │
└────────────────────────────────────────────────────────────────┘
Syntax

ishare2 [action] [param1] [param2] [--overwrite]

action:
    search      : Search for images available on LabHub mirrors.
    pull        : Download an image by specifying the type and id.
    installed   : Shows images installed on the server.
    labs        : Shows available labs and downloads the images for the selected lab.
    mylabs      : Same as labs command but you can use a customized path.
    relicense   : Generates an iourc license for iol images.
    upgrade     : Shows a menu to upgrade ishare2 or PNETLab.
    test        : Test internet connectivity to required sites.
    help        : Shows full help information.

param1:
    type = all, iol, qemu, dynamips, docker or name.

param2:
    id = This can be obtained using ishare2 search <type>

--overwrite:
    Used to overwrite an existing image if it already exists on your system.

Try: ishare2 help for more information.

 

ishare2명령어로 2019 이미지를 검색합니다. 

제대로 검색 됩니다. 

root@pnetlab:~# ishare2 search 2019
┌────────────────────────────────────────────────────────────────┐
│ MOTD from the ishare2 team:                                    │
│ Changelog:                                                     │
│ - Fixed bug when doing integrity checks againts qemu images.   │
│                                                                │
│ Telegram: https://t.me/NetLabHub │
│ Donate: https://buymeacoffee.com/sudoalex │
│ GitHub: https://github.com/ishare2-org/ishare2-cli │
└────────────────────────────────────────────────────────────────┘
=============================
    Available QEMU images
=============================
ID    NAME                                             SIZE
--    ----                                             ----
605   linux-kali-large-2019.3                          11.8 GiB
606   linux-kali-large-2019.3                          4.2 GiB
607   linux-kali-large-2019.3                          4.2 GiB
933   viosl2-adventerprisek9-m-v152_6_0_81_e-20190423  39.2 MiB
935   viosl2-adventerprisek9-m.ssa.high_iron_20190423  42.9 MiB
1220  winserver-2019                                   7.6 GiB
1226  winserver-S2019-R2-x64-rev3                      6.0 GiB

7 QEMU images found for the term: "2019"

============================
    Available IOL images
============================
ID  NAME                                                          SIZE
--  ----                                                          ----
10  i86bi_Linux-L2-Adventerprisek9-ms.SSA.high_iron_20190423.bin  120.4 MiB
17  i86bi_linux_l2-adventerprisek9-ms.SSA.high_iron_20190423.bin  120.4 MiB
18  i86bi_linux_l2-adventerprisek9-ms.SSA.high_iron_20190423.bin  120.4 MiB

3 IOL images found for the term: "2019"

=================================
    Available DYNAMIPS images
=================================
ID  NAME  SIZE
--  ----  ----

No DYNAMIPS images found for the term: "2019"

root@pnetlab:~# ^C

 

저는 vios 이미지를 다운로드 받아서 설치해보겠습니다.

설치 방법

Usage: ishare2 pull <type> <id>
       ishare2 pull <type> all
Types: qemu, iol, dynamips

 

우선 검색을 합니다.

ishare2 search vios

root@pnetlab:~# ishare2 search vios
┌────────────────────────────────────────────────────────────────┐
│ MOTD from the ishare2 team:                                    │
│ Changelog:                                                     │
│ - Fixed bug when doing integrity checks againts qemu images.   │
│                                                                │
│ Telegram: https://t.me/NetLabHub │
│ Donate: https://buymeacoffee.com/sudoalex │
│ GitHub: https://github.com/ishare2-org/ishare2-cli │
└────────────────────────────────────────────────────────────────┘
=============================
    Available QEMU images
=============================
ID   NAME                                             SIZE
--   ----                                             ----
918  vios-15.5.3M                                     122.0 MiB
919  vios-adventerprisek9-m-15.4-1.3.0-181            116.0 MiB
920  vios-adventerprisek9-m-15.6.2T                   122.5 MiB
921  vios-adventerprisek9-m.SPA.154-3M8               116.4 MiB
922  vios-adventerprisek9-m.SPA.159-3.M2              46.9 MiB
923  vios-adventerprisek9-m.SPA.159-3.M3              54.6 MiB
924  vios-adventerprisek9-m.SPA.159-3.M3              54.2 MiB
925  vios-adventerprisek9-m.SPA.159-3.M4              54.1 MiB
926  vios-adventerprisek9-m.SPA.159-3.M6              54.2 MiB
927  vios-adventerprisek9-m.spa.158-3.m2              54.0 MiB
928  vios-adventerprisek9-m.spa.159-3.m2              47.4 MiB
929  vios-adventerprisek9-http://m.vmdk.SPA.157-3.M3 49.8 MiB
930  viosl2-15.2.4.55e                                92.4 MiB
931  viosl2-adventerpriseK9-M_152_May_2018            102.2 MiB
932  viosl2-adventerprisek9-m-15.2.4055               92.4 MiB
933  viosl2-adventerprisek9-m-v152_6_0_81_e-20190423  39.2 MiB
934  viosl2-adventerprisek9-m.SSA.high_iron_20180619  42.5 MiB
935  viosl2-adventerprisek9-m.ssa.high_iron_20190423  42.9 MiB
936  viosl2-adventerprisek9-m.ssa.high_iron_20200929  85.6 MiB

19 QEMU images found for the term: "vios"

============================
    Available IOL images
============================
ID  NAME  SIZE
--  ----  ----

No IOL images found for the term: "vios"

=================================
    Available DYNAMIPS images
=================================
ID  NAME  SIZE
--  ----  ----

No DYNAMIPS images found for the term: "vios"

root@pnetlab:~#

 

저는 아래처럼 rotuer이미지 한개, switch 이미지 한개를 설치 하겠습니다.

ID   NAME                                             SIZE
--   ----                                             ----

926  vios-adventerprisek9-m.SPA.159-3.M6              54.2 MiB

932  viosl2-adventerprisek9-m-15.2.4055               92.4 MiB

 

root@pnetlab:~# ishare2 pull qemu 926
[!] IMAGE INFO
 - Image Name       : vios-adventerprisek9-m.SPA.159-3.M6
 - Image Size       : 54.2 MiB
 - Image Type       : QEMU
 - Image ID         : 926
 - Image path       : /opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.159-3.M6
 - Using host       : https://labhub.eu.org
[!] DOWNLOADING IMAGE
/opt/unetlab/addons/qemu/vi 100%[===========================================>]  54.17M  9.17MB/s    in 7.7s
[+] DOWNLOAD COMPLETED!
[-] Extracting: vios-adventerprisek9-http://m.SPA.159-3.M6.tgz file...
[+] Extracted: /opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.159-3.M6. Image ready to use.
[-] Fixing permissions...

[+] Fix permissions command has been executed correctly

 

root@pnetlab:~# ishare2 pull qemu 932
[!] IMAGE INFO
 - Image Name       : viosl2-adventerprisek9-m-15.2.4055
 - Image Size       : 92.4 MiB
 - Image Type       : QEMU
 - Image ID         : 932
 - Image path       : /opt/unetlab/addons/qemu/viosl2-adventerprisek9-m-15.2.4055
 - Using host       : https://drive.labhub.eu.org
[!] DOWNLOADING IMAGE
/opt/unetlab/addons/qemu/vi 100%[===========================================>]  92.38M  7.03MB/s    in 12s
[+] DOWNLOAD COMPLETED!
[-] Fixing permissions...

[+] Fix permissions command has been executed correctly
root@pnetlab:~#

 

이제 PNETLab GUI접속 합니다. 

 

정상적으로 동작 합니다. 

지금까지 [PNETLab][#2]- ishare command 글을 읽어주셔서 감사합니다. 

안녕하세요. 

 

EVE-NG Community 무료 버전을 사용하고 있는데, SDWAN 테스트 할때 Jitter, Delay등등을 테스트 하기 위해서는 EVE-NG  PRO로 업그레이드 해야 합니다. 

 

그래서 이번에 PNETLab를 설치 하고 안정적인지 테스트 해볼 예정입니다. 그리고 만약에 안정적이면 EVE-NG에서 PNETLab으로 옮겨서 테스트 할 예정입니다. 

 

그럼 PNETLab를 설치해보겠습니다. 

 

1. PNETLab 공식 홈페이지에서 PNETLab 설치 파일 OVA을 다운로드 받습니다.

https://pnetlab.com/pages/download

 

PNETLab : Lab is Simple

Enable virtualization on Vmware

pnetlab.com

 

2. 저는 제 PC에 VMware Workstation이 설치되어져 있습니다. 여기에 PNETLab를 설치 하겠습니다. 

OVA파일을 더블 클릭 합니다.

 

PNETLab -> Edit Virtual Machine Setting를 클릭 합니다.

 

제 CPU 정보 입니다.

 

 

PNETLab를 실행 합니다.

 

DHCP를 통해서 IP주소를 받았습니다.

 

root/pnet 입력 합니다.

 

새로운 패스워드 입력

 

새로운 패스워드 다시 한번 입력

 

디폴트값 사용

 

DHCP or Static에서 Static 사용

 

IP주소를 입력 합니다. 

 

Subnet Mask 입력

 

Default-Gateway 입력

 

DNS 8.8.8.8 입력

 

두번째 DNS 입력 8.8.4.4

 

NTP 없이 ok 버튼 클릭

Direct Connect를 선택하고 OK

 

기본 설정이 끝났고 재부팅이 됩니다. 

 

로그인 후 Ping 확인

 

https://192.168.40.250를 브라우저에 입력 합니다. 

차이점은 아래와 같습니다. 

 

 

Online Mode

  • Need internet to work
  • Need to register.
  • Support full functions of PNETLab
  • You can download and use all Labs on the Store
  • You can share or sell lab to the Store
  • Limit 10 accounts (Can be upgraded)

Offline Mode: 

  • Don't need internet to work
  • Don't need to register. Login by default account: admin/pnet
  • Support full functions of PNETLab
  • You can only download and use Open Labs (The Labs with "Open" in the top) on the Store
  • You can not share or sell lab to the Store
  • Limit 10 accounts (Can be upgraded but require internet)

저는 Offline으로 설정 하겠습니다. 

 

admin/pnet 입력 하고 로그인 버튼을 클릭 합니다. 

 

정상적으로 로그인 되었습니다. 

 

지금까지 [PNETLab][#1]- Installation on VMware workstation 글을 읽어주셔서 감사합니다. 

 

+ Recent posts