Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Ubuntu Netplan

$
0
0
Hello experts,

Trying to create a bridge adapter using netplan for deploying KVM.

Code:

Current scenario, 4 x 10gig interface
2 x 10 gig -- bond0
2 x 10 gig -- bond1

1 x bond0 - bond0.3700 ---> Vlan 3700
1 x bond1 - bond1.3701 -->  Vlan 3701

wanted to create bridge adapters, (br0 & br1 ) Could anyone provide some solution.

Please find the current configuration ( 50-cloud-init.yaml )

network:
    bonds:
        bond0:
            interfaces:
            - enp175s0f0
            - enp175s0f1
        parameters:
            mode: active-backup

        bond1:
            interfaces:
            - enp176s0f0
            - enp176s0f1
        parameters:
            mode: active-backup
    ethernets:
        enp175s0f0: {}
        enp175s0f1: {}
        enp176s0f0: {}
        enp176s0f1: {}
    version: 2

    vlans:
        bond0.3700
            addresses:
            - 10.0.0.10
            gateway4: 10.0.0.1
            id: 3700
            link: bond0
            nameservers:
                addresses:
                - 10.0.0.125
                search:
                - testlab.com

        bond1.3701
            addresses:
            - 10.0.1.10
            gateway4: 10.0.1.1
            id: 3701
            link: bond1
            nameservers: {}
---------------------------------------------------------------


Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>