Files
libvirt/docs
Laine Stump 331d9fe3ba qemu: support setting default route for passt interfaces inside the guest
libvirt's <interface> element has for a long time supported adding
<route> sub-elements to specify arbitrary routes to be added to the
guest OS networking, but historically this has only worked for LXC
guests. If you tried to add <route> to the interface of a QEMU guest,
it would be rejected.

passt networking doesn't support setting *any arbitrary* route but it
does support setting a default route (using the passt commandline
"--gateway" parameter). A default route is really just a "route with
unspecified destination/prefix", so a default route can be specified
in libvirt XML with:

   <route gateway='192.168.0.1'/>

Attempts to give a specified destination, prefix, or metric will
result in a validation error.

Resolves: https://issues.redhat.com/browse/RHEL-46602
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2026-03-09 01:15:00 -04:00
..
2023-02-21 10:58:59 +01:00
2023-05-17 16:54:23 +02:00
2023-05-17 16:54:23 +02:00
2023-07-17 10:43:29 -05:00
2022-04-07 15:10:26 +02:00
2022-04-07 15:10:26 +02:00
2026-02-19 18:51:23 +01:00
2022-05-24 12:19:16 +02:00
2024-02-26 12:10:27 +01:00
2022-03-08 17:40:47 +01:00
2022-04-01 16:33:19 +02:00
2026-01-06 10:58:23 +00:00
2025-03-17 12:37:48 +01:00
2022-03-08 17:40:47 +01:00
2017-08-02 15:00:28 -04:00
2022-04-14 11:54:28 +02:00
2022-04-07 15:10:26 +02:00
2024-05-13 08:57:05 +02:00
2025-08-13 15:41:05 +02:00
2022-03-08 17:40:47 +01:00