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

Crafting a Professional Email: Step-by-Step Guide

Due to growing digitalization, Email Communication has become the backbone of professional interactions. Yet, surprisingly, many professionals struggle to craft…

2 days ago

Demystifying SSL: What Every Website Owner Should Know

As the digital landscape continues to evolve, securing your website has never been more crucial. SSL, or Secure Sockets Layer,…

1 week ago

Cyberduck and FileZilla: A Comprehensive Comparison

As a web designer and web developer your experience must have reached to new height, right? Further, you need to…

1 month ago

The Science Behind Social Media Posting Times

In today's digital landscape, timing is everything. Whether you're a social media manager, business owner, or content creator, the success…

1 month ago

Mastering Google Search Console: Tips for New Users

Are you a website owner? Maintaining the website is the prime concern for any website owner. Yes, it’s equally important…

1 month ago