Advertisement
Shushki

Netplan Config

Oct 10th, 2022
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.67 KB | None | 0 0
  1. # This file is generated from information provided by the datasource.  Changes
  2. # to it will not persist across an instance reboot.  To disable cloud-init's
  3. # network configuration capabilities, write a file
  4. # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
  5. # network: {config: disabled}
  6. network:
  7.     bonds:
  8.         bond0:
  9.             addresses: []
  10.             interfaces:
  11.            - enp1s0f0
  12.             - enp1s0f1
  13.             macaddress: 3c:ec:ef:b4:c6:94
  14.             mtu: 9000
  15.             parameters:
  16.                 down-delay: 0
  17.                 lacp-rate: fast
  18.                 mii-monitor-interval: 100
  19.                 mode: 802.3ad
  20.                 transmit-hash-policy: layer3+4
  21.                 up-delay: 0
  22.     ethernets:
  23.         enp1s0f0:
  24.             match:
  25.                 macaddress: 3c:ec:ef:b4:c6:94
  26.             mtu: 9000
  27.             optional: true
  28.             set-name: enp1s0f0
  29.         enp1s0f1:
  30.             match:
  31.                 macaddress: 3c:ec:ef:b4:c6:95
  32.             mtu: 9000
  33.             optional: true
  34.             set-name: enp1s0f1
  35.     version: 2
  36.     vlans:
  37.         bond0.10:
  38.             addresses:
  39.            - 10.1.0.11/24
  40.             id: 10
  41.             link: bond0
  42.             mtu: 9000
  43.         bond0.11:
  44.             addresses:
  45.            - xxx.xxx.242.242/29
  46.             - xxx.xxx.242.243/29
  47.             - xxx.xxx.242.244/29
  48.             - xxx.xxx.242.245/29
  49.             - xxx.xxx.242.246/29
  50.             gateway4: xxx.xxx.242.241
  51.             id: 11
  52.             link: bond0
  53.             mtu: 9000
  54.             nameservers:
  55.                 addresses:
  56.                - 8.8.8.8
  57.                 - 8.8.4.4
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement