Set static IP
To configure a static IP address on a BliKVM image, you can follow these steps:
v1 v2 v3 versions - Debian
- SSH into the BliKVM, If it is a read-only system, please use the
rw
command to make the system writable. - Edit the network interfaces configuration file using the following command:
- Within the file, locate the section that starts with
# Example static IP configuration
. - Uncomment the lines below that section and modify them to set your desired static IP address, gateway, DNS servers, and other network settings.
For example:
interface eth0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
Adjust the values according to your network configuration.
- Save the changes.
- Restart the BliKVM for the changes to take effect:
v4 version - armbian
- SSH into the BliKVM, If it is a read-only system, please use the
rw
command to make the system writable. - Edit the network interfaces configuration file using the following command:
- Within the file, locate the section that starts with
# Example static IP configuration
. - Uncomment the lines below that section and modify them to set your desired static IP address, gateway, DNS servers, and other network settings.
For example:
source /etc/network/interfaces.d/*
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 192.168.0.1
Adjust the values according to your network configuration.
- Save the changes.
- Restart the NetworkManager for the changes to take effect:
After the reboot, your BliKVM will use the configured static IP address instead of obtaining one dynamically from a DHCP server. Make sure the static IP address you choose is not already assigned to another device on the network and is within the same subnet.
Last update:
December 4, 2024
Created: June 14, 2023
Created: June 14, 2023