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

Re: [Xen-users] NAT and networks of domUs



Nils Toedtmann <xen-users@xxxxxxxxxxxxxxxxxx> wrote:

>> 2.) Has somebody on the list a working configuration with domUs on a private
>> network, which is/are NATted to the internet via a public IP in dom0? 

[...]

> Try this: 
> 
>   * Shutdown all domUs, stop xend
> 
>   * Set up an empty bridge-device with private ip using you distro 
>     sysconfig or by hand:
> 
>       brctl addbr mybr0
>       ip addr add 192.168.1.1/24 dev mybr0
>       ip link set mybr0 up

Check.


>   * Configure xend (/etc/xen/xend-config.sxp) for not setting up 
>     xen-br0 on startup, but nevertheless adding virtual interfaces 
>     to your bridge:
> 
>       (network-script     network-route)
>       (vif-script         vif-bridge)
>       (vif-bridge         mybr0)

Check.

>   * start xend, boot your VMs, tell them to use IPs in 192.168.1.0/24,
>     default gw being 192.168.1.1. Now all doms should be able to ping 
>     each other within 192.168.1.0/24.

I can ping 192.168.1.1 from each domU. None of the domUs
can ping the other one.

?!

by
Töns
-- 
There is no safe distance.

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