8.13. Procedure to switch to the configuration dual-interface
A - Introduction
`management-tunnel`.The VPN communication is controlled by one interface with the role
`tunnel`The SSH connection for GCap management is handled by the interface with the role
`management`
This procedure outlines the switchover from a single-interface configuration to a dual-interface configuration.
Important
Either by a direct connection (connect directly to the server)
Or by a HTTP remote connection (iDRAC function for a Dell server)
Or by a remote connection to the CLI in SSH via the iDRAC interface in serial port redirection mode
For... |
Use the command |
carry out the procedures successively |
|---|---|---|
Display the current configuration |
||
Switch from single to dual interface configuration |
B - Prerequisites
User: setup
Commands used in this procedure:
C - Preliminary operations
Depending on the situation, refer to:
Stop the Sigflow detection engine (refer to monitoring-engine).
D - Procedure to display the current configuration
The command prompt is displayed.
(gcap-cli)
To display the
`management`and`tunnel`interface configuration :
Enter the command
show interfaces ValidateThe system displays the`management`and`tunnel`interfaces configuration
In dual-interface configurationThe VPN communication is controlled by the`enp11s0`interfaceThe SSH connection for GCap management is handled by the`enp19s0`interfaceIn this case, the system displays:
The role tunnel and role management indicates that the current configuration is dual-interface.In this case, there is nothing to do. The single interface configurationThe SSH and VPN connections are handled by the`enp19s0`interface.In this case, the system displays:
In our example, the current configuration is single-interface ( field: role, value : management-tunnel )In this case, continue with the following procedure.
E - Procedure to switch from single to dual interface configuration
(gcap-cli)
Use the following command to unpair the GCap
unpairEnter the following command to configure the current
`management-tunnel`interface with the role`management`set interfaces assign-role enp19s0 management
Validate
Enter the following command to configure the selected interface with the role
`tunnel`set interfaces assign-role enp11s0 tunnel
Validate
Enter the following command to configure the tunnel interface IP
Note
Replace in the following command:
IP by its value
GATEWAY by its value
MASK by its value
set network-config tunnel ip-address IP gateway GATEWAY mask MASK confirm
Validate
Rewire the GCap network cables if necessary

