diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2020-02-21 04:31:11 -0600 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2020-02-21 04:31:11 -0600 |
commit | 876baeb4d455fb811897a00e31fb5231512becd6 (patch) | |
tree | ea4ece91613f7b84fcef0b72264a17c1fbefc45c /configs/nfs/interfaces | |
parent | de098e1f22ae6cdde62aa9f6b75697852e872ced (diff) |
starting out nfs
Diffstat (limited to 'configs/nfs/interfaces')
-rw-r--r-- | configs/nfs/interfaces | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configs/nfs/interfaces b/configs/nfs/interfaces new file mode 100644 index 0000000..f5d11ed --- /dev/null +++ b/configs/nfs/interfaces @@ -0,0 +1,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.110/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 |