Networking with the XAPI toolstack: Difference between revisions

From Xen
Jump to navigationJump to search
(Created page with "Currently, Project Kronos does not include scripts to configure networking automatically. To get networking working, you'll need to set up the bridge manually: <pre> brctl addb…")
 
(notes about management interface)
Line 1: Line 1:
Currently, Project Kronos does not include scripts to configure networking automatically. To get networking working, you'll need to set up the bridge manually:
Currently, Project Kronos does not include scripts to configure networking automatically. To get networking working, you'll need to set up the bridge manually:


brctl addbr xenbr0
<pre>
brctl addbr xenbr0
brctl addif xenbr0 eth0
brctl addif xenbr0 eth0
</pre>



You may need to move the IP address to the bridge rather than the physical interface. Having done this, try a pif-scan:
You may need to move the IP address to the bridge rather than the physical interface. Having done this, try a pif-scan:


xe pif-scan
<pre>

xe pif-scan
</pre>


This should create the network for your interface.
This should create the network for your interface.

After that you can (not sure if this is necessary) configure management interface. Because we already do have configured interface, it just saying XCP real situation around.

xe pif-reconfigure-ip pif-uuid=... mode=static IP=... mask=... gateway=... DNS=...
xe host-management-reconfigure pif-uuid=...

After scan and configuring it better to reboot to change status (plugged) to actual state of interface.

Revision as of 23:44, 1 January 2012

Currently, Project Kronos does not include scripts to configure networking automatically. To get networking working, you'll need to set up the bridge manually:

brctl addbr xenbr0
brctl addif xenbr0 eth0

You may need to move the IP address to the bridge rather than the physical interface. Having done this, try a pif-scan:

xe pif-scan


This should create the network for your interface.

After that you can (not sure if this is necessary) configure management interface. Because we already do have configured interface, it just saying XCP real situation around.

xe pif-reconfigure-ip pif-uuid=... mode=static IP=... mask=... gateway=... DNS=...
xe host-management-reconfigure pif-uuid=...

After scan and configuring it better to reboot to change status (plugged) to actual state of interface.