ifconfig example


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. miziobox:/# ifconfig
  2. eth0 Link encap:Ethernet HWaddr 00:50:BA:BD:45:DC
  3. inet addr:192.168.0.1 Bcast:192.168.1.255 Mask:255.255.255.0
  4. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  5. RX packets:11413611 errors:1 dropped:0 overruns:0 frame:0
  6. TX packets:9285897 errors:0 dropped:0 overruns:0 carrier:0
  7. collisions:42178 txqueuelen:1000
  8. RX bytes:2885608510 (2.6 GiB) TX bytes:2898719342 (2.6 GiB)
  9. Interrupt:10 Base address:0x1400
  10.  
  11. eth1 Link encap:Ethernet HWaddr 00:0D:88:33:98:D7
  12. inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
  13. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  14. RX packets:8750651 errors:0 dropped:0 overruns:0 frame:0
  15. TX packets:10581416 errors:0 dropped:0 overruns:0 carrier:0
  16. collisions:0 txqueuelen:1000
  17. RX bytes:2858947908 (2.6 GiB) TX bytes:2189463329 (2.0 GiB)
  18. Interrupt:9 Base address:0x1800
  19.  
  20. lo Link encap:Local Loopback
  21. inet addr:127.0.0.1 Mask:255.0.0.0
  22. UP LOOPBACK RUNNING MTU:16436 Metric:1
  23. RX packets:14 errors:0 dropped:0 overruns:0 frame:0
  24. TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
  25. collisions:0 txqueuelen:0
  26. RX bytes:1016 (1016.0 b) TX bytes:1016 (1016.0 b)
  27.  
  28. tap0 Link encap:Ethernet HWaddr 00:FF:CE:B3:14:81
  29. inet addr:10.0.1.1 Bcast:10.0.1.255 Mask:255.255.255.0
  30. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  31. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  32. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  33. collisions:0 txqueuelen:100
  34. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.