Configure static IP in RS 1000

  • Hello, gute Nacht,


    I have a persistent failure in networking.service. Interface eth0 is working normally. I don't know the reason for this error and how to solve it:

    final error says "Failed to start Raise network interfaces", although the interfaces are raised and working. I don't understand :/


    this is the interface configuration:


    Code
    # cat /etc/network/interfaces.d/50-cloud-init.cfg
    
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
    address 89.58.57.123/22
    gateway 89.58.56.1


    When I comment all the lines inside file: 50-cloud-init.cfg, the server hangs and it doesn't work.


    Should I keep file 50-cloud-init.cfg always active?


    What is the right way to configure an static IP in Netcup and stop that error in networking.service?


    thanks for any help!

  • final error says "Failed to start Raise network interfaces", although the interfaces are raised and working. I don't understand

    You try to raise the interfaces twice, that's why one attempt is failing.



    When I comment all the lines inside file: 50-cloud-init.cfg, the server hangs and it doesn't work.

    The files differ from one another. In one your IP is 89.58.57.123 - in the other it is .125

    In one the gateway is 89.58.57.1 - the other prints 89.58.56.1


    Maybe a typo? Make sure the IP and gateway are the same as in the SCP network tab. Otherwise they will not work.