hostname bei DHCPv6
Hallo!
Network Manager tut hier erfolgreich seinen Dienst, mit einer Ausnahme:
Das Problem ist, dass der Hostname im v4 Pool eingetragen wird, bei v6
aber nicht:
Der PC bekommt via DHCP seine IP vom openwrt Router (die IP ist dort
statisch hinterlegt).
╭────
│[mente@antares: ~]% ping antares
│PING antares (192.168.2.3) 56(84) bytes of data.
│64 bytes from antares.home.aneadesign.com (192.168.2.3): icmp_seq=1 ttl=64 time=0.022 ms
│64 bytes from antares.home.aneadesign.com (192.168.2.3): icmp_seq=2 ttl=64 time=0.028 ms
│^C
│--- antares ping statistics ---
│2 packets transmitted, 2 received, 0% packet loss, time 999ms
│rtt min/avg/max/mdev = 0.022/0.025/0.028/0.003 ms
│[mente@antares: ~]% ping6 antares
│unknown host
│[mente@antares: ~]% host antares
│antares has address 192.168.2.3
│[mente@antares: ~]%
╰────
In der /etc/dhcp/dhclient.conf steht
╭────
│option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
│
│#send host-name "andare.fugue.com";
│send host-name = gethostname();
│
│#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
│#send dhcp-lease-time 3600;
│#supersede domain-name "fugue.com home.vix.com";
│#prepend domain-name-servers 127.0.0.1;
│request subnet-mask, broadcast-address, time-offset, routers,
│ domain-name, domain-name-servers, domain-search, host-name,
│ dhcp6.name-servers, dhcp6.domain-search,
│ netbios-name-servers, netbios-scope, interface-mtu,
│ rfc3442-classless-static-routes, ntp-servers;
│#require subnet-mask, domain-name-servers;
│#timeout 60;
│#retry 60;
│#reboot 10;
│#select-timeout 5;
│#initial-interval 2;
│#script "/sbin/dhclient-script";
│#media "-link0 -link1 -link2", "link0 link1";
│#reject 192.33.137.209;
╰────
System ist debian unstable
--
Beste Grüße, Clemens Schüller
Reply to: