SHARE
TWEET

ubuntu networking

poldim Nov 17th, 2019 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This file is generated from information provided by
  2. # the datasource.  Changes to it will not persist across an instance.
  3. # To disable cloud-init's 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.     ethernets:
  8.         ens3:
  9.             addresses:
  10.             - 10.30.20.200/24
  11.             gateway4: 10.30.20.1
  12.             nameservers:
  13.                 addresses:
  14.                 - 10.30.20.1
  15.             dhcp4-overrides:
  16.                 route-metric: 100
  17.         ens4:
  18.             addresses:
  19.             - 10.30.30.200/24
  20.             gateway4: 10.30.30.1
  21.             nameservers:
  22.                 addresses:
  23.                 - 10.30.30.1
  24.             dhcp4-overrides:
  25.                 route-metric: 101
  26.     version: 2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top