root@OPNsense:/var/etc # cat dhcp6c_wan.conf
interface igb1_vlan832 {
send ia-pd 0;
send raw-option 6 00:0b:00:11:00:17:00:18;
send raw-option 15 00:2b:46:53:56:44:53:4c:5f:6c:69:76:65:62:6f:78:2e:49:6e:74:65:72:6e:65:74:2e:73:6f:66:74:61:74:68:6f:6d:65:2e:6c:69:76:65:62:6f:78:33;
send raw-option 16 00:00:04:0e:00:05:73:61:67:65:6d;
send raw-option 11 xxxxxxxxxxxxxxx
script "/var/etc/dhcp6c_wan_script.sh";
};
id-assoc pd 0 {
prefix-interface igb2 {
sla-id 0;
sla-len 8;
};
};
root@OPNsense:/var/etc # cat dhcp6c_wan_script.sh
#!/bin/sh
if [ -n '' ]; then
/usr/bin/logger -t dhcp6c "dhcp6c $REASON on igb1_vlan832"
fi
case $REASON in
REQUEST|EXIT)
/usr/bin/logger -t dhcp6c "dhcp6c $REASON on igb1_vlan832 - running newipv6"
/usr/local/opnsense/service/configd_ctl.py interface newipv6 igb1_vlan832
;;
*)
;;
esac
root@OPNsense:/var/etc #
(option 11 conceale)
Le "prefix-interface igb2" me fait ticker, igb2 c'est mon inetrface LAN, c'est correct ?
Pour info, je crois que lors de l'install j'ai change manuellement via le webGUI une interface pour changer son igb (les ports n'etais pas "bien" ranges pour mes cables) , je confirme que igb1 c'est pour le wan.
[EDIT] les 30 dernier lignes de log de /var/log/dhcpd.log sur dhcp6c
root@OPNsense:/var/log # cat dhcpd.log | grep dhcp6c | tail -30
Oct 20 05:22:18 OPNsense dhcp6c[38896]: freeing op data at 0x6b85226140
Oct 20 05:24:27 OPNsense dhcp6c[38896]: Sending Solicit
Oct 20 05:24:27 OPNsense dhcp6c[38896]: freeing op data at 0x6b85261080
Oct 20 05:24:27 OPNsense dhcp6c[38896]: freeing op data at 0x6b852682d0
Oct 20 05:24:27 OPNsense dhcp6c[38896]: freeing op data at 0x6b85225030
Oct 20 05:24:27 OPNsense dhcp6c[38896]: freeing op data at 0x6b85226190
Oct 20 05:26:30 OPNsense dhcp6c[38896]: Sending Solicit
Oct 20 05:26:30 OPNsense dhcp6c[38896]: freeing op data at 0x6b85261080
Oct 20 05:26:30 OPNsense dhcp6c[38896]: freeing op data at 0x6b85268330
Oct 20 05:26:30 OPNsense dhcp6c[38896]: freeing op data at 0x6b85225040
Oct 20 05:26:30 OPNsense dhcp6c[38896]: freeing op data at 0x6b85226140
Oct 20 05:28:39 OPNsense dhcp6c[38896]: Sending Solicit
Oct 20 05:28:39 OPNsense dhcp6c[38896]: freeing op data at 0x6b85261080
Oct 20 05:28:39 OPNsense dhcp6c[38896]: freeing op data at 0x6b85268360
Oct 20 05:28:39 OPNsense dhcp6c[38896]: freeing op data at 0x6b85225030
Oct 20 05:28:39 OPNsense dhcp6c[38896]: freeing op data at 0x6b85226190
Oct 20 05:30:15 OPNsense dhcp6c[38896]: restarting
Oct 20 05:30:15 OPNsense dhcp6c[38896]: /var/etc/dhcp6c_wan.conf 45: Got raw option: 6 00:0b:00:11:00:17:00:18
Oct 20 05:30:15 OPNsense dhcp6c[38896]: /var/etc/dhcp6c_wan.conf 45: Raw option 6 length 8 stored at 0x6b852682a0 with data at 0x6b85261088
Oct 20 05:30:15 OPNsense dhcp6c[38896]: /var/etc/dhcp6c_wan.conf 46: Got raw option: 15 00:2b:46:53:56:44:53:4c:5f:6c:69:76:65:62:6f:78:2e:49:6e:74:65:72:6e:65:74:2e:73:6f:66:74:61:74:68:6f:6d:65:2e:6c:69:76:65:62:6f:78:33
Oct 20 05:30:15 OPNsense dhcp6c[38896]: /var/etc/dhcp6c_wan.conf 46: Raw option 15 length 45 stored at 0x6b85268360 with data at 0x6b85268390
Oct 20 05:30:15 OPNsense dhcp6c[38896]: /var/etc/dhcp6c_wan.conf 47: Got raw option: 16 00:00:04:0e:00:05:73:61:67:65:6d
Oct 20 05:30:15 OPNsense dhcp6c[38896]: /var/etc/dhcp6c_wan.conf 47: Raw option 16 length 11 stored at 0x6b85268150 with data at 0x6b85225030
Oct 20 05:30:15 OPNsense dhcp6c[38896]: /var/etc/dhcp6c_wan.conf 48: Got raw option: 11 xxxxxxxxxxxxxxxxx
Oct 20 05:30:15 OPNsense dhcp6c[38896]: /var/etc/dhcp6c_wan.conf 48: Raw option 11 length 70 stored at 0x6b85268060 with data at 0x6b85226050
Oct 20 05:30:15 OPNsense dhcp6c[38896]: freeing op data at 0x6b85261048
Oct 20 05:30:15 OPNsense dhcp6c[38896]: freeing op data at 0x6b85268450
Oct 20 05:30:15 OPNsense dhcp6c[38896]: freeing op data at 0x6b85225050
Oct 20 05:30:15 OPNsense dhcp6c[38896]: freeing op data at 0x6b852260f0
Oct 20 05:30:15 OPNsense dhcp6c[38896]: freeing op data at 0x8
root@OPNsense:/var/log #
Ca s'arrete net a 5h30:15 le 20 (il y a 28 heures.)
[EDIT 2] J'ai trouve ca ... Oct 20 05:34:21 kernel: pid 38896 (dhcp6c), uid 0: exited on signal 11 (core dumped)