A typical system running CDRouter utilizes three network interfaces with two dedicated for use by CDRouter and one assigned to a live corporate or lab network connection. Although any two available network interfaces may be used, it is strongly recommended that all connections to corporate or lab networks be established on interfaces separate from those reserved for CDRouter.
CDRouter relies on the IP configuration information contained in the CDRouter configuration file, not on the Linux host. It is recommended that all network interfaces used for CDRouter remain “unconfigured” by the Linux host when the system boots up. An example configuration for CentOS is provided below.
ifcfg-* file for each network interface. The
ifcfg-* files are
located in the
/etc/sysconfig/network-scripts directory. Example start up
$ cd /etc/sysconfig/network-scripts $ cat ifcfg-eth1 DEVICE=eth1 NAME=eth1 NM_CONTROLLED=no BOOTPROTO=none TYPE=Ethernet IPV6INIT=no ONBOOT=no USERCTL=no $ cat ifcfg-eth2 DEVICE=eth1 NAME=eth1 NM_CONTROLLED=no BOOTPROTO=none TYPE=Ethernet IPV6INIT=no ONBOOT=no USERCTL=no
The interfaces used by CDRouter must not be under Network Manager control. The start procedure will generate an error if they are. Please see this Knowledge Base article, which explains how to prevent Network Manager from controlling an interface.
You may need to restart networking to make changes take effect.
For CentOS 7 and newer Ubuntu machines:
systemctl restart network
For CentOS 6 and older Ubuntu machines:
service network restart