Bridging the virtual machine network

Your KVM virtual machines will use their own network, unless you configure bridged networking. This means your virtual machines will get an IP address in their own network, instead of yours. By default, each machine will be a member of the 192.168.122.0/24 network, with an IP address within the range of 192.168.122.2 to 192.168.122.254. If you're utilizing KVM VMs on your personal laptop or desktop, this behavior might be adequate. You'll be able to SSH into your virtual machines by their IP address, and you'll be able to communicate with the host from within a virtual machine with the IP address 192.169.122.1. If this satisfies your use case, there's no further configuration you'll need to do.

Bridged networking ...

Get Mastering Ubuntu Server now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.