|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] xl create don't register IP in xenstore. vif-common.sh antis
 
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 <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |