Advertisement
Guest User

Untitled

a guest
Nov 10th, 2014
561
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1. uname -a
  2. Linux phys08 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
  3.  
  4. 2. dpkg -l | egrep '(ifenslave|bridge-utils|qemu-kvm)' | awk '{print $2 " " $3}'
  5. bridge-utils 1.5-6ubuntu2
  6. ifenslave 2.4ubuntu1
  7. qemu-kvm 2.0.0+dfsg-2ubuntu1.6
  8.  
  9. 3. My boot logs:
  10. dmesg | egrep renamed
  11. [ 10.468243] systemd-udevd[287]: renamed network interface eth1 to em2
  12. [ 10.616282] systemd-udevd[291]: renamed network interface eth0 to em1
  13. [ 17.162783] systemd-udevd[753]: renamed network interface em2 to em5
  14. [ 17.214829] systemd-udevd[722]: renamed network interface em1 to em2
  15. [ 17.466872] systemd-udevd[763]: renamed network interface eth0 to em4
  16. [ 17.530987] systemd-udevd[716]: renamed network interface eth1 to em3
  17.  
  18. dmesg | egrep em[0-9]
  19. [ 10.468243] systemd-udevd[287]: renamed network interface eth1 to em2
  20. [ 10.616282] systemd-udevd[291]: renamed network interface eth0 to em1
  21. [ 17.162783] systemd-udevd[753]: renamed network interface em2 to em5
  22. [ 17.214829] systemd-udevd[722]: renamed network interface em1 to em2
  23. [ 17.466872] systemd-udevd[763]: renamed network interface eth0 to em4
  24. [ 17.530987] systemd-udevd[716]: renamed network interface eth1 to em3
  25. [ 18.110150] bonding: bond0: Adding slave em5.
  26. [ 18.211203] IPv6: ADDRCONF(NETDEV_UP): em5: link is not ready
  27. [ 18.211206] device em5 entered promiscuous mode
  28. [ 18.211271] bonding: bond0: enslaving em5 as an active interface with a down link.
  29. [ 18.211277] bonding: bond0: Adding slave em4.
  30. [ 18.314490] ixgbe 0000:81:00.1: registered PHC device on em4
  31. [ 18.747701] IPv6: ADDRCONF(NETDEV_UP): em4: link is not ready
  32. [ 18.747704] device em4 entered promiscuous mode
  33. [ 18.768714] bonding: bond0: enslaving em4 as an active interface with a down link.
  34. [ 18.768719] bonding: bond0: Adding slave em2.
  35. [ 18.863574] IPv6: ADDRCONF(NETDEV_UP): em2: link is not ready
  36. [ 18.863576] device em2 entered promiscuous mode
  37. [ 18.863631] bonding: bond0: enslaving em2 as an active interface with a down link.
  38. [ 18.864556] bonding: bond0: Adding slave em3.
  39. [ 18.969311] ixgbe 0000:81:00.0: registered PHC device on em3
  40. [ 19.368609] IPv6: ADDRCONF(NETDEV_UP): em3: link is not ready
  41. [ 19.368617] device em3 entered promiscuous mode
  42. [ 19.389583] bonding: bond0: enslaving em3 as an active interface with a down link.
  43. [ 21.652782] igb: em5 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
  44. [ 21.700444] bonding: bond0: link status definitely up for interface em5, 1000 Mbps full duplex.
  45. [ 21.812340] ixgbe 0000:81:00.1 em4: NIC Link is Up 1 Gbps, Flow Control: None
  46. [ 21.900528] bonding: bond0: link status definitely up for interface em4, 1000 Mbps full duplex.
  47. [ 22.269021] igb: em2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
  48. [ 22.304702] bonding: bond0: link status definitely up for interface em2, 1000 Mbps full duplex.
  49. [ 22.857639] ixgbe 0000:81:00.0 em3: NIC Link is Up 1 Gbps, Flow Control: None
  50. [ 22.909015] bonding: bond0: link status definitely up for interface em3, 1000 Mbps full duplex.
  51.  
  52. dmesg | grep bonding
  53. [ 16.512356] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
  54. [ 17.844166] bonding: bond0: Setting MII monitoring interval to 100.
  55. [ 17.844786] bonding: bond0: unable to update mode because interface is up.
  56. [ 18.020201] bonding: bond0: Unable to update LACP rate because bond is not in 802.3ad mode.
  57. [ 18.110150] bonding: bond0: Adding slave em5.
  58. [ 18.211271] bonding: bond0: enslaving em5 as an active interface with a down link.
  59. [ 18.211277] bonding: bond0: Adding slave em4.
  60. [ 18.768714] bonding: bond0: enslaving em4 as an active interface with a down link.
  61. [ 18.768719] bonding: bond0: Adding slave em2.
  62. [ 18.863631] bonding: bond0: enslaving em2 as an active interface with a down link.
  63. [ 18.864556] bonding: bond0: Adding slave em3.
  64. [ 19.389583] bonding: bond0: enslaving em3 as an active interface with a down link.
  65. [ 21.700444] bonding: bond0: link status definitely up for interface em5, 1000 Mbps full duplex.
  66. [ 21.700451] bonding: bond0: first active interface up!
  67. [ 21.900528] bonding: bond0: link status definitely up for interface em4, 1000 Mbps full duplex.
  68. [ 22.304702] bonding: bond0: link status definitely up for interface em2, 1000 Mbps full duplex.
  69. [ 22.909015] bonding: bond0: link status definitely up for interface em3, 1000 Mbps full duplex.
  70. `
  71.  
  72. 4. Configs:
  73. /etc/network/interfaces
  74. auto lo
  75. iface lo inet loopback
  76.  
  77. auto br0
  78. iface br0 inet static
  79. bridge_ports bond0
  80. address 10.0.100.8
  81. netmask 255.255.0.0
  82. gateway 10.0.0.1
  83. bridge_stp off
  84. bridge_fd 0
  85. bridge_maxwait 0
  86.  
  87. auto bond0
  88. iface bond0 inet manual
  89. bond-mode 0
  90. bond-miimon 100
  91. bond-lacp-rate 1
  92. bond-slaves none
  93.  
  94. auto em2
  95. iface em2 inet manual
  96. bond-master bond0
  97.  
  98. auto em3
  99. iface em3 inet manual
  100. bond-master bond0
  101.  
  102. auto em4
  103. iface em4 inet manual
  104. bond-master bond0
  105.  
  106. auto em5
  107. iface em5 inet manual
  108. bond-master bond0
  109.  
  110. virsh edit test
  111. <domain type='kvm'>
  112. <name>test</name>
  113. <uuid>b64b0bb6-68c5-11e4-9aeb-52540002eb97</uuid>
  114. <memory unit='KiB'>4194304</memory>
  115. <currentMemory unit='KiB'>4194304</currentMemory>
  116. <vcpu placement='static'>2</vcpu>
  117. <os>
  118. <type arch='x86_64' machine='pc-1.0'>hvm</type>
  119. <boot dev='hd'/>
  120. <boot dev='cdrom'/>
  121. </os>
  122. <features>
  123. <acpi/>
  124. <apic/>
  125. <pae/>
  126. </features>
  127. <clock offset='utc'/>
  128. <on_poweroff>destroy</on_poweroff>
  129. <on_reboot>restart</on_reboot>
  130. <on_crash>restart</on_crash>
  131. <devices>
  132. <emulator>/usr/bin/kvm</emulator>
  133. <disk type='file' device='disk'>
  134. <driver name='qemu' type='raw'/>
  135. <source file='/opt/test.img'/>
  136. <target dev='vda' bus='virtio'/>
  137. <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
  138. </disk>
  139. <disk type='file' device='cdrom'>
  140. <driver name='qemu' type='raw'/>
  141. <source file='/opt/iso/ubuntu-14.04-server-amd64.iso'/>
  142. <target dev='hdc' bus='ide'/>
  143. <readonly/>
  144. <address type='drive' controller='0' bus='1' target='0' unit='0'/>
  145. </disk>
  146. <controller type='ide' index='0'>
  147. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
  148. </controller>
  149. <controller type='usb' index='0'>
  150. <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
  151. </controller>
  152. <controller type='pci' index='0' model='pci-root'/>
  153. <interface type='bridge'>
  154. <mac address='52:54:00:27:65:0b'/>
  155. <source bridge='br0'/>
  156. <model type='virtio'/>
  157. <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
  158. </interface>
  159. <serial type='pty'>
  160. <target port='0'/>
  161. </serial>
  162. <console type='pty'>
  163. <target type='serial' port='0'/>
  164. </console>
  165. <input type='mouse' bus='ps2'/>
  166. <input type='keyboard' bus='ps2'/>
  167. <graphics type='vnc' port='10111' autoport='no' listen='*'>
  168. <listen type='address' address='*'/>
  169. </graphics>
  170. <sound model='ich6'>
  171. <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  172. </sound>
  173. <video>
  174. <model type='cirrus' vram='9216' heads='1'/>
  175. <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
  176. </video>
  177. <memballoon model='virtio'>
  178. <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
  179. </memballoon>
  180. </devices>
  181. </domain>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement