Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- amitava@et-vmhost:~$ cat /etc/network/interfaces
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # the "metric" directives are used to specify the preferred interface
- # lower values are higher priority
- # The primary network interface
- auto eth0
- iface eth0 inet static
- address X.X.X.X
- netmask 255.255.255.128
- network X.X.X.X
- broadcast x.x.x.x
- gateway X.X.X.X
- # dns-* options are implemented by the resolvconf package, if installed
- dns-nameservers x.x.x.X X.X.X.X
- dns-search whatever.com
- metric 0
- # configure the bridge for kvm
- # eth1 will be the bridge port
- # set it up, but provide further config in the bridge
- auto eth1
- iface eth1 inet manual
- # configure bridging
- auto br0
- # configure the bridge using DHCP
- iface br0 inet dhcp
- bridge_ports eth1
- bridge_stp off
- bridge_maxwait 0
- metric 10
Add Comment
Please, Sign In to add comment