Skip to content

Instantly share code, notes, and snippets.

@serverok
Created February 16, 2019 18:16
Show Gist options
  • Save serverok/d498659e606d1f0f82a54e597632dd32 to your computer and use it in GitHub Desktop.
Save serverok/d498659e606d1f0f82a54e597632dd32 to your computer and use it in GitHub Desktop.
root@vps624512:~# cat /etc/network/interfaces
# ifupdown has been replaced by netplan(5) on this system. See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
# sudo apt install ifupdown
auto ens3
iface ens3 inet static
address 51.77.149.182
netmask 255.255.255.255
broadcast 51.77.149.182
post-up route add 51.77.148.1 dev ens3
post-up route add default gw 51.77.148.1
post-down route del default gw 51.77.148.1
post-down route del 51.77.148.1 dev ens3
auto ens3:0
iface ens3:0 inet static
address 176.31.197.2
netmask 255.255.255.255
broadcast 176.31.197.2
auto ens3:1
iface ens3:1 inet static
address 176.31.197.3
netmask 255.255.255.255
broadcast 176.31.197.3
auto ens3:2
iface ens3:2 inet static
address 176.31.197.4
netmask 255.255.255.255
broadcast 176.31.197.4
auto ens3:3
iface ens3:3 inet static
address 176.31.197.5
netmask 255.255.255.255
broadcast 176.31.197.5
auto ens3:4
iface ens3:4 inet static
address 176.31.197.6
netmask 255.255.255.255
broadcast 176.31.197.6
auto ens3:5
iface ens3:5 inet static
address 51.68.55.158
netmask 255.255.255.255
broadcast 51.68.55.158
auto ens3:6
iface ens3:6 inet static
address 51.68.55.159
netmask 255.255.255.255
broadcast 51.68.55.159
auto ens3:7
iface ens3:7 inet static
address 51.68.55.160
netmask 255.255.255.255
broadcast 51.68.55.160
auto ens3:8
iface ens3:8 inet static
address 51.68.55.161
netmask 255.255.255.255
broadcast 51.68.55.161
auto ens3:9
iface ens3:9 inet static
address 51.68.55.162
netmask 255.255.255.255
broadcast 51.68.55.162
auto ens3:10
iface ens3:10 inet static
address 51.68.55.163
netmask 255.255.255.255
broadcast 51.68.55.163
auto ens3:11
iface ens3:11 inet static
address 51.255.154.135
netmask 255.255.255.255
broadcast 51.255.154.135
auto ens3:12
iface ens3:12 inet static
address 51.255.154.141
netmask 255.255.255.255
broadcast 51.255.154.141
auto ens3:13
iface ens3:13 inet static
address 51.255.154.142
netmask 255.255.255.255
broadcast 51.255.154.142
auto ens3:14
iface ens3:14 inet static
address 51.255.154.143
netmask 255.255.255.255
broadcast 51.255.154.143
auto ens3:15
iface ens3:15 inet static
address 51.255.154.144
netmask 255.255.255.255
broadcast 51.255.154.144
root@vps624512:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment