Advertisement
Guest User

Untitled

a guest
Jul 13th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. root@target:~# cat /etc/network/interfaces
  2. # This file describes the network interfaces available on your system
  3. # and how to activate them. For more information, see interfaces(5).
  4.  
  5. source /etc/network/interfaces.d/*
  6.  
  7. # The loopback network interface
  8. auto lo
  9. iface lo inet loopback
  10.  
  11. # The primary network interface
  12. auto enp0s3
  13. iface enp0s3 inet dhcp
  14.  
  15. #auto enp0s8
  16. #iface enp0s8 inet static
  17. # address 172.29.236.3
  18. # netmask 255.255.255.0
  19. # network 172.29.236.0
  20. # broadcast 172.29.236.0
  21. # dns-nameservers 8.8.8.8
  22.  
  23. auto enp0s8
  24. iface enp0s8 inet manual
  25.  
  26. auto enp0s8.10
  27. iface enp0s8.10 inet manual
  28. vlan-raw-device enp0s8
  29.  
  30. auto enp0s8.20
  31. iface enp0s8.20 inet manual
  32. vlan-raw-device enp0s8
  33.  
  34. auto enp0s8.30
  35. iface enp0s8.30 inet manual
  36. vlan-raw-device enp0s8
  37.  
  38. auto br-mgmt
  39. iface br-mgmt inet static
  40. bridge_stp off
  41. bridge_waitport 0
  42. bridge_fd 0
  43. bridge_ports enp0s8.10
  44. address 172.29.236.12
  45. #gateway 172.29.236.1
  46. dns-nameservers 8.8.8.8
  47.  
  48. auto br-vxlan
  49. iface br-vxlan inet static
  50. bridge_stp off
  51. bridge_waitport 0
  52. bridge_fd 0
  53. bridge_ports enp0s8.30
  54. address 172.29.240.12
  55. netmask 255.255.252.0
  56.  
  57. auto br-storage
  58. iface br-storage inet static
  59. bridge_stp off
  60. bridge_waitport 0
  61. bridge_fd 0
  62. bridge_ports enp0s8.20
  63. address 172.29.244.12
  64. netmask 255.255.252.0
  65.  
  66.  
  67. root@target:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement