Khao8
September 2nd, 2009, 10:27 AM
Hi all,
I'm trying to setup my Ubuntu 9.04 server to do virtualization following this guide : http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-9.04
To do so, I need to create a bridge with my network interface, but the tutorial shows how to do it when your network is configured with one IP and I have 2 IPs configured on my server. I tried to change the config myself and well.. I failed to do so and my server was unreachable (fortunately I had backuped my working configuration, and asked my host's support to just replace the file and reboot)
I tried googling, and couldn't find help so if you guys could help me configure my network it would be great. Here's my working configuration with the 2 IPs :
# 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 primary network interface
auto eth0
iface eth0 inet static
address 66.197.167.84
netmask 255.255.255.192
network 66.197.167.64
broadcast 66.197.167.127
gateway 66.197.167.65
dns-nameservers 4.2.2.1
dns-search MYHOST.com
post-up iptables-restore < /etc/iptables.up.rules
# dns-* options are implemented by the resolvconf package, if installed
auto eth0:1
iface eth0:1 inet static
address 66.197.167.85
netmask 255.255.255.192
network 66.197.167.64
broadcast 66.197.167.127
gateway 66.197.167.65
Thanks!
I'm trying to setup my Ubuntu 9.04 server to do virtualization following this guide : http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-9.04
To do so, I need to create a bridge with my network interface, but the tutorial shows how to do it when your network is configured with one IP and I have 2 IPs configured on my server. I tried to change the config myself and well.. I failed to do so and my server was unreachable (fortunately I had backuped my working configuration, and asked my host's support to just replace the file and reboot)
I tried googling, and couldn't find help so if you guys could help me configure my network it would be great. Here's my working configuration with the 2 IPs :
# 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 primary network interface
auto eth0
iface eth0 inet static
address 66.197.167.84
netmask 255.255.255.192
network 66.197.167.64
broadcast 66.197.167.127
gateway 66.197.167.65
dns-nameservers 4.2.2.1
dns-search MYHOST.com
post-up iptables-restore < /etc/iptables.up.rules
# dns-* options are implemented by the resolvconf package, if installed
auto eth0:1
iface eth0:1 inet static
address 66.197.167.85
netmask 255.255.255.192
network 66.197.167.64
broadcast 66.197.167.127
gateway 66.197.167.65
Thanks!