As an experiment, last night I went about installing Nehtserver in a Centos 7 lxc container on proxmox 6.3 latest. After hitting a wall for a bit, I have it running and doing basic firewall, ad blocking and such. The stickiest bit was immediately after running:
yum install -y http://mirror.nethserver.org/nethserver/nethserver-release-7.rpm
I would lose access to both of the VMBR I had assigned to this Centos container in proxmox. They were confirmed working and pulling updates from the internet via the centos terminal prior to that last command. After that last command, Centos7 lost access and I could not connect to the nethserver web interface either.
The fix for me was found at the end of the page linked below:
/sbin/e-smith/db networks set dummy0 ethernet ipaddr 192.168.10.2 netmask 255.255.255.0 role green && /sbin/e-smith/db networks setprop eth0 role red && /sbin/e-smith/signal-event interface-update
I had two virtual nics so I did not set up a dummy nic as the webpage described, but used both eth1 and eth2 instead:
/sbin/e-smith/db networks set eth1 ethernet ipaddr 192.168.10.2 netmask 255.255.255.0 role green && /sbin/e-smith/db networks setprop eth0 role red && /sbin/e-smith/signal-event interface-update
after that I was able to connect to the web interface at https://192.168.10.2:9090 and complete the configuration. Basic functions, except Chronyd, all seem to work well. My proxmox server uses NTP to set its time and the LXC gets its RTC from proxmox, so I just left time to manual. Runs nicely and only utilizes around 300 MiB of additional memory with an install size of 2.5 GiB on hardrive.
Now finally to my question, I wanted to add another interface to Nethserver so I added one to the LXC via proxmox. Centos7 sees it (ip a, ifconfig verified), but I can’t figure out why nethserver does not. Any clues and where to start or look.
NethServer Version: 7.9