Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. apt-get install bridge-utils
  2.  
  3. auto eth0
  4. iface eth0 inet manual
  5.  
  6. auto xenbr0
  7. iface xenbr0 inet static
  8. address your.ip.address
  9. bridge_fd 0
  10. bridge_stp off
  11. bridge_ports eth0
  12. dns-nameserver 8.8.8.8
  13. gateway your.gateway.address
  14. netmask your.netmask
  15.  
  16. modprobe dummy && echo dummy >>/etc/modules
  17.  
  18. auto dummy0
  19. iface dummy0 inet manual
  20. pre-up ifconfig $IFACE up
  21. post-down ifconfig $IFACE down
  22.  
  23. auto xenbr0
  24. iface xenbr0 inet static
  25. address ip.address.on.loopback
  26. bridge_ports dummy0
  27. bridge_fd 0
  28. bridge_stp off
  29. bridge_maxwait 0
  30. netmask netmask.on.loopback
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement