Hi guys,

I am using Ubuntu 20 I have two interfaces. One physical (eno1) with internet 
access, and eno2 is a vRack for the private network.

On the configuration below, if I use eno2 as interface for both bridges, I can 
create VMs and they can ping each other but I do not have internet access. 
However, if I set the interface to eno1, the network crashes...

What am I missing? How should my configuration look like?

Thanks in advance!

network:
    version: 2
    ethernets:
        eno2:
            dhcp4: no
            addresses:
              - 192.168.0.1/16
        eno1:
            accept-ra: false
            addresses:
            - xxxx:xxxx:xxx:xxxx::/56
            dhcp4: true
            match:
                macaddress: ac:1f:6b:df:50:78
            nameservers:
                addresses:
                - xxxx:xxxx:x:xxx::1
     bridges:
        cloudbr0:
            addresses: [192.168.1.1/16]
            gateway4: 192.168.255.255
            nameservers:
                addresses: [8.8.8.8]
            interfaces: [eno1]
            dhcp4: false
            dhcp6: false
            parameters:
                stp: false
                forward-delay: 0
        cloudbr1:
            interfaces: [eno1]
            dhcp4: false
            dhcp6: false
            parameters:
              stp: false
              forward-delay: 0

eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet xx.xxx.xx.xxx  netmask 255.255.255.0  broadcast xx.xxx.xx.xxx
        inet6 xxxx::xxxx:xxxx:xxxx:xxxx  prefixlen 64  scopeid 0x20<link>
        inet6 xxxx:xxxx:xxx:xxxx::  prefixlen 56  scopeid 0x0<global>
        ether xx:xx:xx:xx:xx:xx  txqueuelen 1000  (Ethernet)
        RX packets 441753  bytes 142093871 (142.0 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 425365  bytes 66792387 (66.7 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.1  netmask 255.255.0.0  broadcast 192.168.255.255
        ether ac:1f:6b:df:50:79  txqueuelen 1000  (Ethernet)
        RX packets 29006  bytes 2390888 (2.3 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 24554  bytes 1715980 (1.7 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Reply via email to