Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hypervisor:ovs1604 [2016/09/20 10:06]
giancarlo created
hypervisor:ovs1604 [2016/09/20 10:19] (current)
giancarlo
Line 7: Line 7:
 </​code>​ </​code>​
 </​WRAP>​ </​WRAP>​
-  * Use em2 for VM network ​+  * Use enp5s0 ​for VM network ​
 <WRAP prewrap center> <WRAP prewrap center>
 <​code>​ <​code>​
 # nano -w /​etc/​network/​interfaces # nano -w /​etc/​network/​interfaces
  
-+ auto em2 ++ auto enp5s0 
-+ iface em2 inet manual++ iface enp5s0 ​inet manual
 +         up ifconfig $IFACE 0.0.0.0 up +         up ifconfig $IFACE 0.0.0.0 up
 +         down ifconfig $IFACE down +         down ifconfig $IFACE down
 </​code>​ </​code>​
 </​WRAP>​ </​WRAP>​
-Reboot or to enable ​em2 without rebooting+Reboot or to enable ​enp5s0 ​without rebooting
 <WRAP prewrap center> <WRAP prewrap center>
 <​code>​ <​code>​
-# ifconfig ​em2 up+# ifconfig ​enp5s0 ​up
 </​code>​ </​code>​
 </​WRAP>​ </​WRAP>​
Line 29: Line 29:
 <​code>​ <​code>​
 # ovs-vsctl add-br br0 # ovs-vsctl add-br br0
-# ovs-vsctl add-port br0 em2+# ovs-vsctl add-port br0 enp5s0
 </​code>​ </​code>​
 </​WRAP>​ </​WRAP>​
Line 36: Line 36:
 <WRAP prewrap center> <WRAP prewrap center>
 <​code>​ <​code>​
 +# virsh net-list
 + ​Name ​                ​State ​     Autostart ​    ​Persistent
 +----------------------------------------------------------
 + ​default ​             active ​    ​yes ​          yes
 +
 # virsh net-destroy default # virsh net-destroy default
-# virsh net-deactivate default 
 # virsh net-undefine default # virsh net-undefine default
 +
 +# virsh net-list
 + ​Name ​                ​State ​     Autostart ​    ​Persistent
 +----------------------------------------------------------
 +
 </​code>​ </​code>​
 </​WRAP>​ </​WRAP>​
  
   * Define OVS networks for KVM   * Define OVS networks for KVM
-I.e. em2 network has untagged and tagged VLANs and we need one network for untagged VLAN and one network for tag 33 VLAN\\+I.e. enp5s0 ​network has untagged and tagged VLANs and we need one network for untagged VLAN and one network for tag 33 VLAN\\
 <WRAP prewrap center> <WRAP prewrap center>
 <​code>​ <​code>​
 
 
hypervisor/ovs1604.txt · Last modified: 2016/09/20 10:19 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki