Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-02048// Views: AA-02048// Created: 2021-10-28 14:11:36// Last Updated: 2024-03-12 10:46:34
HowTo
How to Change the IP Addresses / Subnet of a Physical Port (e.g. eno1, eno2) on an OPAL-RTLinux Target Through MobaXterm ?

How To: Change IP Address or IP Mask on an OPAL-RT Target Through MobaXterm


Introduction : This article explains how to change the IP address on an OPAL-RTLinux target using MobaXterm. Note that you can connect a mouse, keyboard and a screen and do these same manipulations instead of using MobaXterm. This article explains how to connect your mouse, keyboard and screen to your target.

1. Open MobaXterm session. Refer to this article on how to use MobaXterm.

2. Log to the target. User is root and the password is mentioned in the system description document.

3. Type 'ip a' or its legacy 'ifconfig' a to get the current IP address


*** WARNING *** : Before going to the next step make sure no simulation is running on the simulator


4. Configure static IP by using the opal_network_configurator command.

The display at this step might vary:

a. Workflow #1:

b. Workflow #2:

(For steps 5 and 6, please select the workflow corresponding to the information displayed on your system)


Workflow #1:

5. If you made sure no simulation is running, type 'Y'

6. If you want to configure the displayed network interface go to step 7. To omit this interface and skip to the next one press 'Enter'.



Workflow #2: 

5. Type ‘c’ to configure eno1. Note: To select the next interface type ‘n’.

6. Enter ‘y’ to configure as system network interface.


Continue with these steps for any workflow:

7a. To set up static IP, enter the IP address followed by the prefix (subnet): 192.168.10.XX/19

            Note: The prefix (subnet) is defined by the number of 1s in the subnet (in binary mode). For example, 255.255.224.0 is 19. Online subnet calculator can be used.

7b. To set-up DHCP, type ‘DHCP’, then enter DNS server if there is any, otherwise leave it empty.

8. If you experience any difficulties, please contact support.

If you can't bring UP one of the enoX ports (Status is DOWN), please make sure that any switch between the Target Simulator and the Host PC supports 1 Gbits interface.