Doku: Router-Setup (DHCP/DNS/NAT für enp7s0 10.0.0.0/24)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# This file describes the network interfaces available on your system
|
||||
# and how to activate them. For more information, see interfaces(5).
|
||||
|
||||
source /etc/network/interfaces.d/*
|
||||
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
# The primary network interface
|
||||
allow-hotplug enp3s0
|
||||
iface enp3s0 inet static
|
||||
address 141.14.140.128/20
|
||||
gateway 141.14.128.128
|
||||
# dns-* options are implemented by the resolvconf package, if installed
|
||||
dns-nameservers 141.14.128.1
|
||||
dns-search fhi.mpg.de
|
||||
|
||||
# LAN interface (Router/Gateway/DHCP/DNS für 10.0.0.0/24)
|
||||
allow-hotplug enp7s0
|
||||
iface enp7s0 inet static
|
||||
address 10.0.0.1/24
|
||||
Reference in New Issue
Block a user