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.
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.
Do not name the management interface "internet
" (don't use this name to DEVICE and NAME parameters) because it will make the NIC not recognized.
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
".
At first step, we can see the 3 interfaces settings:
ifconfig command:
|
nmcli command:
|
We will now rename the interface names, devices and will assign an IP address to the management NIC and 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
Readers/approval
- Your approval is needed for this document