* Network bridge (for virsh)
@ 2022-09-30 5:57 Chris Keschnat via
0 siblings, 0 replies; only message in thread
From: Chris Keschnat via @ 2022-09-30 5:57 UTC (permalink / raw)
To: help-guix
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
I'm using the ~Virtual machine manager~. During
installation/configuration I could not figure out the way to define a
network bridge. I created it manually with ~virsh~:
#+begin_src sh
sudo virsh net-define /gnu/store/47s1cs65izld791m38aa461s02q5ngb7-libvirt-8.6.0/etc/libvirt/qemu/networks/default.xml
sudo virsh net-autostart default
sudo virsh net-start default
#+end_src
(the =default.xml= looks like this)
#+begin_src conf
<network>
<name>default</name>
<bridge name='virbr0'/>
<forward/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254'/>
</dhcp>
</ip>
</network>
#+end_src
What is the declarative way here? If this is documented somewhere I
would appreciate a link. Searching for ~bridge~ on the
networking[1][2] and virtualization[3] docs yields no results
Thank you
Chris
[1] https://guix.gnu.org/manual/devel/en/html_node/Networking-Setup.html
[2] https://guix.gnu.org/manual/en/html_node/Networking-Services.html
[3] https://guix.gnu.org/manual/en/html_node/Virtualization-Services.html
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCAAdFiEEJeJoXz7yKQFBopzYUzV95hT0vZUFAmM2hugACgkQUzV95hT0
vZUgggwAlVBLfLoHmqTBZhLYpDE4wBjZLBaNyNzGr8QlZ272xID3+O5SWoxvfTqw
ywwZyxOlr3P4DP0lExBCOCKiMAULt+0IM1xQySXynGf9yop8/Ii5qtcAaABA6rro
XfZGZc8O6mVRboH5FZVCd9FQ+I1cSsNPhBUtvNltvIlXRZSAIIXrD72EOe1UodAh
4i4/DOMAqJICcLtkZiwAdeQD/l2V0HihvYGkSrrvoay8T4D5VbDacLFiP5xrF8cS
57xIluyhQreRn0XN/LBt2GxckKsw5BozQT4FETdG42ATJAc8FTqQzPXFYjQut/El
G3DdPzni3OAKosfS3JHf+yaDlej8+Ly9AesAdJqz4d9LWxz4lLO4Wu7UkEvhDlOY
Id2SMPYcqcNalnFmwSni68sX9omparor7fj2nonc88eVIN0MaG2bPtwu/tgTv5BB
NLkLVnyQs7TH7EyH26PwEe/JXp1DBgjOsd9Vn0OtLqbGWLNwcrEsBECvRsIl+JKh
xUTTP8i9
=0zzL
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-30 6:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-30 5:57 Network bridge (for virsh) Chris Keschnat via
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).