<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ipbrick.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ipbrick.com/index.php?action=history&amp;feed=atom&amp;title=NIC_device_detection%2Fmanagement</id>
		<title>NIC device detection/management - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ipbrick.com/index.php?action=history&amp;feed=atom&amp;title=NIC_device_detection%2Fmanagement"/>
		<link rel="alternate" type="text/html" href="https://wiki.ipbrick.com/index.php?title=NIC_device_detection/management&amp;action=history"/>
		<updated>2026-05-13T13:20:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>https://wiki.ipbrick.com/index.php?title=NIC_device_detection/management&amp;diff=170&amp;oldid=prev</id>
		<title>Amachado: Created page with &quot;= Scenarios =  This applies to IPBRICK v6.0 on the following known situations: * Hardware configuration with removed NICs that are not automatically cleared. * IPBRICK install...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.ipbrick.com/index.php?title=NIC_device_detection/management&amp;diff=170&amp;oldid=prev"/>
				<updated>2014-10-08T08:12:43Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Scenarios =  This applies to IPBRICK v6.0 on the following known situations: * Hardware configuration with removed NICs that are not automatically cleared. * IPBRICK install...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Scenarios = &lt;br /&gt;
This applies to IPBRICK v6.0 on the following known situations:&lt;br /&gt;
* Hardware configuration with removed NICs that are not automatically cleared.&lt;br /&gt;
* IPBRICK installation that was migrated from one server to another (HDD moved from machine A to machine B).&lt;br /&gt;
&lt;br /&gt;
In these scenarios the NIC information may be incorrect, in order to correct this you will need to execute the procedure bellow.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to diagnose ==&lt;br /&gt;
Identify the number of NICs configured in the machine (physical or virtual).&lt;br /&gt;
Identify the number of NICs detected/shown in the operating system (OS).&lt;br /&gt;
In the OS, NICs are reported sequently as:&lt;br /&gt;
# eth0&lt;br /&gt;
# eth1&lt;br /&gt;
# eth2&lt;br /&gt;
# eth3&lt;br /&gt;
# ....&lt;br /&gt;
&lt;br /&gt;
In order to check the information on the OS you can execute as root:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ifconfig eth0&lt;br /&gt;
eth0      Link encap:Ethernet  HWaddr 10:1f:74:e4:fe:c4  &lt;br /&gt;
          inet addr:87.196.239.131  Mask:255.255.255.0&lt;br /&gt;
          UP BROADCAST MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:1000 &lt;br /&gt;
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
...&lt;br /&gt;
#ETH0 is OK.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the number of physical  NICs doesn't match the number of OS detected NICs. Or if your OS can't find/provide information on a lower OS can't provide information on &amp;quot;lower&amp;quot; NICs.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
ifconfig eth0&lt;br /&gt;
#eth0: error fetching interface information: Device not found&lt;br /&gt;
#ETH0 is NOT OK.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Context - UDEV - IPBRICK v6.0 =&lt;br /&gt;
In IPBrick version 6.0 after first boot, the following file is filled with information about the network interface cards (NIC) that exist in the server:&lt;br /&gt;
 /etc/udev/rules.d/70-persistent-net.rules&lt;br /&gt;
&lt;br /&gt;
This file is updated with a new record every time a new NIC is detected at boot time, meanwhile removed NICs are not automatically cleared from this file.&lt;br /&gt;
So if you clear this file it will be automatically updated on the next boot.&lt;br /&gt;
&lt;br /&gt;
= Solution =&lt;br /&gt;
To correct the udec NIC information file, proceed as follows:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#at the local console command line, login as root user and execute&lt;br /&gt;
cd /etc/udev/rules.d&lt;br /&gt;
rm 70-persistent-net.rules&lt;br /&gt;
touch 70-persistent-net.rules&lt;br /&gt;
reboot&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The server will reboot and rebuild from scratch this file with the current NIC configuration.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' this procedure is to be executed at the local console, so you will need physical access to the server machine, or in virtual environment you will need access to the virtual machine console. Do not execute this procedure remotely because you may loose server network connectivity and so loose network remote access.&lt;br /&gt;
 &lt;br /&gt;
= Advanced Network - BOND, BRIDGE =&lt;br /&gt;
These advanced network configurations need aditional atention at the IPBRICK web interface.&lt;/div&gt;</summary>
		<author><name>Amachado</name></author>	</entry>

	</feed>