Skip to content

Instantly share code, notes, and snippets.

@amircloner
Created February 13, 2023 19:43
Show Gist options
  • Save amircloner/e7d39df22e5fcf1e3c1a952bf40f07df to your computer and use it in GitHub Desktop.
Save amircloner/e7d39df22e5fcf1e3c1a952bf40f07df to your computer and use it in GitHub Desktop.
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
eno1:
accept-ra: true
addresses: [ 185.21.60.70/24, 185.21.60.83/24, 185.21.60.84/24, 185.21.60.85/24, 185.21.60.86/24, 185.21.60.88/24 ]
gateway4: 185.21.60.1
nameservers:
addresses:
- "217.23.0.121"
- "93.190.136.10"
#https://www.howtogeek.com/devops/how-to-run-multiple-docker-containers-on-different-ip-addresses/
#https://www.2daygeek.com/add-additional-ip-secondary-ip-ubuntu-debian/
#https://techviewleo.com/how-to-add-secondary-ip-address-on-ubuntu/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment