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

RE: [Xen-users] Dom-U config: whats the role of vif - IP


  • To: "Christoph Purrucker" <cp+ml-xen@xxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fischer, Anna" <anna.fischer@xxxxxx>
  • Date: Sun, 24 Sep 2006 15:52:51 +0100
  • Delivery-date: Sun, 24 Sep 2006 07:53:49 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcbeLOn0wjTdZLGUTOy8kdpy0RHBxgBm504w
  • Thread-topic: [Xen-users] Dom-U config: whats the role of vif - IP

As far as I understand there're several ways of configuring DomU's
networking in Xen. One reason for example to specify the IP in the
configuration file is that then it is possible to enable antispoofing
for IP addresses of your DomUs. This means that when you configure
another IP in your DomUs ifconfig than in your DomU configuration file,
then networking for your DomU won't work anymore. I never used this
feature, but this is what the documentation says. However, you have to
enable antispoofing explicitly. 
Another reason for configuring networking in the configuration file is
to pass this information as kernel parameters, which is very useful for
i.e. booting from network devices etc.

However, if you don't need all this, then there's no problem with
leaving the IP configuration out of the configuration file (-> vif =
['']) and just use ifconfig in your DomU itself.

Anna

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Christoph
Purrucker
Sent: Freitag, 22. September 2006 10:52
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Dom-U config: whats the role of vif - IP

Hello,

in the example configuration-files I always read, that I've to add an
IP-Adress if I don't have a DHCPd running. I'm running in bridge-mode.
For
example:

vif = ['ip=192.168.5.99']

But I don't want to configure the IP-Adress in an config-file on Dom-0;
the Admin of the Dom-U should do that with Dom-U's ifconfig (or Debian's
/etc/network/interfaces). I started several Dom-Us with

vif = ['']

and it seems, that they run quite fine with a locally configured
interface. And further on, if I change the above vif =
['ip=192.168.5.99']
to any other IP, the Dom-U ist still reachable under its locally
configured IP (and not under the new one in der config-file) after
rebooting the Dom-U.

So what's the sense of the above parameter?

cu cp


_______________________________________________
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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.