[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: routed networking



On Tue, Nov 28, 2006 at 08:29:54AM +1100, Matthew Palmer wrote:
> So instead of allocating 10.0/16 addresses to your domUs, you just allocate
> public IPs to your domUs.
> 
> It might help to think of the bridge as a regular Ethernet switch, and each
> of the machines (dom0 and domU) as a separate physical machine.  Then you
> just configure each machine as you would normally, and leave the bridge to
> play Ethernet games in the middle.  Using that mental model has never
> steered me wrong yet.

Thats a nice analogy, thanks.

Would it be a reasonable facsimile of routable public ip addressing if I
were to add an interface on a spare box I have with the gateway address
in the datacentre, configure my xen hosts with the public ip addresses
provided, and ensure they can communicate with each other on my internal
network?

If not, can anyone confirm the following is what I need to do to move
from my existing bridge setup using rfc1918 addresses to public routable
ips:

Change
(network-script network-bridge)
(vif-script vif-bridge)

to 

(network-script network-route)
(vif-script     vif-route)

in xend-config.sxp

Modify each VM config file from
vif = [' bridge=xenbr0' ]

to 

vif = [ 'ip=mypublicip' ]

Configure dom0 annd domUs normally.

Thanks


-- 
Pete





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.