Dukemaster
Regular Pleskian
Hi at all,
to try once more for the last time a own DNS configuration I got two (30 days test in my 1and1 contract) IPv4 addresses for Ubuntu 16.04 with Plesk Onyx 17.5.3#11 on 1and1 server.
Although I know there is a tutorial by 1and1 making necessary changes by adding additional IPv4 (shared) I also tried the recommened way by PLESK to do this. I did both ways.
The last way is the Plesk way adding IPv4 only over Plesk panel. I did it since for years in the same way:
after adding IPv4 only over Plesk Panel and rereading IP-addresses /etc/network/interfaces has the following content:
Then in Putty I get "failed" by
# /etc/init.d/networking restart
Here the more detailed result:
Could You please help to get the correct configuration? From this point I didn't and won't go any further by making configurations with DNS and also not using the two IPs for webhosting.
I guess like in the years before that the IPv4 will work by Plesk in webhosting settings. For me is important that the sysctr test fails every time which lead sme to the opinion that there must be a big mistake. I also wonder why it's not possible adding additional IPv6 without getting nginx problems after each reboot. Where do I have a broken config or have problems by not making necessary changes? Sorry for my nerving questions.
Before, I tried the 1and1 way by the IPv4 adding and changing tutorial (replacing dhcp by static configuration), adding the IPv4 over Plesk, and then the following interfaces configuration:
and the following content of /etc/network/interfaces
Lots of greets
to try once more for the last time a own DNS configuration I got two (30 days test in my 1and1 contract) IPv4 addresses for Ubuntu 16.04 with Plesk Onyx 17.5.3#11 on 1and1 server.
Although I know there is a tutorial by 1and1 making necessary changes by adding additional IPv4 (shared) I also tried the recommened way by PLESK to do this. I did both ways.
The last way is the Plesk way adding IPv4 only over Plesk panel. I did it since for years in the same way:
after adding IPv4 only over Plesk Panel and rereading IP-addresses /etc/network/interfaces has the following content:
I don't know why the script makes this unnecessary spaces (<---> I filled this in, because here in forum the spaces are removed by software) in front of address and netmask, and on the other side no spaces between eth0 and eth0:1 and eth0:2, but this should be the last and most unimportant question of all.# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
iface eth0:1 inet static
<--->address 217.160.167.167
<--->netmask 255.255.255.255
auto eth0:1
iface eth0:2 inet static
<--->address 217.160.130.142
<--->netmask 255.255.255.255
auto eth0:2
Then in Putty I get "failed" by
# /etc/init.d/networking restart
Here the more detailed result:
root@server:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/networking.service.d
└─50-insserv.conf-$network.conf
Active: failed (Result: exit-code) since Sun 2017-07-02 18:26:26 CEST; 1min 58s ago
Docs: man:interfaces(5)
Process: 7099 ExecStop=/sbin/ifdown -a --read-environment --exclude=lo (code=exited, status=1/FAILURE)
Process: 8913 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 8905 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited
Main PID: 8913 (code=exited, status=1/FAILURE)
Jul 02 18:26:26 server.arox.eu systemd[1]: Starting Raise network interfaces...
Jul 02 18:26:26 server.arox.eu ifup[8913]: RTNETLINK answers: File exists
Jul 02 18:26:26 server.arox.eu ifup[8913]: Failed to bring up eth0:1.
Jul 02 18:26:26 server.arox.eu ifup[8913]: RTNETLINK answers: File exists
Jul 02 18:26:26 server.arox.eu ifup[8913]: Failed to bring up eth0:2.
Jul 02 18:26:26 server.arox.eu systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Jul 02 18:26:26 server.arox.eu systemd[1]: Failed to start Raise network interfaces.
Jul 02 18:26:26 server.arox.eu systemd[1]: networking.service: Unit entered failed state.
Jul 02 18:26:26 server.arox.eu systemd[1]: networking.service: Failed with result 'exit-code'.
Could You please help to get the correct configuration? From this point I didn't and won't go any further by making configurations with DNS and also not using the two IPs for webhosting.
I guess like in the years before that the IPv4 will work by Plesk in webhosting settings. For me is important that the sysctr test fails every time which lead sme to the opinion that there must be a big mistake. I also wonder why it's not possible adding additional IPv6 without getting nginx problems after each reboot. Where do I have a broken config or have problems by not making necessary changes? Sorry for my nerving questions.
Before, I tried the 1and1 way by the IPv4 adding and changing tutorial (replacing dhcp by static configuration), adding the IPv4 over Plesk, and then the following interfaces configuration:
and the following content of /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 217.160.92.49
netmask 255.255.255.255
gateway 10.255.255.1
pointopoint 10.255.255.1
iface eth0:1 inet static
auto eth0:1
address 217.160.167.167
netmask 255.255.255.255
iface eth0:2 inet static
auto eth0:2
address 217.160.130.142
netmask 255.255.255.255
Lots of greets
Last edited: