Guest User

Untitled

a guest
Apr 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. root@fekete1:/home/diak# ifconfig
  2. eth0 Link encap:Ethernet HWaddr 08:00:27:54:9b:d9
  3. inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
  4. inet6 addr: fe80::a00:27ff:fe54:9bd9/64 Scope:Link
  5. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  6. RX packets:540 errors:0 dropped:0 overruns:0 frame:0
  7. TX packets:546 errors:0 dropped:0 overruns:0 carrier:0
  8. collisions:0 txqueuelen:1000
  9. RX bytes:482531 (471.2 KiB) TX bytes:106112 (103.6 KiB)
  10.  
  11. eth1 Link encap:Ethernet HWaddr 08:00:27:cf:b8:5c
  12. inet addr:10.10.10.1 Bcast:10.255.255.255 Mask:255.0.0.0
  13. inet6 addr: fe80::a00:27ff:fecf:b85c/64 Scope:Link
  14. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  15. RX packets:58 errors:0 dropped:0 overruns:0 frame:0
  16. TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
  17. collisions:0 txqueuelen:1000
  18. RX bytes:10262 (10.0 KiB) TX bytes:12007 (11.7 KiB)
  19.  
  20. lo Link encap:Local Loopback
  21. inet addr:127.0.0.1 Mask:255.0.0.0
  22. inet6 addr: ::1/128 Scope:Host
  23. UP LOOPBACK RUNNING MTU:16436 Metric:1
  24. RX packets:12 errors:0 dropped:0 overruns:0 frame:0
  25. TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
  26. collisions:0 txqueuelen:0
  27. RX bytes:760 (760.0 B) TX bytes:760 (760.0 B)
  28.  
  29. root@fekete1:/home/diak# ifconfig eth1 0.0.0.0 down
  30. root@fekete1:/home/diak# ifconfig eth1 up
  31. root@fekete1:/home/diak# ifconfig eth1 10.10.10.1/24
  32. root@fekete1:/home/diak# ifconfig
  33. eth0 Link encap:Ethernet HWaddr 08:00:27:54:9b:d9
  34. inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
  35. inet6 addr: fe80::a00:27ff:fe54:9bd9/64 Scope:Link
  36. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  37. RX packets:551 errors:0 dropped:0 overruns:0 frame:0
  38. TX packets:587 errors:0 dropped:0 overruns:0 carrier:0
  39. collisions:0 txqueuelen:1000
  40. RX bytes:483515 (472.1 KiB) TX bytes:118470 (115.6 KiB)
  41.  
  42. eth1 Link encap:Ethernet HWaddr 08:00:27:cf:b8:5c
  43. inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
  44. inet6 addr: fe80::a00:27ff:fecf:b85c/64 Scope:Link
  45. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  46. RX packets:60 errors:0 dropped:0 overruns:0 frame:0
  47. TX packets:98 errors:0 dropped:0 overruns:0 carrier:0
  48. collisions:0 txqueuelen:1000
  49. RX bytes:10664 (10.4 KiB) TX bytes:18039 (17.6 KiB)
  50.  
  51. lo Link encap:Local Loopback
  52. inet addr:127.0.0.1 Mask:255.0.0.0
  53. inet6 addr: ::1/128 Scope:Host
  54. UP LOOPBACK RUNNING MTU:16436 Metric:1
  55. RX packets:12 errors:0 dropped:0 overruns:0 frame:0
  56. TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
  57. collisions:0 txqueuelen:0
  58. RX bytes:760 (760.0 B) TX bytes:760 (760.0 B)
  59.  
  60. root@fekete1:/home/diak#
Add Comment
Please, Sign In to add comment