Check IP Address on Linux Fedora using ifconfig command

 

Check IP Address on Linux Fedora using ifconfig command.

 

   The example below show how to check IP Address on Linux Fedora using ifconfig command.  The ifconfig command with -a option show all network interface information, even if the network interface is down.  To check IP Address on Linux Fedora machine just execute ifconfig -a command and locate your IP Address  that label inet addr: as show on command example below

 

 

Check IP Address example:

Check IP Address on Linux Fedora using ifconfig command

[linux@fedora11 ~]$ ifconfig -a

eth2      Link encap:Ethernet  HWaddr 00:0C:29:61:B2:D8

          inet addr:192.168.228.130  Bcast:192.168.228.255  Mask:255.255.255.0

          inet6 addr: fe80::20c:29ff:fe61:b2d8/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:1115 errors:0 dropped:0 overruns:0 frame:0

          TX packets:764 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:101820 (99.4 KiB)  TX bytes:102769 (100.3 KiB)

          Interrupt:19 Base address:0x2000

 

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:36 errors:0 dropped:0 overruns:0 frame:0

          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:6026 (5.8 KiB)  TX bytes:6026 (5.8 KiB)

 

pan0      Link encap:Ethernet  HWaddr AE:2B:67:8D:8D:26

          BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

 

[linux@fedora11 ~]$

 

if you cannot execute ifconfig command as show on example above, try su to root user or use full path to the ifconfig command.  Execute ifconfig with the location to ifconfig command  /sbin/ifconfig -a  .

[linux@fedora11 ~]$ whereis ifconfig

ifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz

[linux@fedora11 ~]$

 

Keywords: ifconfig command, check ip address, execute ifconfig command, check ip address on linux, check ip address on fedora, check ip address example