Network Configuration
By default, both network ports of the 1684X box are set with static IP addresses, as follows
eth0 | 192.168.49.102 |
---|---|
eth1 | 192.168.49.32 |
Tips
If you need to change the configuration, it can be achieved by modifying the /etc/netplan/eth0.yaml file in the system.
The following is a sample configuration. eth0 is dynamically obtained through DHCP, and eth1 is a static IP. If you want to modify the IP or DHCP of the two network ports, you can refer to each other.

Modify the configuration, using vim editing as an example:
sudo vim /etc/netplan/eth0.yaml
sudo netplan apply
Tips
- 1.First, the interface for editing the file will open. Press the "i" key on the keyboard to enter the editing mode. Use the arrow keys to control the cursor and edit or modify the text.
- 2.Configure the relevant settings according to the example shown in the above picture. Make sure that the indentation format is the same as that in the example.
- 3.After finishing the editing, in the command mode (press the "Esc" key to ensure you are in the command mode), enter ":wq" and then press the Enter key to exit and complete the editing.
- 4.Apply the updated network configuration to ensure that the system runs according to the new configuration. If there are no error messages, it means the update is successful.
Warning
If you are unable to save and exit the file normally due to file permission settings or other reasons, you can use the command for forced saving and exiting. In the command mode, enter ":wq!" and then press the Enter key. The "!" indicates that the operation is executed forcefully, that is, it ignores any possible warnings or errors and performs the save and exit operations.