Results 1 to 4 of 4
  1. #1

    Problems with virtual NIC 0:0

    Hello everybody,

    I have an VPS running as a webserver. Now i have applied an second IP adres. I have added it to my VPS as ifcfg-eth0:0. Made it working with ifup eth0:0 and did a network restart.

    Now my eth0 looks like

    DEVICE=eth0
    TYPE=Ethernet
    UUID=42442d0b-c6c9-47fa-b311-04425f33186d
    NM_CONTROLLED=yes
    HWADDR=52:54:00:7C:80:0E
    IPADDR=xxx.xxx.xxx.xxx
    PREFIX=24
    GATEWAY=xxx.xxx.xxx.xxx
    DNS1=xx.xx.xx.xx
    DNS2=xx.xx.xx.xx
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth0"
    ONBOOT="yes"
    BOOTPROTO="dhcp"

    my eth0:0 looks like

    DEVICE=eth0:0
    IPADDR=xxx.xxx.xxx.xxx
    NETMASK=255.255.255.0
    GATEWAY=xxx.xxx.xxx.xxx
    ONBOOT=yes
    BOOTPROTO="static"

    Now every 24 hours is my eth0:0 going down and have to restart my network service.

    My dhclient is running and is looking at /var/lib/dhclient/.

    root 14793 0.0 0.0 9116 916 ? Ss 11:37 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0
    Somebody said that isn't right.

    Can somebody help me with this problem?

  2. #2
    Join Date
    Nov 2005
    Posts
    3,944
    Quote Originally Posted by sahi View Post
    Somebody said that isn't right.
    Somebody said what isn't right? The configuration or the dhclient?

    Nothing in particular jumps out at me from a quick glance. Does the IP stop working randomly or at specific intervals?

    If it is random then it is probably a conflict. Someone else may be trying to use that IP address in the network and you may want to contact your host.

    If it is at specific intervals then it is probably something on your system. Does eth0:0 disappear or is it still configured when the IP stops working?


  3. #3
    It happens every 24 hours. the eth0:0 disappears from the ifconfig.

    On an other forum somebody had said that the dhclient doesn't should point to /var/lib/dhclient/ but this person doesn't answer me anymore.

    I have contacted the host and they say everything is alright in their configuration.

  4. #4
    Join Date
    Nov 2005
    Posts
    3,944
    Quote Originally Posted by sahi View Post
    On an other forum somebody had said that the dhclient doesn't should point to /var/lib/dhclient/ but this person doesn't answer me anymore.
    I don't think that is your issue but you could disable dhcp and connect with the static IP to rule out dhcp issues.

    Did you check your logs to see if any messages occur around the same time the interface disappears?


Similar Threads

  1. Problems with networking on virtual machines
    By nokia3310 in forum Hosting Security and Technology
    Replies: 11
    Last Post: 12-11-2012, 09:16 PM
  2. Problems starting virtual server
    By keizersoz in forum Hosting Security and Technology
    Replies: 4
    Last Post: 03-24-2008, 05:13 AM
  3. VPS Virtual Hosts Problems
    By j20_ in forum VPS Hosting
    Replies: 3
    Last Post: 03-08-2008, 05:32 PM
  4. Problems with GoDaddy Virtual Dedicated
    By meancode in forum Dedicated Server
    Replies: 8
    Last Post: 10-10-2007, 01:39 PM
  5. Problems with <?php virtual();?> ??!!
    By Addict in forum Hosting Security and Technology
    Replies: 3
    Last Post: 01-21-2003, 06:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •