Hi all I installed an Ubuntu 18.04 server with IspConfig as per excellent tutorial. I'm already running a setup with Ubuntu 16 and Ispconfig on production server, but want to migrate to newly installed server above, and then reinstall production server & migrate back. I have 20 IPs on my network card for different websites & email. On the Ubuntu 16, I had no problem getting the virtual IPs working (on Ubuntu 16, we're still using the 'interfaces' file for networking) On the Ubuntu 18 however, I filled in Ispcoinfig with all my IPs, but the server isn't responding to those IPs ( ip a command only give me original server IP) Ubuntu 18 now uses netplan for setting up networks. (since ubuntu 17) So i went & checked, but I have no YAML files on the server, and I don't have an interfaces file either ! Shocking ! My question is : Where does IspConfig go & write the networking stuff ? I did find /etc/systemd/network/50-default.network file, that holds the original server IP, but that's all I've found. Could someone point me in the right direction ? Thanks Enzo
Hello ahrasis and thank you for your reply I read up the network setup that you suggested in https://www.howtoforge.com/tutorial/ubuntu-lts-minimal-server/2/#g0.0.7 It states : Edit /etc/netplan/01-netcfg.yaml and adjust it As mentioned above, there are no yaml files in there. I could create one, but that's not specified in the setup tutorial I used for my server - https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/ - and I don't want to screw up my install, or do things the wrong way and get in conflict with what IspConfig should be setting up. Apparently, following the above tutorial, my network settings are in /etc/systemd/network/50-default.network (the only network config file I could find on my server) and it doesn't have any mention of my virtual IPs that I informed IspConfig about (and IspConfig spits them out to me when I setup domaines and so forth, so they're at least taken into account in the database). I checked with ip a command and only get the IP that's in the /etc/systemd/network/50-default.network file I've also read that ubuntu 18.04 could easily be set to use the old interfaces way of setting up network... and I'm wondering if that is how IspConfig is trying to work ? Hence my question : what file does ISPConfig Version: 3.1dev write to when I give it the IPs in the server settings ? Why aren't my IPs being taken into account by my server ? Does IspConfig write to a yaml file, but being that my server has none, the info just ended up in the void ? If so, should I just creat and empty yaml file (what name?) and then use some command to have ISPConfig regenerate that file ? Thanks in advance for any help on this matter. Regards, Enzo
Sighed. If there isn't any then create one is what it means. But feel free to do it differently if that works for you.
Thank you Ahrasis Sorry if I exasperate you, but please understand that I don't want to do things wrong way. It might be useful in the tutorial to have people check that the file exists, or else create it. I'll create an empty /etc/netplan/01-netcfg.yaml file & do a resync with IspConfig tools. Is this the correct way ? Thanks again for helping, and sorry if I'm kinda slow & unsure . Enzo
No. It is a wrong way of doing it. Resync in ISPConfig has nothing to with it. Please follow the minimal server tutorial for Ubuntu 18.04 that you already mentioned above. And yes, you can use the old ways for your network provided you installed its required softwares. It is however not advisable.
OK, Should I then remove all the Ips that I put in Ispconfig & then reinstate them so that they get inserted into the yaml file via IspConfig ?
I'm totally confused now. Then where does it write to ? I've just setup the netplan yaml file & did an ip a and now see my ips, can ping them locally, but not from exterior... oh boy... this new way of doing things needs getting used to I guess. Where am I going wrong ?
ISPConfig does not add them to your network configuration as it does not support netplan, it adds them to apache and makes them available for the websites. So you have to add them to the netplan config file yourself.
Oh ho ! Thank you for the tip Till ! It would be a really nice feature in future releases if ISPConfig could do the network setup chore straight from the web interface. Thank you for your assistance, (both of you) I was simply barking up the wrong tree !