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

Re: [Xen-users] Xen in a routed network environment?



Am Dienstag, 24. Januar 2006 22:13 schrieb Andy Smith:
> Hello,
>
> I'm used to using Xen in a bridge mode where my dom0 and all domUs
> are on the same layer 2 network.  However now I have to set up a
> server whose eth0 is on one network and the domUs will be on another
> /29.
>
> So, for example, if the eth0 of dom0 is 192.168.1.214/24, then I
> have 10.1.1.0/29 (10.1.1.0 -> 10.1.1.7) routed to it for use in
> domUs, how would I go about setting that up?

As you would configure it for every normal/physical server. Your router has to 
route traffic for this /29 to the same network interface as for the /24 you 
are already using right now. xen (in bridge mode) is just like having more 
then one realserver connected to one of your switchports (by using an 
additional switch/hub or whatever). I would suggest that you bind one ip out 
of the /29 on the router, and one other ip out of the /29 on your domU. The 
domU now only has to be configured to use the ip and the correct netmask + 
your router's ip (the one from the new /29 net) as default gateway. It 
doesn't need to know about your already existing /24 network, that there is a 
bridge between the domU and the router or something else.

even your dom0 doesn't need to be configured at all (at least normaly), 
because again of the bridge used. A bridge doesn't care for any layer3 
related stuff like ip networking... It forwards traffic by arp/mac addreses. 
And as long as you don't do any blocking on layer2 or layer3 on your dom0 
(for the vifX interfaces or the peth0 interface) you shouldn't have to do 
anything on your dom0 for a new network. It's not dom0 related in any, it's 
just arriving on peth0 and gets forwarded to the correct vif interface 
automaticly.

> Is there any good documentation I could read on this subject?

Don't know... But probably not too much, because this is not really someting 
xen specific. you should try to look for howto's and information about 
bridges, routing, layer2/3 stuff and so on...  there is no xen specific stuff 
that you should be aware of (if I am not totally wrong).

> Thanks,
> Andy

--Ralph

_______________________________________________
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®.