<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello together,<br>
<br>
I am working on a problem with my ISC DCHP Version 4.2.4-P2 server for IPv6 since a lot of days.<br>
But I could not found a solution. So I hope someone could help me.<br>
<br>
- Situation:<br>
I have to discover the Host by an interface id to give him a fixed IP address.<br>
This interface id will inserted by an DSLAM which is connected to a lot of DSL Modems.<br>
The interface id is the identifier, on which physical port the DSL Modem is connected.<br>
I like to use the host definition into my dhcp.conf:<br>
example:<br>
<pre>host ws {
host-identifier option dhcp6.interface-id "Interface-ID: DSLAM01 eth 2/1/01/21"
fixed-address6 2001:db8:1:1::701;
}</pre>
<br>
<br>
- My setup:<br>
Client PC with DSL Modem <-------------> DSLAM which is inserting a option 18 with the interface id <-----------> CISCO 7606-S Router which have a helper at the interface which is connected to the DHCP server. This helper forward the DCHP Message to the DHCP
server and works as a relay <-----------> ISC DCHP server for IPv6<br>
<br>
- Parts of my server configuration:<br>
-----------------------------------------------------------------------------------------------------------------------------------<br>
# Please see: <a class="moz-txt-link-freetext" href="http://www.ipamworldwide.com/dhcp-options/isc-dhcpv6-options.html">
http://www.ipamworldwide.com/dhcp-options/isc-dhcpv6-options.html</a><br>
#This function logs the DHCPv6 client id, which means the Link Local Address (Option 1)<br>
log(info,concat("Client-ID: " , binary-to-ascii(16,8,"-",option dhcp6.client-id)));<br>
#This function logs the DHCPv6 interface id, which means the port of the DSLAM (Option 18)<br>
log(info,concat("Interface-ID: " , option dhcp6.interface-id));<br>
-----------------------------------------------------------------------------------------------------------------------------------<br>
<br>
- My problem:<br>
The ISC DHCP server could not discover the interface-id (Option 18), which is inserted by the DSLAM -> get no log message (see configuration).<br>
The client-id (Option 1), which is inserted by the Client PC with DSL Modem works fine -> get log message (see configuration).<br>
<br>
I tested it without CISCO and without DSLAM/DSL Modem direct connect over an Networkswitch and inserting the interface-id (Option 18) by the Client PC, that works -> get log message (see configuration).<br>
<br>
After that I analysed the TCP packets. What I found out is, that the difference is that:<br>
- Message type "RELAY-FORW (12)" with CISCO and DSLAM/DSL Modem:<br>
<field name="dhcpv6.msgtype" showname="Message type: Relay-forw (12)" size="1" pos="62" show="12" value="0c"/><br>
- Message type "SOLICIT (1)" without CISCO and DSLAM/DSL Modem:<br>
<field name="dhcpv6.msgtype" showname="Message type: Solicit (1)" size="1" pos="62" show="1" value="01"/><br>
<br>
Side information:<br>
If I configured an ipv6 range without host definitions into my dhcp.conf the Client PC get in both situations an ip6 address.<br>
<br>
Could you tell me if the message type is the problem and if yes what I have to change?<br>
If no, what went wrong?<br>
<br>
I have attached the both network packets with situation 1 "with CISCO and DSLAM" and situation 2 "without CISCO and DSLAM".<br>
<br>
<br>
Thanks a lot for your help!<br>
<br>
<div class="moz-signature">-- <br>
<br>
Regards<br>
<br>
<b>Andreas Hanke</b><br>
IP Network Operations<br>
<br>
<a href="mailto:andreas.hanke@r-kom.de">andreas.hanke@r-kom.de</a><br>
<a href="http://www.r-kom.de">http://www.r-kom.de</a><br>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">R-KOM Regensburger Telekommunikationsgesellschaft mbH & Co. KG,<br>
Kommanditgesellschaft, Sitz Regensburg, Registergericht Regensburg,<br>
HRA 5818<br>
Persönlich haftende Gesellschafterin und Geschäftsführung:<br>
R-KOM Regensburger Telekommunikationsverwaltungsgesellschaft mbH,<br>
Sitz Regensburg, Registergericht Regensburg,<br>
HRB 6764; Geschäftsführer: Dipl.-Inf. (FH) Alfred Rauscher<br>
</font>
</body>
</html>