WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] xl create don't register IP in xenstore. vif-common.sh antis

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xl create don't register IP in xenstore. vif-common.sh antispoof scripts fails [SOLVED]
From: Carlos <cechevarne@xxxxxxxxx>
Date: Fri, 18 Feb 2011 18:16:37 +0100
Delivery-date: Fri, 18 Feb 2011 09:17:14 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=EM5bjPd9W0O4qiAT8tINe1Pb/BaZMj5dLXgYCGLt3xY=; b=sg5GMJcWOOQT5c1NLFrCc+dlzvReRbw3fXD4Kd+ekMl5qUFAVgyHaOEFyt54oUKTSY bEsipS5JQgSbf5gMFnl0QsdrjKoG+FwDfteinjn3A5cS0qaxEAgSTod2HSwXk/ZyZ08D 8djc/JaWJ4N2kiADJsVs1O5O9W5JkPgcbeEvk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VQNSADpmix1diKRvGu8HxHS/iq4WoqtIE3sLdQdmkShaz0CKnLNUnZPyuzpXMhyFm8 r7y0LVfj5HNRx62uNQSC9zTkJCOXXUBVzA3bOV3CNQ7MJW4nVrwN7gEqxH5+Sb9+BXD5 IlXId4imeBMTfmG0FONr0ZTWXOOAACO004mOA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
When start a domU through xl create. The domU associated ip in the configuration file is not recorded in the xenstore. For this reason vif-common.sh antispoof scripts fails.

xl create 

/usr/bin/xenstore-ls /local/domain/0/backend/vif/5/0
frontend = "/local/domain/5/device/vif/0"
frontend-id = "5"
>state = "4"
script = "/etc/xen/scripts/vif-bridge"
mac = "00:16:3e:56:df:85"
bridge = "eth1"
handle = "0"
feature-sg = "1"
feature-gso-tcpv4 = "1"
feature-rx-copy = "1"
feature-rx-flip = "0"
feature-smart-poll = "1"
hotplug-status = "connected"

xm create

/usr/bin/xenstore-ls /local/domain/0/backend/vif/6/0
bridge = "eth1"
domain = "domU"
handle = "0"
uuid = "5ca3c748-451e-8270-50af-296bd494fca1"
script = "/etc/xen/scripts/vif-bridge"
ip = "82.98.xxx.xxx"
state = "4"
frontend = "/local/domain/6/device/vif/0"
mac = "00:16:3e:56:df:85"
>frontend-id = "6"
feature-sg = "1"
feature-gso-tcpv4 = "1"
feature-rx-copy = "1"
feature-rx-flip = "0"
feature-smart-poll = "1"
hotplug-status = "connected"

I applied the patch of  thread titled "Recent xl and network-route scripts" and it works.

xl create /etc/xen/domU.cfg
Parsing config file /etc/xen/domU.cfg
Daemon running with PID 3199


/usr/bin/xenstore-ls /local/domain/0/backend/vif/1/0
frontend = "/local/domain/1/device/vif/0"

frontend-id = "1"
>state = "2"
script = "/etc/xen/scripts/vif-bridge"
mac = "00:16:3e:56:df:85"
ip = "82.98.xxx.xxx"

bridge = "eth1"
handle = "0"
feature-sg = "1"
feature-gso-tcpv4 = "1"
feature-rx-copy = "1"
feature-rx-flip = "0"
feature-smart-poll = "1"

Thanks!!
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] xl create don't register IP in xenstore. vif-common.sh antispoof scripts fails [SOLVED], Carlos <=