Description
This article will explain how to customize and set network interfaces on Linux to run with CHARON. All commands are given as an example, configuration can be done using other tools.
If you use the Charon Linux Toolkit, you must set the ifcfg
file name to match the network interface name (in some cases this is not true).
Examples:
- If the network interface name is "
charon
", the ifcfg file name must be "ifcfg-charon
" - If the network interface name is "
ens33
", the ifcfg file name must be "ifcfg-ens33
"
Related Linux distributions and versions:
Red Hat | Fedora | ||
---|---|---|---|
|
|
Step-by-step guide
The examples below assume the NetworkManager service is active.
In the examples below, we assume we have a server with 3 Network Interfaces Cards (NIC), 1 dedicated for management with static IP address and the 2 others for CHARON.
The management interface will be named "stromasys
" and the 2 others will be named "charon_pluto
" and "charon_nix
".
Do not give the name "internet
" to the management interface if you plan to do so with Red Hat 6 (don't use this name to DEVICE and NAME parameters) because it will make the NIC not recognized.
At first step, we can see the 3 interfaces settings:
ifconfig command:
|
nmcli command:
|
We will now rename the interface names and devices, will assign an IP address to the management NIC and will set the 2 others to run with CHARON.
Move to the /etc/sysconfig/network-scripts
folder and rename the ifcfg-ens33
file to ifcfg-stromasys
for example.
We've decided to use ifcfg-ens33
because the content of that file shows the MAC address (HWADDR line) corresponds to the one we've decided to use
|
The "nmcli con reload
" command (available with Red Hat 7 and Fedora 20) is not enough to make the DEVICE names change so a reboot is required
After the reboot we can see the new settings:
|
All CHARON dedicated NICs must have their offloading parameters disabled, see the CHARON product related documentation / Installation chapter and Network configuration
Links
Red Hat Enterprise Linux 6 - Interface Configuration Files
Red Hat Enterprise Linux 7 - IP Networking
Related articles
and:
Readers/approval
I need this article for the distribution of the Linux Toolkit, kit 41 and compatibility with Red Hat 7 mainly
- Your approval is needed for this document -
- Your approval is needed for this document -