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. Example: if the network interface name is "charon
", the ifcfg file name must be "ifcfg-charon
"
Related Linux distributions and versions: Red Hat 7 for management and CHARON dedicated interfaces, Red Hat 6 and Fedora 20+ for CHARON dedicated interfaces
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) and it corresponds to the one we've decided to use
|
TO BE COMPLETED
Links
Red Hat Enterprise Linux 6 - Interface Configuration Files (not necessary?)
Red Hat Enterprise Linux 7 - IP Networking
Fedora 20 - Networking Guide (not necessary?)
Related articles
Readers/approval
- Your approval is needed for this document