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

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…

16 hours 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…

2 weeks ago

ChatGPT: Your Ultimate AI Content Generation Tool

Content is the most vital asset for businesses navigating the digital era. But creating high-quality, engaging content consistently can be…

4 weeks ago

Discover Ollama: How It Works, Features & Everything?

Welcome to the exciting world of Ollama, a revolutionary open-source tool that's democratizing access to Large Language Models (LLMs). If…

1 month ago

Connecting to Amazon EC2 via WinSCP (SFTP): A Complete Guide

Managing files on your Amazon EC2 instances can often feel like navigating a complex maze, especially when you prefer a…

2 months ago