Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
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 Enterprise Linux 7 and CentOS 7 for management and CHARON dedicated interfaces
Red Hat Enterprise Linux 6 for CHARON dedicated interfaces only (due to some restrictions)
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 for DEVICE and NAME parameters) because it will make the NIC not recognized.
At first step, we can see the 3 interfaces settings:
# nmcli con NAME UUID TYPE DEVICE stromasys 993835bc-dac8-4f74-84d0-b265dc281c7b 802-3-ethernet stromasys
# nmcli dev DEVICE TYPE STATE CONNECTION stromasys ethernet connected stromasys charon_nix ethernet unmanaged -- charon_pluto ethernet unmanaged -- lo loopback unmanaged --
# ping 192.168.152.212 PING 192.168.152.212 (192.168.152.212) 56(84) bytes of data. 64 bytes from 192.168.152.212: icmp_seq=1 ttl=64 time=0.087 ms 64 bytes from 192.168.152.212: icmp_seq=2 ttl=64 time=0.065 ms 64 bytes from 192.168.152.212: icmp_seq=3 ttl=64 time=0.088 ms ^C --- 192.168.152.212 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1999ms rtt min/avg/max/mdev = 0.065/0.080/0.088/0.010 ms
All CHARON dedicated NICs must have their offloading parameters disabled, see the CHARON product related documentation / Installation chapter and Network configuration