为 KVM 创建桥梁

为 KVM 创建桥梁

尝试为我的 KVM 创建桥接设置时,有些事情我不太明白,我无法通过阅读有关同一主题的其他文章来澄清

Configure Bridged Network Interface
Before we proceed you will need to have the following information to setup the new bridge interface.
    Bridge Name: This will be the name of the new bridge interface. We will use br0.
    Interface Name: The name of the network interface which will serve as the bridge slave. This should one of the interface from the output of the above command.
    IP Address: IP address for the bridge interface.
    Subnet Mask: The subnet mask for the network interface you have chosen.
    Gateway IP: The IP of the gateway for the network.
    DNS Addresses: The IPs of the DNS servers you wish to use.

为了正确理解这一点,我的 ifconfig 中的一些行

ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.26  netmask 255.255.255.0  broadcast 192.168.1.255
virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

接口名称:即当前的物理有线连接的名称,即上面的“enp3s0” IP 地址:虚拟机在我的网络 IP 范围内的地址,例如 192.168.1.61 网络掩码是我的网络的网络掩码 255.255.255.0 网关是我当前网络的网关 192.168.1.1 DNS 地址:与我的网络上的相同

这是对文章的正确理解吗

相关内容