Hi,
@mikma :
... why an alias to @wan6 ?? it should not be an alias for a "lan" interface ?????
I don't understand the idea here, can you explain in details please ?
@lleachii :
I have no problem with that. (in fact IT IS my problem) .. how to explain that
The question is:
how to EXCLUDE one off the two HE prefixes from an interface ?
So actually I CAN'T use ip6assign
in that case
OpenWRT has internal decisions I can't bypass.
It's great to make 'common things' easier but sometimes it is #~@{~`^|/
Ok, let's see what I have if we 'play' with ip6assign:
ISP: WAN6 <=====> 2a01:a:b:cc00::/56 <==> LAN1 - 2a01:a:b:cc00::/64 ( ip6assign = 64 - ip6class = wan6 - ip6hint = 0 )
<==> LAN2 - 2a01:a:b:cc01::/64 ( ip6assign = 64 - ip6class = wan6 - ip6hint = 1 )
<==> LAN3 - 2a01:a:b:cc02::/64 ( ip6assign = 64 - ip6class = wan6 - ip6hint = 2 )
HE : 6IN4 <=====> | 2001:d:e:f::/64 | <==> LAN4 - 2001:d:e:f::/64 !!!! AND !!!! 2001:g:h:0004::/64 ( ip6assign = 64 - ip6class = henet - ip6hint = 4 but I can choose FFFF if I want it is the same, just 2001:g:h:0::/64 will become d:h:i:ZZZZ::/64 but 2001:d:e:f::/64 will not ... of course ;op )
| 2001:g:h::/48 | etc ...
Ok ?
So no problem to get ISP prefix (and only the ISP one) routed to my lan1 with:
config interface 'lan1'
option ip6assign "/64"
list ip6class "wan6" <= HERE
# list ip6class "local" <= Add this to add the ULA-Prefix to LAN1 devices
option ip6hint '0'
PD+RA+DHCPv6 working fine on LAN1
Perfect
But what happens to the first use of a HE prefixes to LAN4
No problem, let's do that:
config interface 'lan4'
option ip6assign "/64"
list ip6class "henet" <= HERE
option ip6hint '4' <= '4' is just for this exemple to stay with LAN'4'
GRRRRRRRRRRRRRRRRR
The TWO prefixes are delegated to LAN4 ====> completly useless !
So ok, It is only for the first HE's prefix delegation (because the first prefix is allready a /64)
So none of the remaining 65535 networks will have this problem
But how to do in order to NOT have that with OpenWRT ??
I want to dedicate this small /64 for a special use, I don't want devices on this LAN to see any of the other /48 devices ... any (and share any broadcast/multicast/something-cast)
Ok, I now, nobody (but me) cares about that, HE give us 2 ENORMOUS scopes (so, 65537 /64 ... + 256 coming from my ISP), So I just have to forgot the HE::/64, by omitting its declaration on the network section
config interface 'henet'
option proto '6in4'
option username 'my_user'
option peeraddr '216.66.84.42'
list ip6prefix '2001:d:e:f::/64' <===== line to remove - pffffffffffffff
list ip6prefix '2001:g:h::/48'
option ip6addr '2001:d:e:f::2/64'
option tunnelid 'my_id'
option password 'my_pass'
in the case of HE it is definitely not a real problem, but with more prefixes delegated from the same provider, how to do that with OpenWRT ???
sorry to annoy everyone with my stupid questions