News: This forum is now permanently frozen.
Pages: [1] 2 3 4
Topic: Any plans to support DHCPv6 and DHCP-PD on the WAN?  (Read 33730 times)
« on: March 17, 2010, 21:40:40 »
eedork *
Posts: 22

Hi -

It's been a while since I've been here ...

Thanks for the latest version (1.31). It seems to have resolved many of the little IPv6 issues I initially noticed with 1.30.

Out of curiosity, are there any plans to support DHCPv6 with and without Prefix Delegation on the WAN in m0n0wall?

thanks!
-Matt
« Reply #1 on: March 19, 2010, 11:15:27 »
brushedmoss ****
Posts: 446

I had thought about it, have you something to test against ?

AFAIK, using dhcp6c will receive PrefixD from upstream on WAN and assign to LAN.
« Reply #2 on: March 19, 2010, 12:45:03 »
eedork *
Posts: 22

Hi brushedmoss -

You are correct . . . the DHCPv6 client on the WAN will request an IA_PD and then pass this learned prefix down to the DHCPv6 server on the LAN.

I have been playing around with dibbler-client and dibbler-server. Both are open source, well documented, and support prefix delegation. These tools would be useful for testing if you decide to implement this prefix delegation. I think the latest ISC DHCPv6 server also supports prefix delegation, but I am not certain of this.

Unfortunately there are very few router/firewall implementations that currently support prefix delegation. I've only been able to source and test three - Cisco IOS, D-Link DIR-615C1 with latest firmware, and Apple Airport Extreme. I'm sure there are a few more out there, so the hunt continues!

-Matt
« Reply #3 on: March 19, 2010, 17:47:10 »
brushedmoss ****
Posts: 446

I put the stock dhcp6c and sample.conf here

http://m0n0mods.googlecode.com/files/dhcp6c.conf.sample
http://m0n0mods.googlecode.com/files/dhcp6c

you can run as below in /exec.php , see what info it gives (these flags are info only, won't change any settings)

/tmp/dhcp6c -c /tmp/dhcp6c.conf.sample -i -d -D -f fxp1 (or ppp0 or whatever is in the conf file)

let me know the output ?
« Reply #4 on: March 22, 2010, 13:47:13 »
eedork *
Posts: 22

Hi brushedmoss,

Thank you! I will give this a try sometime this week and report back.

-Matt
« Reply #5 on: April 01, 2010, 18:04:34 »
digitalsushi *
Posts: 9

I gave this a shot.  Using ISC dhcpd 4.1.1 on the other side of the WAN.  I changed the interface values in your sample configuration, uploaded it with the binary, set the execute bit, and ran it per your instructions. 

The request that comes in on the wire says that m0n0wall is asking for an Information Request, but there's no specific type being asked for.  The server simply replies with an empty Reply message.  This just goes on until I kill it.  I've snipped the output to three iterations.

$ /tmp/dhcp6c -c /tmp/dhcp6c.conf.sample -i -d -D -f em1
Apr/01/2010 11:37:41: get_duid: extracted an existing DUID from /var/db/dhcp6c_duid: 00:01:00:01:13:47:3e:40:08:00:27:08:ee:d0
Apr/01/2010 11:37:41: dhcp6_ctl_authinit: failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
Apr/01/2010 11:37:41: client6_init: failed initialize control message authentication
Apr/01/2010 11:37:41: client6_init: skip opening control port
Apr/01/2010 11:37:41: dhcp6_reset_timer: reset a timer on em1, state=INIT, timeo=0, retrans=383
Apr/01/2010 11:37:41: client6_send: a new XID (3a557) is generated
Apr/01/2010 11:37:41: copy_option: set client ID (len 14)
Apr/01/2010 11:37:41: copy_option: set elapsed time (len 2)
Apr/01/2010 11:37:41: client6_send: send information request to ff02::1:2%em1
Apr/01/2010 11:37:41: dhcp6_reset_timer: reset a timer on em1, state=INFOREQ, timeo=0, retrans=988
Apr/01/2010 11:37:42: copy_option: set client ID (len 14)
Apr/01/2010 11:37:42: copy_option: set elapsed time (len 2)
Apr/01/2010 11:37:42: client6_send: send information request to ff02::1:2%em1
Apr/01/2010 11:37:42: dhcp6_reset_timer: reset a timer on em1, state=INFOREQ, timeo=1, retrans=1953
Apr/01/2010 11:37:44: copy_option: set client ID (len 14)
Apr/01/2010 11:37:44: copy_option: set elapsed time (len 2)
Apr/01/2010 11:37:44: client6_send: send information request to ff02::1:2%em1
Apr/01/2010 11:37:44: dhcp6_reset_timer: reset a timer on em1, state=INFOREQ, timeo=2, retrans=3889
« Reply #6 on: April 07, 2010, 23:03:48 »
brushedmoss ****
Posts: 446

what are the contents of  /tmp/dhcp6c.conf.sample ?

should be something like this if your wan is em0 and you lan is em1


id-assoc pd 0 {
 prefix-interface em0 {
   sla-id 0;
   sla-len 0;
  };
};
interface em1 {
 send ia-pd 0;
};

The one I posted is the generic one from the distribution
« Reply #7 on: April 08, 2010, 22:53:27 »
digitalsushi *
Posts: 9

grep -v ^# dhcp6c.conf.sample
interface ne0 {
   information-only;
};



interface em1 {
        send ia-pd 0;
};

id-assoc pd {
        prefix-interface em0 {
                sla-id 1;
        };
};


I will try it with the sla set to 0 tomorrow.
« Reply #8 on: April 28, 2010, 17:26:54 »
brushedmoss ****
Posts: 446

Did you get any further testing this ?
« Reply #9 on: May 04, 2010, 16:59:43 »
digitalsushi *
Posts: 9

I took out the -i argument from the command.  I changed it to SLA 0 in the configuration.

The m0n0wall asks for an IAPD in the DHCPv6 solicit.  The DHCPv6 server replies with a delegated prefix.  The m0n0wall doesn't do anything with it, though.  There are several rounds of Solicit and Advertise, with no further results.

Here's the packet trace:
http://digitalsushi.com/.m0n0wall-debug/digitalsushi_m0n0wall_dhcpv6.cap

$ /tmp/dhcp6c -c /tmp/dhcp6c.conf.sample -d -D -f em1
May/04/2010 10:49:28: get_duid: extracted an existing DUID from /var/db/dhcp6c_duid: 00:01:00:01:13:72:b7:f8:08:00:27:ef:77:3b
May/04/2010 10:49:28: dhcp6_ctl_authinit: failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
May/04/2010 10:49:28: client6_init: failed initialize control message authentication
May/04/2010 10:49:28: client6_init: skip opening control port
May/04/2010 10:49:28: cfdebug_print: <3>[interface] (9)
May/04/2010 10:49:28: cfdebug_print: <5>[em1] (3)
May/04/2010 10:49:28: cfdebug_print: <3>begin of closure [{] (1)
May/04/2010 10:49:28: cfdebug_print: <3>[send] (4)
May/04/2010 10:49:28: cfdebug_print: <3>[ia-pd] (5)
May/04/2010 10:49:28: cfdebug_print: <3>
  • (1)
May/04/2010 10:49:28: cfdebug_print: <3>end of sentence [;] (1)
May/04/2010 10:49:28: cfdebug_print: <3>end of closure [}] (1)
May/04/2010 10:49:28: cfdebug_print: <3>end of sentence [;] (1)
May/04/2010 10:49:28: cfdebug_print: <3>[id-assoc] (Cool
May/04/2010 10:49:28: cfdebug_print: <13>[pd] (2)
May/04/2010 10:49:28: cfdebug_print: <13>begin of closure [{] (1)
May/04/2010 10:49:28: cfdebug_print: <3>[prefix-interface] (16)
May/04/2010 10:49:28: cfdebug_print: <5>[em0] (3)
May/04/2010 10:49:28: cfdebug_print: <3>begin of closure [{] (1)
May/04/2010 10:49:28: cfdebug_print: <3>[sla-id] (6)
May/04/2010 10:49:28: cfdebug_print: <3>
  • (1)
May/04/2010 10:49:28: cfdebug_print: <3>end of sentence [;] (1)
May/04/2010 10:49:28: cfdebug_print: <3>end of closure [}] (1)
May/04/2010 10:49:28: cfdebug_print: <3>end of sentence [;] (1)
May/04/2010 10:49:28: cfdebug_print: <3>end of closure [}] (1)
May/04/2010 10:49:28: cfdebug_print: <3>end of sentence [;] (1)
May/04/2010 10:49:28: configure_pool: called
May/04/2010 10:49:28: clear_poolconf: called
May/04/2010 10:49:28: dhcp6_reset_timer: reset a timer on em1, state=INIT, timeo=0, retrans=383
May/04/2010 10:49:28: client6_send: a new XID (917609) is generated
May/04/2010 10:49:28: copy_option: set client ID (len 14)
May/04/2010 10:49:28: copy_option: set elapsed time (len 2)
May/04/2010 10:49:28: copyout_option: set IA_PD
May/04/2010 10:49:28: client6_send: send solicit to ff02::1:2%em1
May/04/2010 10:49:28: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=0, retrans=1088
May/04/2010 10:49:29: copy_option: set client ID (len 14)
May/04/2010 10:49:29: copy_option: set elapsed time (len 2)
May/04/2010 10:49:30: copyout_option: set IA_PD
May/04/2010 10:49:30: client6_send: send solicit to ff02::1:2%em1
May/04/2010 10:49:30: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=1, retrans=2151
May/04/2010 10:49:32: copy_option: set client ID (len 14)
May/04/2010 10:49:32: copy_option: set elapsed time (len 2)
May/04/2010 10:49:32: copyout_option: set IA_PD
May/04/2010 10:49:32: client6_send: send solicit to ff02::1:2%em1
May/04/2010 10:49:32: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=2, retrans=4283
May/04/2010 10:49:36: copy_option: set client ID (len 14)
May/04/2010 10:49:36: copy_option: set elapsed time (len 2)
May/04/2010 10:49:36: copyout_option: set IA_PD
May/04/2010 10:49:36: client6_send: send solicit to ff02::1:2%em1
May/04/2010 10:49:36: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=3, retrans=8905
May/04/2010 10:49:45: copy_option: set client ID (len 14)
May/04/2010 10:49:45: copy_option: set elapsed time (len 2)
May/04/2010 10:49:45: copyout_option: set IA_PD
May/04/2010 10:49:45: client6_send: send solicit to ff02::1:2%em1
May/04/2010 10:49:45: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=4, retrans=17217
May/04/2010 10:50:02: copy_option: set client ID (len 14)
May/04/2010 10:50:02: copy_option: set elapsed time (len 2)
May/04/2010 10:50:02: copyout_option: set IA_PD
May/04/2010 10:50:02: client6_send: send solicit to ff02::1:2%em1
May/04/2010 10:50:02: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=5, retrans=35098
May/04/2010 10:50:37: copy_option: set client ID (len 14)
May/04/2010 10:50:37: copy_option: set elapsed time (len 2)
May/04/2010 10:50:37: copyout_option: set IA_PD
May/04/2010 10:50:37: client6_send: send solicit to ff02::1:2%em1
May/04/2010 10:50:37: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=6, retrans=68413
May/04/2010 10:51:46: copy_option: set client ID (len 14)
May/04/2010 10:51:46: copy_option: set elapsed time (len 2)
May/04/2010 10:51:46: copyout_option: set IA_PD
May/04/2010 10:51:46: client6_send: send solicit to ff02::1:2%em1
May/04/2010 10:51:46: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=7, retrans=115788
May/04/2010 10:53:41: copy_option: set client ID (len 14)
May/04/2010 10:53:41: copy_option: set elapsed time (len 2)
May/04/2010 10:53:41: copyout_option: set IA_PD
May/04/2010 10:53:41: client6_send: send solicit to ff02::1:2%em1
May/04/2010 10:53:41: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=8, retrans=125052
« Reply #10 on: May 06, 2010, 11:25:09 »
brushedmoss ****
Posts: 446

I'm testing this out in a multi VM environment at the moment.  There is an error in you config file though, carried through from the sample

Code:
id-assoc pd {

should read

Code:
id-assoc pd 0 {

« Reply #11 on: May 06, 2010, 15:39:23 »
digitalsushi *
Posts: 9

Changed to the correct config, still getting the same results.  The client makes Solicits for IAPD, gets server response, doesn't process, makes another Solicit, repeat.

With INFO request on:

$ /tmp/dhcp6c -c /tmp/dhcp6c.conf.sample -i -d -D -f em1
May/06/2010 09:31:07: gethwid: found an interface em0 for DUID
May/06/2010 09:31:07: get_duid: generated a new DUID: 00:01:00:01:13:75:48:db:08:00:27:ef:77:3b
May/06/2010 09:31:07: get_duid: saved generated DUID to /var/db/dhcp6c_duid
May/06/2010 09:31:07: dhcp6_ctl_authinit: failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
May/06/2010 09:31:07: client6_init: failed initialize control message authentication
May/06/2010 09:31:07: client6_init: skip opening control port
May/06/2010 09:31:07: dhcp6_reset_timer: reset a timer on em1, state=INIT, timeo=0, retrans=383
May/06/2010 09:31:07: client6_send: a new XID (df7b90) is generated
May/06/2010 09:31:07: copy_option: set client ID (len 14)
May/06/2010 09:31:07: copy_option: set elapsed time (len 2)
May/06/2010 09:31:07: client6_send: send information request to ff02::1:2%em1
May/06/2010 09:31:07: dhcp6_reset_timer: reset a timer on em1, state=INFOREQ, timeo=0, retrans=988
May/06/2010 09:31:08: copy_option: set client ID (len 14)
May/06/2010 09:31:08: copy_option: set elapsed time (len 2)
May/06/2010 09:31:08: client6_send: send information request to ff02::1:2%em1
May/06/2010 09:31:08: dhcp6_reset_timer: reset a timer on em1, state=INFOREQ, timeo=1, retrans=1953
May/06/2010 09:31:10: copy_option: set client ID (len 14)
May/06/2010 09:31:10: copy_option: set elapsed time (len 2)
May/06/2010 09:31:10: client6_send: send information request to ff02::1:2%em1
May/06/2010 09:31:10: dhcp6_reset_timer: reset a timer on em1, state=INFOREQ, timeo=2, retrans=3889
May/06/2010 09:31:14: copy_option: set client ID (len 14)
May/06/2010 09:31:14: copy_option: set elapsed time (len 2)
May/06/2010 09:31:14: client6_send: send information request to ff02::1:2%em1
May/06/2010 09:31:14: dhcp6_reset_timer: reset a timer on em1, state=INFOREQ, timeo=3, retrans=8086
May/06/2010 09:31:22: copy_option: set client ID (len 14)
May/06/2010 09:31:22: copy_option: set elapsed time (len 2)
May/06/2010 09:31:22: client6_send: send information request to ff02::1:2%em1
May/06/2010 09:31:22: dhcp6_reset_timer: reset a timer on em1, state=INFOREQ, timeo=4, retrans=15634
May/06/2010 09:31:38: copy_option: set client ID (len 14)
May/06/2010 09:31:38: copy_option: set elapsed time (len 2)
May/06/2010 09:31:38: client6_send: send information request to ff02::1:2%em1
May/06/2010 09:31:38: dhcp6_reset_timer: reset a timer on em1, state=INFOREQ, timeo=5, retrans=31871

With INFO request off:

$ /tmp/dhcp6c -c /tmp/dhcp6c.conf.sample  -d -D -f em1
May/06/2010 09:31:57: get_duid: extracted an existing DUID from /var/db/dhcp6c_duid: 00:01:00:01:13:75:48:db:08:00:27:ef:77:3b
May/06/2010 09:31:57: dhcp6_ctl_authinit: failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
May/06/2010 09:31:57: client6_init: failed initialize control message authentication
May/06/2010 09:31:57: client6_init: skip opening control port
May/06/2010 09:31:57: cfdebug_print: <3>[interface] (9)
May/06/2010 09:31:57: cfdebug_print: <5>[em1] (3)
May/06/2010 09:31:57: cfdebug_print: <3>begin of closure [{] (1)
May/06/2010 09:31:57: cfdebug_print: <3>[send] (4)
May/06/2010 09:31:57: cfdebug_print: <3>[ia-pd] (5)
May/06/2010 09:31:57: cfdebug_print: <3>
  • (1)
May/06/2010 09:31:57: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 09:31:57: cfdebug_print: <3>end of closure [}] (1)
May/06/2010 09:31:57: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 09:31:57: cfdebug_print: <3>[id-assoc] (Cool
May/06/2010 09:31:57: cfdebug_print: <13>[pd] (2)
May/06/2010 09:31:57: cfdebug_print: <13>
  • (1)
May/06/2010 09:31:57: cfdebug_print: <13>begin of closure [{] (1)
May/06/2010 09:31:57: cfdebug_print: <3>[prefix-interface] (16)
May/06/2010 09:31:57: cfdebug_print: <5>[em0] (3)
May/06/2010 09:31:57: cfdebug_print: <3>begin of closure [{] (1)
May/06/2010 09:31:57: cfdebug_print: <3>[sla-id] (6)
May/06/2010 09:31:57: cfdebug_print: <3>
  • (1)
May/06/2010 09:31:57: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 09:31:57: cfdebug_print: <3>end of closure [}] (1)
May/06/2010 09:31:57: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 09:31:57: cfdebug_print: <3>end of closure [}] (1)
May/06/2010 09:31:57: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 09:31:57: configure_pool: called
May/06/2010 09:31:57: clear_poolconf: called
May/06/2010 09:31:57: dhcp6_reset_timer: reset a timer on em1, state=INIT, timeo=0, retrans=383
May/06/2010 09:31:57: client6_send: a new XID (963d05) is generated
May/06/2010 09:31:57: copy_option: set client ID (len 14)
May/06/2010 09:31:57: copy_option: set elapsed time (len 2)
May/06/2010 09:31:57: copyout_option: set IA_PD
May/06/2010 09:31:57: client6_send: send solicit to ff02::1:2%em1
May/06/2010 09:31:57: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=0, retrans=1088
May/06/2010 09:31:58: copy_option: set client ID (len 14)
May/06/2010 09:31:58: copy_option: set elapsed time (len 2)
May/06/2010 09:31:58: copyout_option: set IA_PD
May/06/2010 09:31:58: client6_send: send solicit to ff02::1:2%em1
May/06/2010 09:31:58: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=1, retrans=2151
May/06/2010 09:32:00: copy_option: set client ID (len 14)
May/06/2010 09:32:00: copy_option: set elapsed time (len 2)
May/06/2010 09:32:00: copyout_option: set IA_PD
May/06/2010 09:32:00: client6_send: send solicit to ff02::1:2%em1
May/06/2010 09:32:00: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=2, retrans=4283
May/06/2010 09:32:05: copy_option: set client ID (len 14)
May/06/2010 09:32:05: copy_option: set elapsed time (len 2)
May/06/2010 09:32:05: copyout_option: set IA_PD
May/06/2010 09:32:05: client6_send: send solicit to ff02::1:2%em1
May/06/2010 09:32:05: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=3, retrans=8905
May/06/2010 09:32:14: copy_option: set client ID (len 14)
May/06/2010 09:32:14: copy_option: set elapsed time (len 2)
May/06/2010 09:32:14: copyout_option: set IA_PD
May/06/2010 09:32:14: client6_send: send solicit to ff02::1:2%em1
May/06/2010 09:32:14: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=4, retrans=17217
May/06/2010 09:32:31: copy_option: set client ID (len 14)
May/06/2010 09:32:31: copy_option: set elapsed time (len 2)
May/06/2010 09:32:31: copyout_option: set IA_PD

$ cat /tmp/*sample
interface em1 {
        send ia-pd 0;
};

id-assoc pd 0 {
        prefix-interface em0 {
                sla-id 0;
        };
};
« Reply #12 on: May 06, 2010, 16:15:03 »
brushedmoss ****
Posts: 446

you have opened the wan firewall rules to allow ipv6 dhcp in ? udp port 546 etc.
« Reply #13 on: May 06, 2010, 20:16:33 »
digitalsushi *
Posts: 9

you have opened the wan firewall rules to allow ipv6 dhcp in ? udp port 546 etc.

Oh wow.  No.  I thought this thing had an implicit stateful packet inspector turned on for v6.  My bad.

If I just drop the firewall, I get some much better output:

$ /tmp/dhcp6c -c /tmp/dhcp6c.conf.sample -d -D -f em1
May/06/2010 14:14:14: gethwid: found an interface em0 for DUID
May/06/2010 14:14:14: get_duid: generated a new DUID: 00:01:00:01:13:75:8b:36:08:00:27:ef:77:3b
May/06/2010 14:14:14: get_duid: saved generated DUID to /var/db/dhcp6c_duid
May/06/2010 14:14:14: dhcp6_ctl_authinit: failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
May/06/2010 14:14:14: client6_init: failed initialize control message authentication
May/06/2010 14:14:14: client6_init: skip opening control port
May/06/2010 14:14:14: cfdebug_print: <3>[interface] (9)
May/06/2010 14:14:14: cfdebug_print: <5>[em1] (3)
May/06/2010 14:14:14: cfdebug_print: <3>begin of closure [{] (1)
May/06/2010 14:14:14: cfdebug_print: <3>[send] (4)
May/06/2010 14:14:14: cfdebug_print: <3>[ia-pd] (5)
May/06/2010 14:14:14: cfdebug_print: <3>
  • (1)
May/06/2010 14:14:14: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 14:14:14: cfdebug_print: <3>end of closure [}] (1)
May/06/2010 14:14:14: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 14:14:14: cfdebug_print: <3>[id-assoc] (Cool
May/06/2010 14:14:14: cfdebug_print: <13>[pd] (2)
May/06/2010 14:14:14: cfdebug_print: <13>
  • (1)
May/06/2010 14:14:14: cfdebug_print: <13>begin of closure [{] (1)
May/06/2010 14:14:14: cfdebug_print: <3>[prefix-interface] (16)
May/06/2010 14:14:14: cfdebug_print: <5>[em0] (3)
May/06/2010 14:14:14: cfdebug_print: <3>begin of closure [{] (1)
May/06/2010 14:14:14: cfdebug_print: <3>[sla-id] (6)
May/06/2010 14:14:14: cfdebug_print: <3>
  • (1)
May/06/2010 14:14:14: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 14:14:14: cfdebug_print: <3>end of closure [}] (1)
May/06/2010 14:14:14: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 14:14:14: cfdebug_print: <3>end of closure [}] (1)
May/06/2010 14:14:14: cfdebug_print: <3>end of sentence [;] (1)
May/06/2010 14:14:14: configure_pool: called
May/06/2010 14:14:14: clear_poolconf: called
May/06/2010 14:14:14: dhcp6_reset_timer: reset a timer on em1, state=INIT, timeo=0, retrans=383
May/06/2010 14:14:14: client6_send: a new XID (cbb20f) is generated
May/06/2010 14:14:14: copy_option: set client ID (len 14)
May/06/2010 14:14:14: copy_option: set elapsed time (len 2)
May/06/2010 14:14:14: copyout_option: set IA_PD
May/06/2010 14:14:14: client6_send: send solicit to ff02::1:2%em1
May/06/2010 14:14:14: dhcp6_reset_timer: reset a timer on em1, state=SOLICIT, timeo=0, retrans=1088
May/06/2010 14:14:14: client6_recv: receive advertise from fe80::20b:bff:fe00:1%em1 on em1
May/06/2010 14:14:14: dhcp6_get_options: get DHCP option client ID, len 14
May/06/2010 14:14:14:   DUID: 00:01:00:01:13:75:8b:36:08:00:27:ef:77:3b
May/06/2010 14:14:14: dhcp6_get_options: get DHCP option server ID, len 14
May/06/2010 14:14:14:   DUID: 00:01:00:01:11:c5:60:44:00:0b:0b:00:00:01
May/06/2010 14:14:14: dhcp6_get_options: get DHCP option IA_PD, len 41
May/06/2010 14:14:14:   IA_PD: ID=0, T1=150, T2=240
May/06/2010 14:14:14: copyin_option: get DHCP option IA_PD prefix, len 25
May/06/2010 14:14:14: copyin_option:   IA_PD prefix: 2001:dddd::/48 pltime=300 vltime=300
May/06/2010 14:14:14: dhcp6_get_options: get DHCP option preference, len 1
May/06/2010 14:14:14:   preference: 255
May/06/2010 14:14:14: client6_recvadvert: server ID: 00:01:00:01:11:c5:60:44:00:0b:0b:00:00:01, pref=255
May/06/2010 14:14:14: client6_send: a new XID (dbb6b) is generated
May/06/2010 14:14:14: copy_option: set client ID (len 14)
May/06/2010 14:14:14: copy_option: set server ID (len 14)
May/06/2010 14:14:14: copy_option: set elapsed time (len 2)
May/06/2010 14:14:14: copyout_option: set IA_PD prefix
May/06/2010 14:14:14: copyout_option: set IA_PD
May/06/2010 14:14:14: client6_send: send request to ff02::1:2%em1
May/06/2010 14:14:14: dhcp6_reset_timer: reset a timer on em1, state=REQUEST, timeo=0, retrans=977
May/06/2010 14:14:14: client6_recv: receive reply from fe80::20b:bff:fe00:1%em1 on em1
May/06/2010 14:14:14: dhcp6_get_options: get DHCP option client ID, len 14
May/06/2010 14:14:14:   DUID: 00:01:00:01:13:75:8b:36:08:00:27:ef:77:3b
May/06/2010 14:14:14: dhcp6_get_options: get DHCP option server ID, len 14
May/06/2010 14:14:14:   DUID: 00:01:00:01:11:c5:60:44:00:0b:0b:00:00:01
May/06/2010 14:14:14: dhcp6_get_options: get DHCP option IA_PD, len 41
May/06/2010 14:14:14:   IA_PD: ID=0, T1=150, T2=240
May/06/2010 14:14:14: copyin_option: get DHCP option IA_PD prefix, len 25
May/06/2010 14:14:14: copyin_option:   IA_PD prefix: 2001:dddd::/48 pltime=300 vltime=300
May/06/2010 14:14:14: get_ia: make an IA: PD-0
May/06/2010 14:14:14: update_prefix: create a prefix 2001:dddd::/48 pltime=300, vltime=300
May/06/2010 14:14:14: ifaddrconf: add an address 2001:dddd::a00:27ff:feef:773b/64 on em0
May/06/2010 14:14:14: dhcp6_remove_event: removing an event on em1, state=REQUEST
May/06/2010 14:14:14: dhcp6_remove_event: removing server (ID: 00:01:00:01:11:c5:60:44:00:0b:0b:00:00:01)
May/06/2010 14:14:14: client6_recvreply: got an expected reply, sleeping.
« Reply #14 on: May 07, 2010, 01:46:45 »
brushedmoss ****
Posts: 446

Quote
May/06/2010 14:14:14: ifaddrconf: add an address 2001:dddd::a00:27ff:feef:773b/64 on em0

looks like it worked ?
 
Pages: [1] 2 3 4
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines