Linux Virtualization Reconfigure Guest Network: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
</syntaxhighlight>
</syntaxhighlight>


Update the network interface definitions, as described in:
Update the network interface definitions, as described in {{Internal|Attaching_a_Guest_Directly_to_a_Virtualization_Host_Network_Interface_with_a_macvtap_Driver#Configure_the_Virtual_Device_on_Guest|Attaching a Guest Directly to a Virtualization Host Network Interface with a macvtap Driver &#124; Configure the Virtual Device on Guest}}
* [[Attaching_a_Guest_Directly_to_a_Virtualization_Host_Network_Interface_with_a_macvtap_Driver#Configure_the_Virtual_Device_on_Guest|Attaching a Guest Directly to a Virtualization Host Network Interface with a macvtap Driver &#124; Configure the Virtual Device on Guest]]


Restart the guest:
Restart the guest:
Line 23: Line 22:
</syntaxhighlight>
</syntaxhighlight>


Verify that the change took:
Verify that the change took. Each configuration has its own specific tests.
<syntaxhighlight lang='bash'>
virsh dominfo <guest-name>
</syntaxhighlight>

Latest revision as of 01:49, 30 July 2023

Internal

Procedure

Shut down the guest:

virsh shutdown <guest-name>

Edit the guest definition:

virsh edit <guest-name>

Update the network interface definitions, as described in

Attaching a Guest Directly to a Virtualization Host Network Interface with a macvtap Driver | Configure the Virtual Device on Guest

Restart the guest:

virsh start <guest-name>

Verify that the change took. Each configuration has its own specific tests.