Guest User

Untitled

a guest
Jun 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. amitava@et-vmhost:~$ 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. # The loopback network interface
  6. auto lo
  7. iface lo inet loopback
  8.  
  9. # the "metric" directives are used to specify the preferred interface
  10. # lower values are higher priority
  11.  
  12. # The primary network interface
  13. auto eth0
  14. iface eth0 inet static
  15. address X.X.X.X
  16. netmask 255.255.255.128
  17. network X.X.X.X
  18. broadcast x.x.x.x
  19. gateway X.X.X.X
  20. # dns-* options are implemented by the resolvconf package, if installed
  21. dns-nameservers x.x.x.X X.X.X.X
  22. dns-search whatever.com
  23. metric 0
  24.  
  25. # configure the bridge for kvm
  26.  
  27. # eth1 will be the bridge port
  28. # set it up, but provide further config in the bridge
  29. auto eth1
  30. iface eth1 inet manual
  31.  
  32. # configure bridging
  33. auto br0
  34.  
  35. # configure the bridge using DHCP
  36. iface br0 inet dhcp
  37. bridge_ports eth1
  38. bridge_stp off
  39. bridge_maxwait 0
  40. metric 10
Add Comment
Please, Sign In to add comment