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

Re: [Xen-users] howto re-create XEN network bridge?



On Sat, Nov 7, 2009 at 1:28 AM, Rudi Ahlers <Rudi@xxxxxxxxxxx> wrote:

> I see now that none of the VPS's can establish any outbound
> connections, yet the server itself can.


Are the domUs still accessible from outside world? You mentioned
earlier that you can ssh to domU, but domU can't access anywhere. If
that's the case I suggest you try using bridge + NAT. You should have
a bridge called virbr0 by default on RHEL/Centos (created by libvirt),
with NAT already setup (check with "iptables -nL -t nat"). It should
show something like this

# iptables -nL -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  192.168.122.0/24    !192.168.122.0/24

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination



After that, create a domU that uses virbr0 bridge (use DHCP in domU).
Then check whether you can access outside world from domU. If you can,
then what I said earlier is probably true : the source of problem
might be elsewhere and not in your bridge setup.
It's also possible that your ISP/uplink provider is blocking packets
from your domU IP address.

-- 
Fajar

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