<html><body><div>Hi,</div><div><br></div><div>I'm currently writing a script to avoid ip conflict but I couldn't get ip address from xenstore when I create a guest using libvirt with libxl connector. With 'xl create' command, it works everything fine, but not with libvirt. So I dug into the source code, I couldn't find any code for declaring x_nic->ip field in libxlMakeNic().</div><div><br></div><div>Or I<span style="line-height: 1.5;"> just created XML file the wrong way?</span></div><div> </div><div>Here is a part of domain XML:</div><div><span style="line-height: 1.5;"> <interface type="bridge"></span></div><div> <mac address="00:16:3e:51:6b:19" /></div><div> <protocol family="ipv4"></div><div> <ip address="10.0.1.119" prefix="24" /></div><div> <route gateway="10.0.1.1"/></div><div> </protocol></div><div> <source bridge="virbr0" /></div><div> </interface></div><div><br></div><div>Hope someone can help me out.</div><div><br></div><div>- Larry </div><div><br></div></body></html>