Solved

linux service nerwork restart throwing eth1 not dound?

Posted on 2016-07-30
5
80 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 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