Solved

linux service nerwork restart throwing eth1 not dound?

Posted on 2016-07-30
5
86 Views
Last Modified: 2016-08-03
[root@puppetmaster rules.d]# service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0... done.
                                                           [  OK  ]
Bringing up interface eth1:  Device eth1 does not seem to be present, delaying initialization.
                                                           [FAILED]
0
Comment
  • 4
5 Comments
 
LVL 1

Author Comment

by:BharathKumarRaju DasaraRaju
ID: 41736120
[root@puppetmaster rules.d]# pwd
/etc/udev/rules.d
[root@puppetmaster rules.d]# ls -rtlh
total 12K
-rw-r--r--. 1 root root  54 Dec  8  2011 99-fuse.rules
-rw-r--r--. 1 root root 316 Nov 22  2013 60-raw.rules
-rw-r--r--. 1 root root   1 Jul 31 00:41 70-persistent-cd.rules
[root@puppetmaster rules.d]# cat *
# Enter raw device bindings here.
#
# An example would be:
#   ACTION=="add", KERNEL=="sda", RUN+="/bin/raw /dev/raw/raw1 %N"
# to bind /dev/raw/raw1 to /dev/sda, or
#   ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/bin/raw /dev/raw/raw2 %M %m"
# to bind /dev/raw/raw2 to the device with major 8, minor 1.

KERNEL=="fuse", MODE="0666",OWNER="root",GROUP="root"
[root@puppetmaster rules.d]#
0
 
LVL 1

Author Comment

by:BharathKumarRaju DasaraRaju
ID: 41736121
[root@puppetmaster dhclient]# pwd
/var/lib/dhclient
[root@puppetmaster dhclient]# cat dhclient-eth0.leases
lease {
  interface "eth0";
  fixed-address 10.0.1.124;
  option subnet-mask 255.255.255.0;
  option dhcp-lease-time 3600;
  option routers 10.0.1.1;
  option dhcp-message-type 5;
  option dhcp-server-identifier 10.0.1.1;
  option domain-name-servers 10.0.0.2;
  option interface-mtu 9001;
  option broadcast-address 10.0.1.255;
  option host-name "ip-10-0-1-124";
  option domain-name "ec2.internal";
  renew 0 2016/07/31 01:05:59;
  rebind 0 2016/07/31 01:29:58;
  expire 0 2016/07/31 01:37:28;
}
lease {
  interface "eth0";
  fixed-address 10.0.1.124;
  option subnet-mask 255.255.255.0;
  option routers 10.0.1.1;
  option dhcp-lease-time 3600;
  option dhcp-message-type 5;
  option domain-name-servers 10.0.0.2;
  option dhcp-server-identifier 10.0.1.1;
  option interface-mtu 9001;
  option broadcast-address 10.0.1.255;
  option host-name "ip-10-0-1-124";
  option domain-name "ec2.internal";
  renew 0 2016/07/31 01:04:29;
  rebind 0 2016/07/31 01:34:01;
  expire 0 2016/07/31 01:41:31;
}
[root@puppetmaster dhclient]# cat dhclient-eth1.leases
lease {
  interface "eth1";
  fixed-address 172.16.11.250;
  option subnet-mask 255.255.255.0;
  option routers 172.16.11.1;
  option dhcp-lease-time 3600;
  option dhcp-message-type 5;
  option domain-name-servers 172.16.0.2;
  option dhcp-server-identifier 172.16.11.1;
  option interface-mtu 9001;
  option broadcast-address 172.16.11.255;
  option host-name "ip-172-16-11-250";
  renew 2 2014/04/08 09:12:11;
  rebind 2 2014/04/08 09:37:06;
  expire 2 2014/04/08 09:44:36;
}
[root@puppetmaster dhclient]#
0
 
LVL 1

Author Comment

by:BharathKumarRaju DasaraRaju
ID: 41736122
[root@puppetmaster network-scripts]# pwd
/etc/sysconfig/network-scripts
[root@puppetmaster network-scripts]# ls -rtlh ifcfg-eth1
-rw-r--r--. 1 root root 104 Apr  8  2014 ifcfg-eth1
[root@puppetmaster network-scripts]# cat ifcfg-eth1
# Automatically generated by the vm import process
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=dhcp
TYPE=Ethernet

[root@puppetmaster network-scripts]#
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 41736138
Please post output from
List Interfaces
ifconfig -a
List HW components
lspci

The error means there is no eth1 interface.

If the network adapter are of different vendor, you have to make sure the attempt to bring up the network is after the modprobe

Does this error only occur after a kernel update?
0
 
LVL 1

Author Closing Comment

by:BharathKumarRaju DasaraRaju
ID: 41741090
thanks
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question