Advertisement
NeoAky

Untitled

May 27th, 2022 (edited)
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 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. auto lo
  7. iface lo inet loopback
  8. dns-nameservers 213.186.33.99
  9.  
  10. auto ens3
  11. iface ens3 inet static
  12. mtu 1500
  13. # The primary network interface
  14. address 151.80.139.145
  15. netmask 255.255.255.255
  16. broadcast 151.80.139.145
  17. post-up ip route add 151.80.139.1 dev ens3
  18. post-up ip route add default via 151.80.139.1
  19. pre-down ip route del 151.80.139.1 dev ens3
  20. pre-down ip route del default via 151.80.139.1
  21.  
  22. auto ens3:0
  23. iface ens3:0 inet static
  24. address 54.38.106.169
  25. netmask 255.255.255.255
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement