Testinstall: Unterschied zwischen den Versionen
Aus Vosp.info
HK (Diskussion | Beiträge) |
HK (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
+ | == Netzwerkschnittstellen == | ||
vim /etc/network/interfaces | vim /etc/network/interfaces | ||
Zeile 14: | Zeile 15: | ||
systemctl restart networking.service | systemctl restart networking.service | ||
− | + | == DHCP-Server == | |
apt-get install isc-dhcp-server | apt-get install isc-dhcp-server | ||
Zeile 40: | Zeile 41: | ||
systemctl restart isc-dhcp-server.service | systemctl restart isc-dhcp-server.service | ||
+ | == Nameserver == | ||
+ | apt-get install bind9 |
Version vom 11. März 2015, 17:25 Uhr
Netzwerkschnittstellen
vim /etc/network/interfaces
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp # Ergänzung für eth1 (output interface) auto eth1 iface eth1 inet static address 10.78.20.10 netmask 255.255.255.0
systemctl restart networking.service
DHCP-Server
apt-get install isc-dhcp-server
vim /etc/default/isc-dhcp-server
Ersetze
INTERFACES=""
gegen
INTERFACES="eth1"
vim /etc/dhcp/dhcpd.conf
ddns-update-style none; option domain-name "test.local"; option domain-name-servers 10.78.20.10; default-lease-time 600; max-lease-time 7200; log-facility local7; subnet 10.78.20.0 netmask 255.255.255.0 { range 10.78.20.100 10.78.20.200; option routers 10.78.20.10; }
systemctl restart isc-dhcp-server.service
Nameserver
apt-get install bind9