How to configure the NTA1000 eth0 Management Interface

The eth0 management interface of the NTA1000 allows users to remotely connect to the CDRouter GUI and to login to the NTA1000 CLI via SSH. It is controlled by the NetworkManager service which allows the system automatically obtains its IP address, default gateway and DNS servers via DHCP when you connect it to your network.

All other network interfaces on the NTA1000 platform are dedicated for CDRouter testing and are not under NetworkManager control or used for remote management.

This article explains how to reconfigure the IP address of the NTA1000’s eth0 management interface with a static IPv4 address and/or enable remote access via IPv6.

Important: Changing the management interface address will cause you to lose access to the CDRouter web GUI. Once you have confirmed the new address is active, restart CDRouter in order to get to CDRouter’s GUI again.

GUI Method

You can configure the eth0 management interface address through the CentOS desktop GUI by connecting a monitor, keyboard, and mouse to the NTA1000. Then on the desktop, select:
Applications -> System Tools -> Settings -> Network
Click on the gear icon in the Wired section. Making changes through this method will also update the /etc/sysconfig/network-scripts/ifcfg-eth0 config file as described below.

Config File Method

You can make changes to the /etc/sysconfig/network-scripts/ifcfg-eth0 file (as root). This file has various sections (most commented out) for IPv4, IPv6, static, DHCP, etc. Note that if you’re setting a static IP address for instance, the IPADDR, NETMASK, GATEWAY, and DNS1 values must all match your desired static IP configuration.

Here are some examples you’ll find in the file. Simply uncomment the section(s) you want, and make sure that all other sections are commented out.

### Global Settings ###
DEVICE=eth0
TYPE=Ethernet
NAME=eth0
ONBOOT=yes
NM_CONTROLLED=yes
USERCTL=no
IPV6TO4INIT=no

####################
# IPv4
####################

### IPv4 DHCP ###
#BOOTPROTO=dhcp
#PERSISTENT_DHCLIENT=yes
#IPV4_FAILURE_FATAL=no
#DHCP_HOSTNAME=pod1

### IPv4 static ###
#BOOTPROTO=none
#IPADDR=10.0.1.50
#PREFIX=16
#GATEWAY=10.0.0.1
#DNS1=10.0.0.5

####################
# IPv6
####################

### Enable/Disable IPv6 ###
#IPV6INIT=no

### IPv6 autoconf ###
#IPV6INIT=yes
#IPV6_FAILURE_FATAL=no
#IPV6_AUTOCONF=yes
#DHCPV6C=no

### IPv6 DHCP ###
#IPV6INIT=yes
#IPV6_FAILURE_FATAL=no
#IPV6_AUTOCONF=yes
#DHCPV6C=yes

### IPv6 static ###
#IPV6INIT=yes
#IPV6_FAILURE_FATAL=no
#IPV6ADDR=3001:dddd::100
#IPV6_DEFAULTGW=3001:dddd::202:71ff:fe7a:6274
#DNS2=3001:51a:cafe::2
#IPV6_AUTOCONF=no
#DHCPV6C=no

After making any changes to this file, you will need to either reboot the system or restart the interface (as root) for the changes to take effect:

ifdown eth0
ifup eth0