Results 1 to 4 of 4
Thread: Problems with virtual NIC 0:0
-
10-29-2014, 02:47 PM #1New Member
- Join Date
- Oct 2014
- Posts
- 2
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
Can somebody help me with this problem?
-
10-29-2014, 04:23 PM #2Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
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?
-
10-29-2014, 04:33 PM #3New Member
- Join Date
- Oct 2014
- Posts
- 2
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.
-
10-30-2014, 08:35 PM #4Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
Similar Threads
-
Problems with networking on virtual machines
By nokia3310 in forum Hosting Security and TechnologyReplies: 11Last Post: 12-11-2012, 09:16 PM -
Problems starting virtual server
By keizersoz in forum Hosting Security and TechnologyReplies: 4Last Post: 03-24-2008, 05:13 AM -
VPS Virtual Hosts Problems
By j20_ in forum VPS HostingReplies: 3Last Post: 03-08-2008, 05:32 PM -
Problems with GoDaddy Virtual Dedicated
By meancode in forum Dedicated ServerReplies: 8Last Post: 10-10-2007, 01:39 PM -
Problems with <?php virtual();?> ??!!
By Addict in forum Hosting Security and TechnologyReplies: 3Last Post: 01-21-2003, 06:37 PM