For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom Subnet

Background

If you have a custom subnet address to add to your nanopi connection, follow the commands below. From factory, we create a subnet under "192.168.218.10/24" for connection and all connections are through this IP schema. Instead of changing this for everything you can instead add a secondary IPv4 address to the bridge for custom IP connection.

Please note the addresses in these commands have the xxx present, so you must change the IP address to your specific custom IP address.

# Create a connection profile for the custom subnet
sudo ip addr add 192.168.xxx.xx/24 dev br0

sudo nmcli connection modify "Bridge0" +ipv4.addresses "192.168.xxx.xx/24"

# Activate it
sudo nmcli device reapply br0
sudo nmcli connection up "Bridge0"

Last updated