Solved

linux service nerwork restart throwing eth1 not dound?

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now