From Fedora Project Wiki
Line 52: | Line 52: | ||
==== Virsh network commands of interest ==== | ==== Virsh network commands of interest ==== | ||
; domifstat: interface statistics. | ; domifstat: interface statistics. | ||
* virsh domifstat z3 vif7.0 | |||
; attach-interface: attach a network interface. | ; attach-interface: attach a network interface. | ||
* virsh attach-interface z3 bridge eth1 --target eth1 --mac xx:xx:xx:xx:xx:xx | |||
; net-list: list networks. | ; net-list: list networks. | ||
Revision as of 08:55, 5 October 2010
Virtualization short cuts for noobs
Introduction
Purpose
Scope
Acronyms, descriptions
References
- http://en.gentoo-wiki.com/wiki/Bridging_Network_Interfaces
- http://en.gentoo-wiki.com/wiki/KVM#Networking_2
- Shows direct and indirect bridging.
Operating Environment
Which packages you need in order to run virtualization.
Storage
- File based
- LVM Based
- NFS based
- iSCSI
Network
Network configuration needs.
- Bridging
- Direct
- NAT
- NAT/Route
Administration
virsch
virsh help lists the supported commands.
Virsh operations commands of interest
- halt
- shutdown the domain.
- destroy
- as if you pulled the power cord, preferably use 'halt'.
- reboot
- reboot the domain.
- undefine
- remove all references to the domain. (Note; not sure if it is actually *all*).
- dumpxml
- list
- List the active domains.
Virsh network commands of interest
- domifstat
- interface statistics.
- virsh domifstat z3 vif7.0
- attach-interface
- attach a network interface.
- virsh attach-interface z3 bridge eth1 --target eth1 --mac xx:xx:xx:xx:xx:xx
- net-list
- list networks.