aparcar / openwrt

Staging tree of Paul Spooren
Other
9 stars 1 forks source link

FS#650 - 6in4 addresses are not advertised via DHCP. #640

Closed aparcar closed 7 years ago

aparcar commented 7 years ago

neheb:

Supply the following if possible:

aparcar commented 7 years ago

dedeckeh:

The odhcpd trace indicates there's no public IPv6 prefix on the lan and as such RAs cannot be sent with router lifetime different from 0. Can you attach the network config used in the scenario, ifstatus lan and also the output of ip -6 addr show

aparcar commented 7 years ago

neheb:

http://pastebin.com/Vv4NJcrM

Weird since in the 6in4 config there is a routed prefix specified.

aparcar commented 7 years ago

dedeckeh:

Confirms indeed there's no public IPv6 prefix on the lan; thus odhcpd behaves as expected. Attach your network config to the task otherwise it's hard to trouble shoot what's going on with the limited available info together with the output of ifstatus <6in4 interface>

aparcar commented 7 years ago

neheb:

http://pastebin.com/m2nr1U0i

All I know is, it used to work at some point back in OpenWrt.

aparcar commented 7 years ago

dedeckeh:

Please upload this as attachment

aparcar commented 7 years ago

neheb:

Here.

aparcar commented 7 years ago

arjendekorte:

You have not specified a prefix length. The line

    option ip6prefix '2001:470:1f05:c3e::'

should be

    option ip6prefix '2001:470:1f05:c3e::/64'

assuming you have just the default /64 assigned to you.

aparcar commented 7 years ago

neheb:

Aaand that was the issue. I think I did this out of habit from my tomato days where you stripped the 64 from the prefix.