Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

missing /usr/share/libvirt/networks/default.xml

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
codolom
Posts: 3
Joined: 2016-03-21 08:00

missing /usr/share/libvirt/networks/default.xml

#1 Post by codolom »

Hi,
I have to configure my debian to be a host system for linux and windows guests. That's why I need virtual ethernet connections for guests, but failed to setup.
I tried to use https://wiki.debian.org/BridgeNetworkConnections and a related link on this page: http://wiki.libvirt.org/page/Networking ... orks.22.29
Here can be found this:

Code: Select all

# virsh net-define /usr/share/libvirt/networks/default.xml
Network default defined from /usr/share/libvirt/networks/default.xml
# virsh net-autostart default
Network default marked as autostarted
# virsh net-start default
Network default started
But /usr/share/libvirt/networks directory doesn't exist.
If I ignore this line and continue:

Code: Select all

# brctl show
bridge name     bridge id                         stp enabled             interfaces
virbr0               8000.000000000000        yes

# ifconfig virbr0
...
inet addr: 192.168.122.1
But I need 192.168.something.i.need like:

Code: Select all

# cat /etc/network/interfaces
...
iface br0 inet static
  bridge_ports eth0
    address 192.168.something.i.need
    broadcast 192.168.5.255
    netmask 255.255.255.0
    gateway 192.168.5.254
  bridge_stp on
Do not found any solution for this problem. Can anybody help?
Thanks for advance
cod

Post Reply