<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Ifconfig</id>
	<title>Ifconfig - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Ifconfig"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Ifconfig&amp;action=history"/>
	<updated>2026-05-15T09:16:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Ifconfig&amp;diff=94&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;  &lt;b&gt;ifconfig&lt;/b&gt; - *technically obsolete (use ip addr instead)* Show interface info, IP address, mac address, etc.        $ sudo ifconfig eth0  eth0      Link encap:Ethernet  HWaddr 00:17:42:1f:18:be            inet addr:10.1.1.7  Bcast:10.1.1.255  Mask:255.255.255.0            inet6 addr: fe80::217:42ff:fe1f:18be/64 Scope:Link            UP BROADCAST MULTICAST  MTU:1500  Metric:1            RX packets:1 errors:0 dropped:0 overruns:0 frame:0            TX packets:11 err...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Ifconfig&amp;diff=94&amp;oldid=prev"/>
		<updated>2024-08-27T00:25:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;  &amp;lt;b&amp;gt;ifconfig&amp;lt;/b&amp;gt; - *technically obsolete (use ip addr instead)* Show interface info, IP address, mac address, etc.        $ sudo ifconfig eth0  eth0      Link encap:Ethernet  HWaddr 00:17:42:1f:18:be            inet addr:10.1.1.7  Bcast:10.1.1.255  Mask:255.255.255.0            inet6 addr: fe80::217:42ff:fe1f:18be/64 Scope:Link            UP BROADCAST MULTICAST  MTU:1500  Metric:1            RX packets:1 errors:0 dropped:0 overruns:0 frame:0            TX packets:11 err...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;ifconfig&amp;lt;/b&amp;gt; - *technically obsolete (use ip addr instead)* Show interface info, IP address, mac address, etc. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ sudo ifconfig eth0&lt;br /&gt;
 eth0      Link encap:Ethernet  HWaddr 00:17:42:1f:18:be&lt;br /&gt;
           inet addr:10.1.1.7  Bcast:10.1.1.255  Mask:255.255.255.0&lt;br /&gt;
           inet6 addr: fe80::217:42ff:fe1f:18be/64 Scope:Link&lt;br /&gt;
           UP BROADCAST MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
           RX packets:1 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
           TX packets:11 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
           collisions:0 txqueuelen:1000&lt;br /&gt;
           RX bytes:229 (229.0 B)  TX bytes:2178 (2.1 KB)&lt;br /&gt;
           Interrupt:10&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Probably the most important line in this is the second line of output, which tells us our host has an IP address (10.1.1.7) and subnet mask (255.255.255.0) configured.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On my RHEL 7:&lt;br /&gt;
 $ ifconfig -a&lt;br /&gt;
 eth0: flags=4163&amp;lt;UP,BROADCAST,RUNNING,MULTICAST&amp;gt;  mtu 9001&lt;br /&gt;
         inet 172.31.0.84  netmask 255.255.240.0  broadcast 172.31.15.255&lt;br /&gt;
         inet6 fe80::25:dbff:fe74:d054  prefixlen 64  scopeid 0x20&amp;lt;link&amp;gt;&lt;br /&gt;
         ether 02:25:db:74:d0:54  txqueuelen 1000  (Ethernet)&lt;br /&gt;
         RX packets 12244412  bytes 7608627959 (7.0 GiB)&lt;br /&gt;
         RX errors 0  dropped 0  overruns 0  frame 0&lt;br /&gt;
         TX packets 55456567  bytes 78290759008 (72.9 GiB)&lt;br /&gt;
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;br /&gt;
 &lt;br /&gt;
 lo: flags=73&amp;lt;UP,LOOPBACK,RUNNING&amp;gt;  mtu 65536&lt;br /&gt;
         inet 127.0.0.1  netmask 255.0.0.0&lt;br /&gt;
         inet6 ::1  prefixlen 128  scopeid 0x10&amp;lt;host&amp;gt;&lt;br /&gt;
         loop  txqueuelen 1000  (Local Loopback)&lt;br /&gt;
         RX packets 142  bytes 10748 (10.4 KiB)&lt;br /&gt;
         RX errors 0  dropped 0  overruns 0  frame 0&lt;br /&gt;
         TX packets 142  bytes 10748 (10.4 KiB)&lt;br /&gt;
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After determining that your server is physically connected to the network, next check if your network interface is configured properly. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now figuring out if the settings for your server are correct, that is something you will need to confirm. If the interface is not configured, try running the following command to see if the interface comes up:&lt;br /&gt;
 $ sudo ifup eth0&lt;br /&gt;
 $ sudo ifconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the settings are wrong or the interface won’t come up, inspect &amp;lt;b&amp;gt;/etc/network/interfaces&amp;lt;/b&amp;gt; on Debian-based systems or &amp;lt;b&amp;gt;/etc/sysconfig/network_scripts/ifcfg-&amp;lt;interface&amp;gt;&amp;lt;/b&amp;gt; on Red Hat-based systems. &amp;lt;u&amp;gt;It is in these files that you can correct any errors in the network settings&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now if the host gets its IP through &amp;lt;b&amp;gt;DHCP&amp;lt;/b&amp;gt;, you will need to move your troubleshooting to the &amp;lt;b&amp;gt;DHCP&amp;lt;/b&amp;gt; host to find out why you aren’t getting a lease.&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>