|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] Domain interfaces
Thanks for the advice on how to set up the domains interfaces :-) The relevant line in the domain config was set to vif=['ip=10.0.0.1,mac=<MACADDRESS>'] - that's as per the manual I think?. Neither had any effect on what ifconfig actually (this is on Xen 3.1.0 btw).
Cheers,
Alasdair
-----Original Message-----
From: Todd Deshane [mailto:deshantm@xxxxxxxxx]
Sent: Fri 1/25/2008 3:26 PM
To: Alasdair P Mclean
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Domain interfaces
On Jan 25, 2008 9:45 AM, Alasdair P Mclean <mcleanap@xxxxxxxxxxxxx> wrote:
> Dear all,
>
> we're currently setting up several (many) domains which all need to
> communicate with Dom0, but not with the outside world. What we need is a way
> to specify that guest domains virtual interfaces (vifx.x) should not be
> bridged to the physical interface (eth0) - is this possible?.
>
Yes, you can setup a dummy0 device in Dom0 to be used for this purpose.
1. Create the dummy0 network interface device (as simple as creating a
network device and loading the dummy module appropriately) - this process is
of course distro specific
2. Specify the (network-script 'network-bridge netdev=dummy0') in
xend-config.sxp. If you need other accesses you will need to setup a custom
script that handles that.
3. use the appropriate vif=['bridge=xenbrX'] for the guest config.
>
> Also when specifying the mac address and ip in the config file (as per the
> manual) it doesnt seem to have any effect on ip and mac the domain actually
> uses (defaults are used instead). Is there some other way to specify this?
>
>From my experience MAC address hhas always worked. I would be surprised that
it doesn't for you. Post the relevant config for that and also the Xen
version etc.
Setting the IP I have often had to do manually in the guest to match. I am
not sure if this was/is a bug or is by design.
Best Regards,
Todd
> Thanks in advance,
> Alasdair
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|