creating a xen bridging interface
in my previous blog, i go over a simple how-to for setting up xen on etch. in this configuration the xen guests are only visible to the xen-host, and any services on the xen-hosts must be accessed via port forwarding, tunneling etc.
now startup your new machine and you should be all set:
for some applications, a bridging configuration works better. you can set this up as follows:
setup your host interfaces file
on your host system, setup an/etc/network/interfaces file similar to:
auto br0
iface br0 inet static
address [dom0 HOST IP HERE]
netmask [NETMASK IP HERE]
gateway [GATEWAY IP HERE]
bridge_ports eth0check the networking defaults in xen-tools
set sensible values for your gateway and netmask in/etc/xen-tools.conf e.g.:
#
# Uncomment and adjust these network settings if you wish to give your
# new instances static IP addresses.
#
gateway = [GATEWAY IP HERE]
netmask = [NETMASK IP HERE]create your virtual machines
create your new virtual machine e.g.# xen-create-image --tar=./mynewhostimage.tar.gz --ip=172.16.68.1 --hostname=mynewhost# xm create mynewhost.cfgthanks
thanks to stan (the man) schwarz and curtis (pigeon death) hilger for helping me with this.- john's blog
- 5441 reads
Please note, this entry has been closed to new comments.








