|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] mount DomU root fs via. NFS
On Wed, 2014-07-30 at 18:03 +0100, Jeenu Viswambharan wrote:
> Hi,
>
> I've Dom0 running on Vexpress with the file system mounted via. NFS. I'm
> also trying to get the DomU file system mounted via. NFS.
>
> Because the Dom0 file system is already mounted via. NFS, I believe I
> can't use bridging because that'd involve taking the eth0 interface
> down. A quick search suggested that bringing eth0 down will freeze the
> system.
Most likely yes, although it might be worth trying something like:
brctl addbr xenbr0
brctl addif xenbr0 eth0
dhcp xenbr0
ifconfig eth0 0.0.0.0
or something. I'm doubtful that will work though...
http://lnotestoself.blogspot.co.uk/2013/04/enabling-bridge-interface-when-youre-on.html
suggests a pretty skanky hack to deal with that.
> I therefore instead chose to go with NAT instead.
>
> From [1], all that's to be done in Dom0 is to
>
> echo 1 > /proc/sys/net/ipv4/ip_forward
[1] also says you need to do
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
to enable NAT, otherwise you are just in regular routing mode.
If you don't do that then you would have to arrange a subnet for your
VMs and appropriate routing tables in your external infrastructure etc.
Ian.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |