Display and Show Network Device Properties and IP Address using ifconfig Command



Computer Configuration GNU Linux Fedora using Linux Command

 

   The ifconfig command can be use to display or show the network device properties on Linux Fedora system.  The ifconfig command example below is executed with -a option to show all network device properties including, display or show the network IP Address (IPV4), show IPV6 network address, show network net mask and show network device hardware address (or some say Media Access Control address MAC address or Ethernet Hardware Address EHA) .  The ifconfig command example below is executed on Linux Fedora system that have 1 network device.

Show and display all network device properties on Linux Fedora:

Display and show network device properties, show ip address, show network hardware address mac address

[root@fedora ~]# ifconfig -a

eth2 Link encap:Ethernet HWaddr 00:0C:29:74:92:7B

inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe74:927b/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:227442 (222.1 KiB) TX bytes:220965 (215.7 KiB)

Interrupt:18 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:1830 errors:0 dropped:0 overruns:0 frame:0

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

collisions:0 txqueuelen:0

RX bytes:98666 (96.3 KiB) TX bytes:98666 (96.3 KiB)

 

[root@fedora ~]#

 




0 comments: