Wired Intelligent Edge

 View Only
last person joined: 7 hours ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

Aruba NetEdit - EVE NG

This thread has been viewed 88 times
  • 1.  Aruba NetEdit - EVE NG

    EMPLOYEE
    Posted Apr 05, 2022 07:13 AM
    Hello
    Hello

    I need to install Aruba Net Edit in EVE NG but unfortunately I have not found enough information or a clear guide that I can use to do it.

    I would really appreciate if some can provide me some information, may be a clear guide or link that I can use to complete the installation

    I really appreciate any help you can provide me.

    Thank you

    I need to install Aruba Net Edit in EVE NG but unfortunately I have not found enough information or a clear guide that I can use to do it.

    I would really appreciate if some can provide me some information, may be a clear guide or link that I can use to complete the installation

    I really appreciate any help you can provide me.

    Thank you

    Rigo

    ------------------------------
    Rigoberto Villalobos
    ------------------------------


  • 2.  RE: Aruba NetEdit - EVE NG

    Posted Apr 06, 2022 02:08 AM
    From your post I conduct that you already have an EVE-NG environment up and running. So for the reference, here is the link how to setup the environment.

    To install NetEdit under the EVE-NG environment, you  need to convert .vhdx distribution file to .qcow2 file and create a simulator.

    Steps are the same as for linux machine on EVE-NG.

    # /opt/qemu/bin/qemu-img convert -f vhdx -O qcow2 Aruba_NetEdit-2.3.0.vhdx hda.qcow2
    # mkdir /opt/unetlab/addons/qemu/linux-NetEdit-2.3.0
    # mv hda.qcow2 /opt/unetlab/addons/qemu/linux-NetEdit-2.3.0/
    # /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
    ​

    Hope this helps, Gorazd

    ------------------------------
    Gorazd Kikelj
    ------------------------------



  • 3.  RE: Aruba NetEdit - EVE NG

    Posted Apr 06, 2022 05:21 AM
    Hi, here is a good blogpost on aruba-stuff-in-eve-ng 

    In my lab I'm running the NetEdit outside of EVE-NG. I connect a "OOB-GW" to my lan and "inside of OOB-GW" is connected to mgmt interfaces. I'm using OSPF for the management networks and have different prefixes for each lab. This way it's easy to share tftp, dhcp, monitoring, NetEdit, Aruba Fabric Composer, ansible etc. between labs.


    Sample lab EVE-NG



    ------------------------------
    Arne Opdal
    ------------------------------



  • 4.  RE: Aruba NetEdit - EVE NG

    EMPLOYEE
    Posted Feb 15, 2024 03:03 PM

    ArneO,

    I am trying to get NetEdit that is outside of the EVE-NG environment to connect to the switches inside the lab environment. CLI connections are telnet to the CX switches. 

    How is the OOB-GW box able to pass SSH to the CX switches for NetEdit to contact the CX switch?

    What is the OOB-GW VM?




  • 5.  RE: Aruba NetEdit - EVE NG

    Posted Feb 15, 2024 03:17 PM

    Hi,

    In my LAN I have a router which is running OSPF.

    The OOB-GW I'm using is a Vyos virtual router, but could be all kind of virtual routers. This Vyos router is running OSPF on LAN and on the management net in the simulated lab. No firewall, just routing. This is default gateway on management interface for the simulators.

    The OOB-GW is also running DHCP relay agent out to the DHCP and TFTP server on the LAN. So I have shared ZTP for all my labs.

    In this setup I can run NetEdit, AFC or most of the time I'm using Ansible and testing my playbooks etc on the different setup in the labs.

    All lab setup is documented using NetBox and configs are autogenerated and pushed to ZTP server.

    For this to work in a consistent way I need to have separated MAC addresses for each lab to ensure the right config wil be downloaded to the right device.

    And on top of it I use StackStorm to run workflows, like automaticly boot up, wipe restart nodes etc. when I have made changes to my playbooks or templates.



    ------------------------------
    Arne Opdal
    ------------------------------



  • 6.  RE: Aruba NetEdit - EVE NG

    Posted Feb 15, 2024 03:33 PM

    Sample Vyos config:

    vyos@z2oob-gw:~$ show configuration commands
    set interfaces ethernet eth0 address '172.16.3.249/24'
    set interfaces ethernet eth0 hw-id '50:00:00:07:00:00'
    set interfaces ethernet eth1 address '172.18.16.1/24'
    set interfaces ethernet eth1 hw-id '50:00:00:07:00:01'
    set interfaces ethernet eth2 hw-id '50:00:00:07:00:02'
    set interfaces ethernet eth3 hw-id '50:00:00:07:00:03'
    set interfaces loopback lo
    set protocols ospf area 0.0.0.0 network '172.16.3.0/24'
    set protocols ospf area 0.0.0.0 network '172.18.0.0/16'
    set protocols static route 0.0.0.0/0 next-hop 172.16.3.254
    set service dhcp-relay interface 'eth0'
    set service dhcp-relay interface 'eth1'
    set service dhcp-relay interface 'eth2'
    set service dhcp-relay interface 'eth3'
    set service dhcp-relay server '172.16.3.15'
    set service ssh
    set system config-management commit-revisions '100'
    set system conntrack modules ftp
    set system conntrack modules h323
    set system conntrack modules nfs
    set system conntrack modules pptp
    set system conntrack modules sip
    set system conntrack modules sqlnet
    set system conntrack modules tftp
    set system console device ttyS0 speed '115200'
    set system host-name 'z2oob-gw'
    set system login banner pre-login 'All tilgang til dette systemet er begrenst og monitorert. Kun autorisert tilgang er akseptert.'
    set system login user vyos authentication encrypted-password '$6$v2MnDdivT1fU8Mb$36KuSgFqYmzcNKXDyFenFa6rzY6udw5mBx7DRskN3WiqOcha7TEI4yqTwQe78naUjFdipPkrFLBlAwll1oHCM/'
    set system login user vyos authentication plaintext-password ''
    set system name-server '172.16.3.10'
    set system ntp server time1.vyos.net
    set system ntp server time2.vyos.net
    set system ntp server time3.vyos.net
    set system syslog global facility all level 'info'
    set system syslog global facility protocols level 'debug'
    


    ------------------------------
    Arne Opdal
    ------------------------------



  • 7.  RE: Aruba NetEdit - EVE NG

    Posted Feb 15, 2024 03:43 PM

    Hi Arne.

    Many thx for sharing this setup.

    Best, Gorazd



    ------------------------------
    Gorazd Kikelj
    MVP Expert 2023
    ------------------------------



  • 8.  RE: Aruba NetEdit - EVE NG

    Posted Feb 15, 2024 03:41 PM

    The easiest way is to connect all OOBM ports to management(Cloud0) network and use OOBM IP addresses in NetEdit discovery.

    I do have sometimes problem with oobm ports not getting ip addresses via dhcp so I usually just assign static ip addresses.

    It works like a charm. No complications with routing.

    Best, Gorazd 



    ------------------------------
    Gorazd Kikelj
    MVP Expert 2023
    ------------------------------



  • 9.  RE: Aruba NetEdit - EVE NG

    Posted Feb 15, 2024 03:51 PM

    I assign IP to interfaces using NetBox, Ansible and ZTP - not CLI ;-)

    A two interfaces running OSPF should not be complicated - then you should play more with routing in the simulator ;-)

    My setup is probably not the simplest, but it is nice when I need to test something I may spin it up easy and without copy and paste, manually do any IP assignments and so on.



    ------------------------------
    Arne Opdal
    ------------------------------