Skip to content

Instantly share code, notes, and snippets.

@HostOnNet
Created December 22, 2017 18:19
Show Gist options
  • Save HostOnNet/1ab8df8bf2e7964996009aaab668cc05 to your computer and use it in GitHub Desktop.
Save HostOnNet/1ab8df8bf2e7964996009aaab668cc05 to your computer and use it in GitHub Desktop.
root@vps158797:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether fa:16:3e:4f:d9:d6 brd ff:ff:ff:ff:ff:ff
inet 158.69.223.42/32 brd 158.69.223.42 scope global ens3
valid_lft forever preferred_lft forever
inet 192.99.182.41/32 brd 192.99.182.41 scope global ens3:0
valid_lft forever preferred_lft forever
inet 158.69.56.235/32 brd 158.69.56.235 scope global ens3:1
valid_lft forever preferred_lft forever
inet 158.69.101.3/32 brd 158.69.101.3 scope global ens3:2
valid_lft forever preferred_lft forever
inet 158.69.56.236/32 brd 158.69.56.236 scope global ens3:3
valid_lft forever preferred_lft forever
inet 167.114.11.211/32 brd 167.114.11.211 scope global ens3:4
valid_lft forever preferred_lft forever
inet 158.69.57.190/32 brd 158.69.57.190 scope global ens3:5
valid_lft forever preferred_lft forever
inet 192.99.182.223/32 brd 192.99.182.223 scope global ens3:6
valid_lft forever preferred_lft forever
inet 192.99.182.192/32 brd 192.99.182.192 scope global ens3:7
valid_lft forever preferred_lft forever
inet 192.99.182.193/32 brd 192.99.182.193 scope global ens3:8
valid_lft forever preferred_lft forever
inet 192.99.182.195/32 brd 192.99.182.195 scope global ens3:9
valid_lft forever preferred_lft forever
inet 192.99.182.142/32 brd 192.99.182.142 scope global ens3:10
valid_lft forever preferred_lft forever
inet 192.99.182.238/32 brd 192.99.182.238 scope global ens3:11
valid_lft forever preferred_lft forever
inet 158.69.101.41/32 brd 158.69.101.41 scope global ens3:12
valid_lft forever preferred_lft forever
inet 192.99.182.194/32 brd 192.99.182.194 scope global ens3:13
valid_lft forever preferred_lft forever
inet 158.69.101.58/32 brd 158.69.101.58 scope global ens3:14
valid_lft forever preferred_lft forever
inet 158.69.115.179/32 brd 158.69.115.179 scope global ens3:15
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe4f:d9d6/64 scope link
valid_lft forever preferred_lft forever
root@vps158797:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto ens3
iface ens3 inet dhcp
auto ens3:0
iface ens3:0 inet static
address 192.99.182.41
netmask 255.255.255.255
broadcast 192.99.182.41
auto ens3:1
iface ens3:1 inet static
address 158.69.56.235
netmask 255.255.255.255
broadcast 158.69.56.235
auto ens3:2
iface ens3:2 inet static
address 158.69.101.3
netmask 255.255.255.255
broadcast 158.69.101.3
auto ens3:3
iface ens3:3 inet static
address 158.69.56.236
netmask 255.255.255.255
broadcast 158.69.56.236
auto ens3:4
iface ens3:4 inet static
address 167.114.11.211
netmask 255.255.255.255
broadcast 167.114.11.211
auto ens3:5
iface ens3:5 inet static
address 158.69.57.190
netmask 255.255.255.255
broadcast 158.69.57.190
auto ens3:6
iface ens3:6 inet static
address 192.99.182.223
netmask 255.255.255.255
broadcast 192.99.182.223
auto ens3:7
iface ens3:7 inet static
address 192.99.182.192
netmask 255.255.255.255
broadcast 192.99.182.192
auto ens3:8
iface ens3:8 inet static
address 192.99.182.193
netmask 255.255.255.255
broadcast 192.99.182.193
auto ens3:9
iface ens3:9 inet static
address 192.99.182.195
netmask 255.255.255.255
broadcast 192.99.182.195
auto ens3:10
iface ens3:10 inet static
address 192.99.182.142
netmask 255.255.255.255
broadcast 192.99.182.142
auto ens3:11
iface ens3:11 inet static
address 192.99.182.238
netmask 255.255.255.255
broadcast 192.99.182.238
auto ens3:12
iface ens3:12 inet static
address 158.69.101.41
netmask 255.255.255.255
broadcast 158.69.101.41
auto ens3:13
iface ens3:13 inet static
address 192.99.182.194
netmask 255.255.255.255
broadcast 192.99.182.194
auto ens3:14
iface ens3:14 inet static
address 158.69.101.58
netmask 255.255.255.255
broadcast 158.69.101.58
auto ens3:15
iface ens3:15 inet static
address 158.69.115.179
netmask 255.255.255.255
broadcast 158.69.115.179
# Source interfaces
# Please check /etc/network/interfaces.d before changing this file
# as interfaces may have been defined in /etc/network/interfaces.d
# See LP: #1262951
source /etc/network/interfaces.d/*.cfg
root@vps158797:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment