Categories: Hostripples Featured

eth0:1 SIOCSIFADDR: No such device

Issue :-

The ifconfig command does not show the network interface (eg eth0), but may show a new one (eg em1) with only network-routing IP. Restarting ipaliases within the GuestOS with the command sudo /etc/init.d/ipaliases restart shows the error:
root@server [/etc/sysconfig/network-scripts]# /etc/init.d/ipaliases restart
UnRouting xxxxxxxx SIOCDELRT: No such device
[FAILED]
Shutting down eth0:1 eth0:1: unknown interface: No such device         [FAILED]
Bringing up eth0:1 SIOCSIFADDR: No such device
eth0:1: unknown interface: No such device
SIOCSIFNETMASK: No such device
SIOCGIFADDR: No such device
SIOCSIFBROADCAST: No such device
SIOCSIFBRDADDR: No such device
eth0:1: unknown interface: No such device         [FAILED]
Routing 213.175.223.174 SIOCADDRT: No such device     [FAILED]

root@server [/]# ifconfig
em1       Link encap:Ethernet  HWaddr B8:F:99:61:85
inet addr.x.x.x Bcast.x.x.x  Mask:255.255.255.255
inet6 addr: xxxxxxxx Scope:Link
inet6 addr: xxxxxxxxxx Scope:Global
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:106744 errors:0 dropped:0 overruns:0 frame:0
TX packets:5398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10982940 (10.4 MiB)  TX bytes:1002456 (978.9 KiB)
Interrupt:16 Memorya000000-da012800

lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:368 errors:0 dropped:0 overruns:0 frame:0
TX packets:368 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:71897 (70.2 KiB)  TX bytes:71897 (70.2 KiB)
Solution :-
1) Open WHM using network IP then follows steps WHM >>  Main >> Server Configuration >> Basic cPanel & WHM Setup
and change “The ethernet device…………….” to em1
2) restart the ipaliases (Issue may be solved here)
3) If you still have same issue then check other linux server on which you will find the “em1” device in ifconfig command
4) Copy the ipaliases file from /etc/init.d from above server to server on which you have issue of ipaliases
( if it will not copy and paste then check attribute using lsattr command and change the attribute using chattr command)
5) Now restart the ipalises

 

 


HR-ADMIN

Recent Posts

How to use Meta Business Suite: 2024 Guide

Meta Business Suite is nothing but formerly Facebook Business Manager designed to help users manage their presence across Facebook and Instagram seamlessly.…

17 hours ago

The Ultimate Guide to WordPress Maintenance: Tips and Tricks

When you’re running a business that relies on website traffic and sales to succeed. Then you need to keep it…

2 weeks ago

Migrate In 2024: Our Comprehensive Website Migration Manual to the Next Level

Migration! Yes, this word is very big in the web hosting industry and it has its importance. Especially for businesses…

2 weeks ago

Unveiling the Importance of Server Maintenance Plans: A Comprehensive Guide

The server is the backbone of the web hosting industry and it acts like a HERO in the web hosting…

3 weeks ago

IP Address is Blocked? A handpicked list of Solutions to Fix it?

Imagine you are on holiday having a cup of tea and browsing your website or blog.Then, what next?You will get…

4 weeks ago