--- On Sat, 1/15/11, mattias <mj@mjw.se> wrote:
> From: mattias <mj@mjw.se>
> Subject: [Xen-users] nat
> To: xen-users@lists.xensource.com
> Date: Saturday, January 15, 2011, 11:43 AM
> If i will use a vm with nat
> Wich interface?
In dom0
-------
uncomment only these two for network and vif
---------/etc/xen/xend-config.sxp-------
(network-script network-nat)
(vif-script vif-nat)
------------------ snip ------
in Vm config
vif = [''ip=10.0.0.1'']
in domU
-------
append these lines to
-----------/etc/network/interfaces---------
auto eth0
iface eth0 inet static
address 10.0.0.1
gateway 10.0.0.254
netmask 255.255.255.0
----------- snip -------------
--
Mark
ChmEarl ##xen@freenode.net
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users