From 876baeb4d455fb811897a00e31fb5231512becd6 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Fri, 21 Feb 2020 04:31:11 -0600 Subject: starting out nfs --- configs/hosts | 1 + configs/nfs/interfaces | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 configs/nfs/interfaces (limited to 'configs') diff --git a/configs/hosts b/configs/hosts index 03fb37e..de1585f 100644 --- a/configs/hosts +++ b/configs/hosts @@ -4,3 +4,4 @@ ff02::1 ip6-allnodes ff02::2 ip6-allrouters 192.168.122.100 krb.hades.hr +192.168.122.110 nfs.hades.hr 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 -- cgit v1.2.3