blob: 78fd4c1ebb270864288c2eb95b87ee1e8758e5ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# 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 eth0
iface eth0 inet static
address 192.168.122.120/24
post-up route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.122.1
pre-down route del -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.122.1
source /etc/network/interfaces.d/*.cfg
|