Question
What is "up ip addr add 10.19.0.5/16 dev eth0" in /etc/network/interfaces?
What is “up ip addr add 10.19.0.5/16 dev eth0” in /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
# The primary network interface
auto eth0
iface eth0 inet static
address 46.101.xxx.xxx
netmask 255.255.192.0
gateway 46.101.xxx.x
up ip addr add 10.19.0.5/16 dev eth0
dns-nameservers 8.8.8.8 8.8.4.4
So, where did it come from? :-)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×