Problem with Network configuration on UBUNTU Server 12.04 LTS

Discussion in 'Installation/Configuration' started by MikeFF, Jun 8, 2012.

  1. MikeFF

    MikeFF New Member


    I hope i can find some help about this issue.

    Recently I installed my servfer with ubuntu server 12.04 LTS, just console mode, no desktop.

    after I end the installation, i wanted to configure multiple sites ins this server, (just I have it on debian 5) for each site one IP.

    I did the configuration on /etc/network/interfaces (as ussual), but I put a virtual network, and when I reboot my PC, in the boot comes a message:
    "Waiting for server network configuration..."

    After a while, comes a new message:

    "Waiting up to 60 more seconds for network configuration..."

    and it takes about 3 more minutes to boot, after a time, it comes a new message:

    "Booting system without full network configuration..."

    This is my /etc/netwrok/interfaces file as end of the installation.

    Whit that configuration I don't have any problems, everything goes well.

    But when I change to this.

    There is the problem, i have more time to boot.

    And one more thing, this server is behind a router, so to to updates, or new installation, I need to add a new nameserver.

    I mean, I need to DNS address, one the server it self, and then the primary router to connect to internet.

    Could somebody help me with this

    Thanks in advance.
  2. falko

    falko Super Moderator ISPConfig Developer

    What happens if you don't comment out the dns-nameservers line?
  3. MikeFF

    MikeFF New Member

    If I quit the comment, it's exactly the same error, nothing changes.
    Everything goes the same way.

    I also put the DNS nameserver in the resolv.conf file, but nothing.
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you leave out the network and broadcast lines for the virtual network interfaces (eth0:0 and eth0:1)?
  5. MikeFF

    MikeFF New Member

    Hello falko.

    I did what you asked.....

    Everything is the same, nothing changes, that messages are invisible only when i remove the virtual network interfaces, as soon as i put one in there, the message comes out.

    The rare thing is everything works fine after the server completes the booting process, the problem is that i have to wait at least 3 or more minutes more than the normal time to boot up the server.

    Thanks for the help
  6. falko

    falko Super Moderator ISPConfig Developer

    Strange... Could it maybe have anything to do with the NIC? Do you have a spare NIC that you can test with?
  7. TiTex

    TiTex Member

    I made the same mistake as you a few years ago and helped me looking at startup logs i saw that whenever you use IP alliases you don't have to specify , infact you should not specify a gateway for your aliases since they are in the same network as the main IP and they will use the same gateway as the main IP, aslo you don't need to specify the network or/and broadcast address , this informations will be inherited from the main IP

    in one of your startup logs you should see something like "RTNETLINK answers: File exists" , that File exists actually means that the route (the gateway) already exists in the routing table

    so your interfaces file shoud look something like this
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    # The loopback network interface
    auto lo
    iface lo inet loopback
    # The primary network interface
    auto eth0
    iface eth0 inet static
    # dns-* options are implemented by the resolvconf package, if installed
    auto eth0:0
    iface eth0:0 inet static
    auto eth0:1
    iface eth0:1 inet static
    and don't forget to edit /etc/resolv.conf and add your nameservers
    test it and let us know if all it's good
    Last edited: Jun 16, 2012

Share This Page