Guest User

Untitled

a guest
Feb 23rd, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. $ ls /sys/class/net/
  2. enp0s3 enp0s8 lo
  3.  
  4. $ ifconfig
  5. enp0s3 Link encap:Ethernet HWaddr 08:00:27:47:52:7b
  6. inet addr:192.168.56.101 Bcast:192.168.56.255 Mask:255.255.255.0
  7. inet6 addr: fe80::a00:27ff:fe47:527b/64 Scope:Link
  8. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  9. RX packets:399 errors:0 dropped:0 overruns:0 frame:0
  10. TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
  11. collisions:0 txqueuelen:1000
  12. RX bytes:44031 (44.0 KB) TX bytes:75269 (75.2 KB)
  13.  
  14. lo Link encap:Local Loopback
  15. inet addr:127.0.0.1 Mask:255.0.0.0
  16. inet6 addr: ::1/128 Scope:Host
  17. UP LOOPBACK RUNNING MTU:65536 Metric:1
  18. RX packets:92 errors:0 dropped:0 overruns:0 frame:0
  19. TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
  20. collisions:0 txqueuelen:1
  21. RX bytes:40721 (40.7 KB) TX bytes:40721 (40.7 KB)
  22.  
  23. # The secondary network interface
  24. auto enp0s8
  25. iface enp0s8 inet dhcp
  26.  
  27. $ ifconfig enp0s3 Link encap:Ethernet HWaddr 08:00:27:47:52:7b
  28. inet addr:192.168.56.101 Bcast:192.168.56.255 Mask:255.255.255.0
  29. inet6 addr: fe80::a00:27ff:fe47:527b/64 Scope:Link
  30. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  31. RX packets:6334 errors:0 dropped:0 overruns:0 frame:0
  32. TX packets:7656 errors:0 dropped:0 overruns:0 carrier:0
  33. collisions:0 txqueuelen:1000
  34. RX bytes:2741526 (2.7 MB) TX bytes:10824219 (10.8 MB)
  35.  
  36. enp0s8 Link encap:Ethernet HWaddr 08:00:27:3e:1e:bf
  37. inet addr:10.0.3.15 Bcast:10.0.3.255 Mask:255.255.255.0
  38. inet6 addr: fe80::a00:27ff:fe3e:1ebf/64 Scope:Link
  39. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  40. RX packets:8 errors:0 dropped:0 overruns:0 frame:0
  41. TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
  42. collisions:0 txqueuelen:1000
  43. RX bytes:1730 (1.7 KB) TX bytes:1882 (1.8 KB)
  44.  
  45. lo Link encap:Local Loopback
  46. inet addr:127.0.0.1 Mask:255.0.0.0
  47. inet6 addr: ::1/128 Scope:Host
  48. UP LOOPBACK RUNNING MTU:65536 Metric:1
  49. RX packets:2143 errors:0 dropped:0 overruns:0 frame:0
  50. TX packets:2143 errors:0 dropped:0 overruns:0 carrier:0
  51. collisions:0 txqueuelen:1
  52. RX bytes:443165 (443.1 KB) TX bytes:443165 (443.1 KB)
Add Comment
Please, Sign In to add comment