ifconfig

configure a network interface

List the computers networking settings and ports
copy
605
155
ifconfig -a List the computers networking settings and ports

details |

Result:

eth0      Link encap:Ethernet  HWaddr 00:0a:29:8c:88:88  
          inet addr:172.16.126.128  Bcast:172.16.126.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:28ff:ff8b:8888/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3612 errors:3558 dropped:0 overruns:0 frame:0
          TX packets:2344 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:384534 (375.5 KiB)  TX bytes:798863 (780.1 KiB)
          Interrupt:19 Base address:0x2024 

eth1      Link encap:Ethernet  HWaddr 00:0b:25:34:58:26  
          inet addr:172.16.20.128  Bcast:172.16.20.255  Mask:255.255.255.0
          inet6 addr: e80::20a:28ff:ff8b:8888/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:56 errors:56 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6463 (6.3 KiB)  TX bytes:5053 (4.9 KiB)
          Interrupt:19 Base address:0x20a4 

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:6304 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6304 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1539086 (1.4 MiB)  TX bytes:1539086 (1.4 MiB)

Options:



test

example now - Feb. 15, 2012, 10:13 p.m.