Boxer: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 18: | Zeile 18: | ||
== DHCP-Server == | == DHCP-Server == | ||
< | <pre> | ||
apt install isc-dhcp-server | apt install isc-dhcp-server | ||
</ | </pre> | ||
* /etc/dhcp/dhcpd.conf | * /etc/dhcp/dhcpd.conf | ||
<pre>subnet 10.10.10.0 netmask 255.255.255.0 { | <pre>subnet 10.10.10.0 netmask 255.255.255.0 { | ||
Zeile 31: | Zeile 31: | ||
} | } | ||
</pre> | </pre> | ||
* /etc/dhcp/dhcpd6.conf | |||
<pre>subnet6 xxx netmask 255.255.255.0 { | |||
range 10.10.10.10 10.10.10.99; | |||
option routers 10.10.10.1; | |||
} |
Aktuelle Version vom 8. November 2019, 12:53 Uhr
Links[Bearbeiten]
Installationsprotokoll[Bearbeiten]
visudo apt-get update && apt-get -y install wget && wget -O /tmp/basic_install.sh https://public.hamatoma.de/basic_install.sh bash /tmp/basic_install.sh restoretool -v3 init linuxserver restoretool -v3 init local-bin vi /etc/hosts # 192.168.2.222 boxer.hamatoma.de boxer
DHCP-Server[Bearbeiten]
apt install isc-dhcp-server
- /etc/dhcp/dhcpd.conf
subnet 10.10.10.0 netmask 255.255.255.0 { range 10.10.10.10 10.10.10.99; option routers 10.10.10.1; } host adam { hardware ethernet 9E:19:2B:44:25:59; fixed-address 10.10.10.101; }
- /etc/dhcp/dhcpd6.conf
subnet6 xxx netmask 255.255.255.0 { range 10.10.10.10 10.10.10.99; option routers 10.10.10.1; }