CDRouter Support

How should I configure my Ethernet interfaces for CDRouter?

knowledge-base version 10.4

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.

Create a ifcfg-* file for each network interface. The ifcfg-* files are located in the /etc/sysconfig/network-scripts directory. Example start up files for eth1 and eth2 are:

$ 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

Network Manager

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.

Restart Networking

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

Contents

×

About CDRouter

CDRouter is made by QA Cafe, a technology company based in Portsmouth, NH.

Get in touch via our Contact page or by following us on your favorite service: