32 lines
577 B
Plaintext
32 lines
577 B
Plaintext
# This file describes the network interfaces available on your system
|
|
# and how to activate them. For more information, see interfaces(5).
|
|
|
|
#/etc/network/interfaces
|
|
|
|
source /etc/network/interfaces.d/*
|
|
|
|
# The loopback network interface
|
|
auto lo
|
|
iface lo inet loopback
|
|
|
|
# The primary network interface
|
|
auto ens18
|
|
iface ens18 inet static
|
|
address 10.9.0.10
|
|
netmask 255.255.255.0
|
|
gateway 10.9.0.160
|
|
|
|
|
|
# IP 2
|
|
auto ens18:0
|
|
iface ens18:0 inet static
|
|
address 10.9.0.11
|
|
netmask 255.255.255.0
|
|
|
|
# IP 3
|
|
auto ens18:1
|
|
iface ens18:1 inet static
|
|
address 10.0.0.12
|
|
netmask 255.255.255.0
|
|
|