Advertisement
Guest User

Untitled

a guest
Jul 13th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. root@deploy:~# 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 enp0s9
  16. iface enp0s9 inet dhcp
  17.  
  18. #auto enp0s8
  19. #iface enp0s8 inet static
  20. # address 172.29.236.2
  21. # netmask 255.255.255.0
  22. # network 172.29.236.0
  23. # broadcast 172.29.236.255
  24. # dns-nameservers 8.8.8.8
  25.  
  26. auto enp0s8
  27. iface enp0s8 inet manual
  28.  
  29. auto enp0s8.10
  30. iface enp0s8.10 inet manual
  31. vlan-raw-device enp0s8
  32.  
  33. auto enp0s8.20
  34. iface enp0s8.20 inet manual
  35. vlan-raw-device enp0s8
  36.  
  37. auto enp0s8.30
  38. iface enp0s8.30 inet manual
  39. vlan-raw-device enp0s8
  40.  
  41. auto br-mgmt
  42. iface br-mgmt inet static
  43. bridge_stp off
  44. bridge_waitport 0
  45. bridge_fd 0
  46. bridge_ports enp0s8.10
  47. address 172.29.236.11
  48. netmask 255.255.252.0
  49. # gateway 172.29.239.254
  50. dns-nameservers 8.8.8.8
  51.  
  52. auto br-vxlan
  53. iface br-vxlan inet manual
  54. bridge_stp off
  55. bridge_waitport 0
  56. bridge_fd 0
  57. bridge_ports enp0s8.30
  58.  
  59. auto br-vlan
  60. iface br-vlan inet manual
  61. bridge_stp off
  62. bridge_waitport 0
  63. bridge_fd 0
  64. bridge_ports enp0s8
  65.  
  66. auto br-storage
  67. iface br-storage inet manual
  68. bridge_stp off
  69. bridge_waitport 0
  70. bridge_fd 0
  71. bridge_ports enp0s8.20
  72. source /etc/network/interfaces.d/*.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement