Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.87 KB | None | 0 0
  1. $ cat /etc/network/interfaces
  2. # This file describes the network interfaces available on your system
  3. # and how to activate them. For more information, see interfaces(5).
  4.  
  5. # The loopback network interface
  6. auto lo
  7. iface lo inet loopback
  8.  
  9. # The primary network interface
  10. #auto em1
  11. #iface em1 inet dhcp
  12.  
  13. # Bridged network
  14. auto br0
  15. iface br0 inet dhcp
  16.     bridge_ports em1
  17.     bridge_stp on
  18.     bridge_fd 0
  19.     bridge_maxwait 0
  20. $ ifconfig
  21. br0       Link encap:Ethernet  HWaddr f4:ce:46:b0:1e:f0  
  22.           inet addr:192.168.17.17  Bcast:192.168.17.255  Mask:255.255.255.0
  23.           inet6 addr: fe80::f6ce:46ff:feb0:1ef0/64 Scope:Link
  24.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  25.           RX packets:338237 errors:0 dropped:0 overruns:0 frame:0
  26.           TX packets:180207 errors:0 dropped:0 overruns:0 carrier:0
  27.           collisions:0 txqueuelen:0
  28.           RX bytes:460007814 (460.0 MB)  TX bytes:13900357 (13.9 MB)
  29.  
  30. em1       Link encap:Ethernet  HWaddr f4:ce:46:b0:1e:f0  
  31.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  32.           RX packets:338311 errors:0 dropped:0 overruns:0 frame:0
  33.           TX packets:181776 errors:0 dropped:0 overruns:0 carrier:0
  34.           collisions:0 txqueuelen:1000
  35.           RX bytes:464748748 (464.7 MB)  TX bytes:13985821 (13.9 MB)
  36.           Memory:c0400000-c0420000
  37.  
  38. lo        Link encap:Local Loopback  
  39.           inet addr:127.0.0.1  Mask:255.0.0.0
  40.           inet6 addr: ::1/128 Scope:Host
  41.           UP LOOPBACK RUNNING  MTU:65536  Metric:1
  42.           RX packets:16 errors:0 dropped:0 overruns:0 frame:0
  43.           TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
  44.           collisions:0 txqueuelen:0
  45.           RX bytes:1296 (1.2 KB)  TX bytes:1296 (1.2 KB)
  46.  
  47. $ uvt-kvm create secondtest --bridge br0
  48. $ uvt-kvm wait secondtest --insecure
  49. uvt-kvm: error: libvirt domain 'secondtest' has no NIC MACs available.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement