Adding new IP or vlan using the UI

Hello,
just wanted to share my experience with adding new IP/VLAN
i have been trying to add a new vlan for a while and i always get that there was a network error.
the default IP for the machine was added during the installation which was 172.21.5.17 to eno1 interface
i was trying to add a new vlan 192.168.196.1 to another interface ens2f0np0 but it always failed.
the solution was to add the already configured IP when i was editing the interfaces from the UI attached the logs for reference.
For me it was weird to add the same IP that i was using to access to the machine again in order to actually add it to the database and then add the new one.

failing attempt
[2024/12/03 10:40:24] (INFO) InterfaceService.vlan_setup():12 - Setting up ‘vlan196’
[2024/12/03 10:40:25] (INFO) InterfaceService.configure():20 - Configuring interface ‘vlan196’
[2024/12/03 10:40:25] (DEBUG) InterfaceService.configure():99 - vlan196: adding 192.168.196.1/255.255.255.
0
[2024/12/03 10:40:25] (INFO) InterfaceService.sync():1740 - Interfaces in database: vlan196
[2024/12/03 10:40:25] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘ens2f0np0’
[2024/12/03 10:40:25] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘ens2f1np1’
[2024/12/03 10:40:25] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface 'enxbe3af2b6059f

[2024/12/03 10:40:25] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘eno1’
[2024/12/03 10:40:26] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘eno2’
[2024/12/03 10:40:26] (INFO) RouteService.sync():83 - Adding IPv4 default route to 172.21.5.254
[2024/12/03 10:40:26] (ERROR) RouteService.sync():105 - Failed adding 172.21.5.254 as default gateway: Net
linkError(101, ‘Network is unreachable’)
[2024/12/03 10:41:26] (INFO) InterfaceService.sync():1740 - Interfaces in database: NONE
[2024/12/03 10:41:26] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘ens2f0np0’
[2024/12/03 10:41:27] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘ens2f1np1’
[2024/12/03 10:41:28] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface 'enxbe3af2b6059f

[2024/12/03 10:41:28] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘eno1’
[2024/12/03 10:41:29] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘eno2’
[2024/12/03 10:41:29] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘vlan196’
[2024/12/03 10:41:29] (INFO) RouteService.sync():83 - Adding IPv4 default route to 172.21.5.254
[2024/12/03 10:41:29] (ERROR) RouteService.sync():105 - Failed adding 172.21.5.254 as default gateway: Net
linkError(101, ‘Network is unreachable’)

successful attempt
[2024/12/03 10:44:56] (INFO) InterfaceService.vlan_setup():12 - Setting up ‘vlan196’
[2024/12/03 10:44:56] (INFO) InterfaceService.configure():20 - Configuring interface ‘eno1’
[2024/12/03 10:44:56] (DEBUG) InterfaceService.configure():39 - Killing dhclient for ‘eno1’
[2024/12/03 10:44:56] (DEBUG) InterfaceService.configure():81 - eno1: removing possible valid_lft and pref
erred_lft on 172.21.5.17/255.255.255.0
[2024/12/03 10:44:56] (INFO) InterfaceService.configure():20 - Configuring interface ‘vlan196’
[2024/12/03 10:44:56] (DEBUG) InterfaceService.configure():99 - vlan196: adding 192.168.196.1/255.255.255.
0
[2024/12/03 10:44:56] (INFO) InterfaceService.sync():1740 - Interfaces in database: eno1, vlan196
[2024/12/03 10:44:57] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘ens2f0np0’
[2024/12/03 10:44:57] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘ens2f1np1’
[2024/12/03 10:44:57] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface 'enxbe3af2b6059f

[2024/12/03 10:44:57] (INFO) InterfaceService.unconfigure():138 - Unconfiguring interface ‘eno2’

I fought with this also and finally gave up. From what I have read this is a highly requested thing. I would have never upgraded to EEL if I realize setting a static address to an APP is not easily capable. However I dont have many apps that I use and i simply converted them to VMs.

It absolutely works, but you have to know how.
Check this forum, or the Internet to learn how to add a macvlan or ipvlan to Custom App or directly in Docker (or Docker compose).

I understand that if you know the magic incantation/s and do a custom install it can be done evidently. What I was trying to do is simply add a static IP on my network for an APP such as TFTP server in the APP catalog. I tried many incantations and could never do that. What I read is that it is not capable to being done. Only by doing a custom APP or Docker install can this be done.