Как добавить виртуальный сетевой адаптер в Ubuntu 18.04.3 LTS Server

Это мой файл netplan .yaml.

# This file is generated from information provided by
# the datasource.  Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
    ethernets:
        ens192:
            dhcp4: no
            addresses: [12.1.22.198/26]
            gateway4: 12.1.22.194
            nameservers:
              addresses: [8.8.8.8,4.2.2.2]

        ens192:0:
            dhcp4: no
            addresses: [1.0.0.1/24]

        ens160:
            dhcp4: no
            addresses: [101.3.28.232/27]
            nameservers:
              addresses: [101.30.4.20,10.30.4.65]
            routes:
             - to: 101.0.0.0/8
               via: 101.31.28.225
    version: 2

Я хотел ens192:0 в качестве виртуального адаптера, но в ifconfig я не вижу этот ник.

0
задан 10 September 2019 в 12:24

0 ответов

Другие вопросы по тегам:

Похожие вопросы: