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

 

 


eth0:1 SIOCSIFADDR: No such device, Hostripples Web Hosting
HR-ADMIN