ich habe mir für mein lokales Netzwerk einen DHCP-Server mit dnsmasq aufgesetzt. Mit IP4-Adressen funktioniert auch alles einwandfrei. Nun brauche ich aber für eine Netzwerkschnittstelle unbedingt IPv6. Dabei komme ich momentan nicht weiter und benötige eure Hilfe.
Debian: stretch
Zur Konfiguration von eth0 nutze ich systemd-networkd: (Muss hier etwas geändert werden? Laut meinem Wissen wird zusätzlich auch eine IPv6-Adresse vergeben)
Code: Alles auswählen
[Match]
Name=eth0
[Network]
Address=192.168.20.1
Gateway=192.168.20.0
Code: Alles auswählen
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.20.1 netmask 255.255.255.0 broadcast 192.168.20.255
inet6 fe80::81:4ff:fe81:9fd6 prefixlen 64 scopeid 0x20<link>
ether 02:81:04:81:9f:d6 txqueuelen 1000 (Ethernet)
RX packets 593 bytes 147366 (143.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 181 bytes 16750 (16.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 36
dnsmasq.conf: (Hier habe ich schon einige Konfigurationen ausprobiert)
Code: Alles auswählen
dhcp-authoritative
no-resolv
domain-needed
bogus-priv
bind-interfaces
interface=eth0
#dhcp-range=interface:eth0,192.168.20.50,192.168.20.150,255.255.255.0,12h
#dhcp-option=option6:dns-server,[::]
#dhcp-range=2001:db8:18d::,ra-stateless,ra-names
enable-ra
dhcp-range=fe80::, ra-stateless, ra-names
Code: Alles auswählen
��● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS serve
r
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset:
enabled)
Active: active (running) since Wed 2017-09-20 16:26:59 UTC; 11min
ago
Process: 818 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exited
, status=0/SUCCESS)
Process: 831 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=
exited, status=0/SUCCESS)
Process: 826 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0
/SUCCESS)
Process: 823 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCC
ESS)
Main PID: 830 (dnsmasq)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/dnsmasq.service
��└��─830 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/
dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service
Sep 20 16:35:26 spc dnsmasq-dhcp[830]: RTR-SOLICIT(eth0)
Sep 20 16:36:03 spc dnsmasq-dhcp[830]: RTR-SOLICIT(eth0)
Sep 20 16:36:07 spc dnsmasq-dhcp[830]: RTR-SOLICIT(eth0)
Ich hoffe ich könnt mir weiter helfen.
Viele Grüße,
eddi0815