Advertisement
Guest User

Untitled

a guest
Mar 1st, 2014
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. /etc/network/interfaces
  2.  
  3. # This file describes the network interfaces available on your system
  4. # and how to activate them. For more information, see interfaces(5).
  5.  
  6. # The loopback network interface
  7. auto lo
  8. iface lo inet loopback
  9.  
  10. # The primary network interface
  11. #NetworkManager#auto eth0
  12. #NetworkManager#iface eth0 inet dhcp
  13.  
  14. //ifconfig
  15.  
  16. /etc/network$ ifconfig
  17. eth0 Link encap:Ethernet HWaddr 00:25:22:b7:45:76
  18. inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
  19. inet6 addr: fe80::225:22ff:feb7:4576/64 Scope:Link
  20. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  21. RX packets:1124 errors:57 dropped:0 overruns:0 frame:49
  22. TX packets:817 errors:0 dropped:0 overruns:0 carrier:5
  23. collisions:0 txqueuelen:1000
  24. RX bytes:105512 (105.5 KB) TX bytes:136059 (136.0 KB)
  25.  
  26. eth1 Link encap:Ethernet HWaddr 90:e2:ba:28:92:70
  27. UP BROADCAST MULTICAST MTU:1500 Metric:1
  28. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  29. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  30. collisions:0 txqueuelen:1000
  31. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  32.  
  33. lo Link encap:Local Loopback
  34. inet addr:127.0.0.1 Mask:255.0.0.0
  35. inet6 addr: ::1/128 Scope:Host
  36. UP LOOPBACK RUNNING MTU:65536 Metric:1
  37. RX packets:1954 errors:0 dropped:0 overruns:0 frame:0
  38. TX packets:1954 errors:0 dropped:0 overruns:0 carrier:0
  39. collisions:0 txqueuelen:0
  40. RX bytes:154613 (154.6 KB) TX bytes:154613 (154.6 KB)
  41.  
  42.  
  43. /etc/network$ ip addr
  44. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
  45. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  46. inet 127.0.0.1/8 scope host lo
  47. valid_lft forever preferred_lft forever
  48. inet6 ::1/128 scope host
  49. valid_lft forever preferred_lft forever
  50. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  51. link/ether 00:25:22:b7:45:76 brd ff:ff:ff:ff:ff:ff
  52. inet 192.168.1.101/24 brd 192.168.1.255 scope global eth0
  53. valid_lft forever preferred_lft forever
  54. inet 192.168.1.102/24 brd 192.168.1.255 scope global secondary eth0
  55. valid_lft forever preferred_lft forever
  56. inet6 fe80::225:22ff:feb7:4576/64 scope link
  57. valid_lft forever preferred_lft forever
  58. 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
  59. link/ether 90:e2:ba:28:92:70 brd ff:ff:ff:ff:ff:ff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement