<div dir="ltr">I was install a <span class="" style="background-color:yellow">radvd</span>, to set the router <span class="" style="background-color:yellow">RAS</span>,<div style>and there i was set the <span class="" style="background-color:yellow">flagas</span> "M", when i set the flag.</div>
<div style>But the <span class="" style="background-color:yellow">DHCP</span> server ignore the requests.<br></div><div style><br></div><div style>Doesn't get <span class="" style="background-color:yellow">ip</span> from prefix.<br>
</div><div style><br></div><div style>I though there is some thing to block, but i drop the <span class="" style="background-color:yellow">iptables</span>.<br></div><div style><br></div><div style><div style>from radvd.conf</div>
<div style><br></div><div style>interface eth2</div><div style><div>{</div><div> AdvSendAdvert on;</div><div> AdvManagedFlag on;</div><div> AdvOtherConfigFlag on;</div><div> MinRtrAdvInterval 30;</div>
<div> MaxRtrAdvInterval 100;</div><div> prefix 2804:49c:c1aa:1113::/64</div><div> {</div><div> AdvOnLink on;</div><div> AdvAutonomous off;</div><div> AdvRouterAddr on;</div>
<div> };</div><div><br></div><div>};</div><div><br></div><div><br></div><div style>The most intersting is when i set AdvAutonomous on, the machines got ip.</div><div style>I believe the dhcp doesn't work.<br>
</div><div style><br></div><div style><br></div><div style>Some one know if this correct </div><div style><br></div><div style>i found more things to put on dhcpd.conf, i dont know if it is help, but i put.<br></div><div style>
<div><br></div><div><br></div><div><div>default-lease-time 600;</div><div>max-lease-time 7200;</div><div>log-facility local7;</div><div><br></div><div>option dhcp6.macaddr code 193 = string;</div><div>option dhcp6.leased-address code 194 = string;</div>
<div>option dhcp6.macaddr = binary-to-ascii(16, 8, ":", suffix(option dhcp6.client-id, 6));</div><div>option dhcp6.leased-address = binary-to-ascii(16,16, ":", substring(suffix(option dhcp6.ia-na, 24),0,16));</div>
<div>log (info, concat ("Lease for ",config-option dhcp6.leased-address, " leased to ", config-option dhcp6.macaddr));</div><div><br></div><div>option dhcp6.next-hop-rt-prefix code 242 = { ip6-address, unsigned integer 16,</div>
<div> unsigned integer 16, unsigned integer 32, unsigned integer 8, unsigned integer 8, ip6-address };</div><div><br></div><div>option dhcp6.next-hop code 242 = ip6-address;</div><div>option dhcp6.next-hop 2804:49c:c1aa:1113::1;</div>
<div>option dhcp6.rtprefix code 243 = {unsigned integer 32, unsigned integer 8, unsigned integer 8, ip6-address };</div><div>option dhcp6.rtprefix 3600 64 1 2804:49c:c1aa:1113::;</div><div><br></div><div>subnet6 2804:49c:c1aa:1113::/64 {</div>
<div> option dhcp6.name-servers fec0:0:0:1::1;<br></div><div> option dhcp6.domain-search "domain.example";</div><div>}</div></div><div><br></div><div><br></div><div><div> host specialclient {</div>
<div> hardware ethernet 00:50:56:3f:e0:17;</div><div> fixed-address6 2804:49c:c1aa:1113::113;</div><div> fixed-prefix6 2804:49c:c1aa:1190::/64;</div><div><br></div><div> }</div>
</div><div><br></div><div><br></div><div style>Thanks</div></div></div></div></div>