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

Shared Hosting: Migrating Your Site Seamlessly

If you’re new to web hosting, the idea of moving your website from one provider to another might sound intimidating.…

4 days ago

Top 15 WooCommerce Plugins to Power Your eCommerce Store in 2025

WooCommerce powers over 5 million online stores, and its true potential comes alive with plugins that enhance functionality. The right…

5 days ago

Explore the WordPress Theme Editor: Customization Made Easy

When you first launch a WordPress website, it comes with a theme that controls how your site looks and feels.…

2 weeks ago

Make in India, Make for the World: How Hostripples Empowers Modi’s Vision

Introduction Prime Minister Narendra Modi’s clarion call — “Make in India, Make for the World” — is not just a…

3 weeks ago

AI – Powered Customer Support in Hosting: Chatbots & Virtual Assistants

Customer support has always been the backbone of the web hosting industry. From helping users set up domains to troubleshooting…

1 month ago