Sometimes, no DHCP server is available. In this case, the carrier system starts, but without a valid IP address that RCCMD can use. Since the 100% availability of a DHCP server can never be granted, it is recommendable to assign a static IP address for the RCCMD appliance.
The required configuration file can be found within this directory:
/etc/network
To switch the appliance to a static IP address, the file "interfaces" must be edited:
With nano, the appliance comes with a powerful and user-friendly text editor. To start editing, type the following command:
sudo nano /etc/network/interfaces
By doing so, the editor starts with required root rights for saving and presents the network configuration file:
Search for this entry:
- Iface ens33 inet dhcp
This entry decides whether the appliance has been assigned the IP address via DHCP or statically.
Edit the following settings to adapt the network configuration to fit to your local network environment::
Source /etc/network/interfaces.d/*
# The loopback network interface
Auto Io
Iface Io inet loopback
#The primary network interface
Alllow-hotplug ens33
#Iface ens33 inet dhcp <- Use # to disable this line
iface ens33 inet static <- Remove # to enable this line
Address 192.168.200.223/24 <- Assign an IP-address and a subnet mask
Gateway 192.168.200.1 <- Define the local network gateway
# dns-* options are implemented by the resolvconf package, if installed
dns-namservers 192.168.200.3 192.168.200.5 168.168.200.1 <- Define your local DNS-Server.
# dns-search local
Save and restart the appliance. After reboot, the manual IP address should be active.
Note:
It is possible to use the IP address assigned by the DHCP server on first start as a static IP, but, on the other hand, it is also required to ensure that the DHCP server excludes the IP address from the general address pool.
v.: 2025-08-26
Comments
0 comments
Please sign in to leave a comment.