Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. nano /etc/network/interfaces
  2. source /etc/network/interfaces.d/*
  3.  
  4. # The loopback network interface
  5. auto lo
  6. iface lo inet loopback
  7.  
  8. auto eth0
  9. iface eth0 inet manual
  10.  
  11. # Most na eth0
  12.  
  13. auto br0
  14. allow-hotplug br0
  15. iface br0 inet dhcp
  16. bridge_ports eth0
  17. bridge_stp off
  18. bridge_fd 0
  19. bridge_maxwait 0
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29. root@serv-wuw:/home/serv# ifconfig
  30. br0 Link encap:Ethernet HWaddr 4c:72:b9:57:94:ad
  31. inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
  32. inet6 addr: fe80::4e72:b9ff:fe57:94ad/64 Scope:Link
  33. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  34. RX packets:86 errors:0 dropped:0 overruns:0 frame:0
  35. TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
  36. collisions:0 txqueuelen:0
  37. RX bytes:7070 (6.9 KiB) TX bytes:10544 (10.2 KiB)
  38.  
  39. eth0 Link encap:Ethernet HWaddr 4c:72:b9:57:94:ad
  40. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  41. RX packets:12417 errors:0 dropped:0 overruns:0 frame:0
  42. TX packets:8455 errors:0 dropped:0 overruns:0 carrier:1
  43. collisions:0 txqueuelen:1000
  44. RX bytes:1289128 (1.2 MiB) TX bytes:3127370 (2.9 MiB)
  45.  
  46. lo Link encap:Local Loopback
  47. inet addr:127.0.0.1 Mask:255.0.0.0
  48. inet6 addr: ::1/128 Scope:Host
  49. UP LOOPBACK RUNNING MTU:65536 Metric:1
  50. RX packets:13790 errors:0 dropped:0 overruns:0 frame:0
  51. TX packets:13790 errors:0 dropped:0 overruns:0 carrier:0
  52. collisions:0 txqueuelen:0
  53. RX bytes:2490029 (2.3 MiB) TX bytes:2490029 (2.3 MiB)
  54.  
  55. vnet0 Link encap:Ethernet HWaddr fe:54:00:1c:38:35
  56. inet6 addr: fe80::fc54:ff:fe1c:3835/64 Scope:Link
  57. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  58. RX packets:36 errors:0 dropped:0 overruns:0 frame:0
  59. TX packets:860 errors:0 dropped:0 overruns:0 carrier:0
  60. collisions:0 txqueuelen:500
  61. RX bytes:2673 (2.6 KiB) TX bytes:81976 (80.0 KiB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement