Ok, i managed to make thing work almost as expected.
I moved subscriber with the help of dynamic profile to another demux interface.
This is dhcp profile that i use:
predefined-variable-defaults {
routing-instances SUBSCRIBERS;
}
routing-instances {
"$junos-routing-instance" {
interface "$junos-interface-name";
}
}
interfaces {
demux0 {
no-traps;
unit "$junos-interface-unit" {
demux-options {
underlying-interface "$junos-underlying-interface";
}
family inet {
rpf-check fail-filter rpf-pass-dhcp;
unnumbered-address "$junos-loopback-interface";
}
family inet6 {
unnumbered-address "$junos-loopback-interface";
}
}
}
}
protocols {
router-advertisement {
interface "$junos-interface-name" {
max-advertisement-interval 900;
min-advertisement-interval 300;
managed-configuration;
other-stateful-configuration;
}
}
}
Interface profile now looks like this:
interfaces {
demux0 {
no-traps;
interface-mib;
unit "$junos-interface-unit" {
demux-source [ inet inet6 ];
no-traps;
proxy-arp unrestricted;
vlan-tags outer "$junos-stacked-vlan-id" inner "$junos-vlan-id";
demux-options {
underlying-interface "$junos-underlying-interface";
}
family inet {
rpf-check fail-filter rpf-pass-dhcp;
mtu 1500;
}
family inet6 {
mtu 1500;
}
}
}
}
And i moved to dual-stack single-session.
Subs auth looks loke this:
demux0.3221225521 0x8100.4008 0x8100.3000 default:default
demux0.3221225522 10.200.72.154 DS&ge-0/1/2:4008-3000 default:SUBSCRIBERS
* 2a00:f440:a:3::fbf
* 2a00:f440:a:8fbf::/64
There is lo0.1 in generated profile for subscriber session as expected.
But inet6 not working. I checked and found that ND is still working on demux0.3221225521, but not on interface configured for subscriber (demux0.3221225522)
run show ipv6 neighbors
IPv6 Address Linklayer Address State Exp Rtr Secure Interface
fe80::66d1:54ff:fee6:d5f7 64:d1:54:e6:d5:f7 reachable 0 no no demux0.3221225521
2a00:f440:a:3::fbf 64:d1:54:e6:d5:f7 reachable 0 no no demux0.3221225522
So is there a way to solve this puzzle, or just forget about it and live with NONE in subscribers generated dynamic-profile? 🙂