Hi, I just rebooted my UCS-Master (UCS 4.4-7-958), but my networking did not start. It did not set a ipv6 default gateway.
I have a cuple of IPv6 Addresses on my Master, but the ipv6 default gateway was not set after a reboot. So I have to set it manualy.
A journalctl -u networking.service
gives the following output:
-- Reboot --
Apr 19 09:24:43 gandalf systemd[1]: Starting Raise network interfaces...
Apr 19 09:24:45 gandalf sh[772]: nss-ldap: do_open: do_start_tls failed:stat=-1
Apr 19 09:24:45 gandalf sh[772]: nss_ldap: reconnecting to LDAP server...
Apr 19 09:24:45 gandalf sh[772]: nss-ldap: do_open: do_start_tls failed:stat=-1
Apr 19 09:24:45 gandalf sh[772]: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
Apr 19 09:25:01 gandalf ifup[728]: File: /etc/dhcp/dhclient.conf
Apr 19 09:25:15 gandalf ntpdate[1967]: Can't find host ntp1.hetzner.de: Name or service not known (-2)
Apr 19 09:25:16 gandalf ifup[728]: File: /etc/dhcp/dhclient.conf
Apr 19 09:25:16 gandalf ifup[728]: RTNETLINK answers: File exists
Apr 19 09:25:16 gandalf ifup[728]: ifup: failed to bring up eth0
Apr 19 09:25:16 gandalf systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Apr 19 09:25:16 gandalf systemd[1]: Failed to start Raise network interfaces.
Apr 19 09:25:16 gandalf systemd[1]: networking.service: Unit entered failed state.
Apr 19 09:25:16 gandalf systemd[1]: networking.service: Failed with result 'exit-code'.
My /etc/network/interfaces looks like this:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 78.46.85.6
netmask 255.255.255.224
network 78.46.85.0
broadcast 78.46.85.31
gateway 78.46.85.1
iface eth0 inet6 static
gateway fe80::1
# default
address 2a01:4f8:120:130e::2
netmask 64
# andershamburg
up ip -6 addr add 2a01:4f8:120:130e::11/64 dev eth0
down ip -6 addr del 2a01:4f8:120:130e::11/64 dev eth0
# andershamburgde
up ip -6 addr add 2a01:4f8:120:130e::9/64 dev eth0
down ip -6 addr del 2a01:4f8:120:130e::9/64 dev eth0
# kreuzpfadfinderde
up ip -6 addr add 2a01:4f8:120:130e::7/64 dev eth0
down ip -6 addr del 2a01:4f8:120:130e::7/64 dev eth0
...
Here some ucs variables, that are important for this issue.
interfaces/eth0/address: 78.46.85.6
interfaces/eth0/broadcast: 78.46.85.31
interfaces/eth0/ipv6/acceptRA: false
interfaces/eth0/ipv6/andershamburg/address: 2a01:4f8:120:130e::11
interfaces/eth0/ipv6/andershamburg/hosts: anders.hamburg
interfaces/eth0/ipv6/andershamburg/prefix: 64
interfaces/eth0/ipv6/andershamburgde/address: 2a01:4f8:120:130e::9
interfaces/eth0/ipv6/andershamburgde/hosts: anders-hamburg.de
interfaces/eth0/ipv6/andershamburgde/prefix: 64
interfaces/eth0/ipv6/default/address: 2a01:4f8:120:130e::2
interfaces/eth0/ipv6/default/prefix: 64
....
interfaces/eth0/netmask: 255.255.255.224
interfaces/eth0/network: 78.46.85.0
interfaces/eth0/start: true
interfaces/eth0/type: static
interfaces/primary: eth0
ipv6/gateway: fe80::1%eth0
...
timeserver2: ntp2.hetzner.com
timeserver3: ntp3.hetzner.net
timeserver: ntp1.hetzner.de
I belive that there could be a problem as the Bind9 is not read when networking is starting (as there is no ipv6 deafult gateway at this moment) and /etc/resolv.conf uses the local bind9.
Anyone a suggestion of a working temporary solution? Setting /etc/hosts entries for the ntp servers?