Advertisement
NeoAky

Untitled

May 27th, 2022
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. # to it will not persist across an instance reboot. To disable cloud-init's
  2. # network configuration capabilities, write a file
  3. # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
  4. # network: {config: disabled}
  5. auto lo
  6. iface lo inet loopback
  7. dns-nameservers 213.186.33.99
  8.  
  9. auto ens3
  10. iface ens3 inet static
  11. mtu 1500
  12. # The primary network interface
  13. address 151.80.139.145
  14. netmask 255.255.255.255
  15. broadcast 151.80.139.145
  16. gateway 151.80.139.1
  17.  
  18. auto ens3:0
  19. iface ens3:0 inet static
  20. address 54.38.106.169
  21. netmask 255.255.255.255
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement