Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. auto lo
  2. iface lo inet loopback
  3.  
  4. auto eth0
  5. iface eth0 inet static
  6. address 1.1.1.1
  7. netmask 255.255.255.0
  8. gateway 1.1.1.254
  9. dns-nameservers 8.8.4.4 8.8.8.8
  10.  
  11. auto br1
  12. iface br1 inet manual
  13. bridge_ports eth1
  14. bridge_fd 0
  15. bridge_hello 2
  16. bridge_maxage 12
  17. bridge_stp off
  18.  
  19. auto br2
  20. iface br2 inet manual
  21. bridge_ports eth2
  22. bridge_fd 0
  23. bridge_hello 2
  24. bridge_maxage 12
  25. bridge_stp off
  26.  
  27. <interface type='bridge'>
  28. <mac address='52:54:00:aa:aa:aa'/>
  29. <source bridge='br1'/>
  30. <target dev='vnet1'/>
  31. <model type='virtio'/>
  32. <alias name='net0'/>
  33. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  34. </interface>
  35.  
  36. <interface type='bridge'>
  37. <mac address='52:54:00:ba:ba:ba'/>
  38. <source bridge='br2'/>
  39. <target dev='vnet2'/>
  40. <model type='virtio'/>
  41. <alias name='net0'/>
  42. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  43. </interface>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement