What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

radvd.postconf for ULA

Status
Not open for further replies.

sinshiva

Very Senior Member
Code:
#!/bin/sh
# to be used in /jffs/scripts/radvd.postconf
CONFIG=$1

sed '
/AdvLinkMTU/ a\
\ prefix\ fdxx\:xxxx\:xxxx\:ssss\:\:\/64 \
\ \{ \
\ \ AdvOnLink\ on\; \
\ \ AdvAutonomous\ on\; \
\ \}\;
' -i $CONFIG

Code:
#!/bin/sh
# to be used in /jffs/scripts/firewall-start
ip -6 addr add fdxx:xxxx:xxxx:ssss::1/64 dev br0

chmod a+rx /jffs/scripts/*

replace the x's and s's with your ULA and subnet in both scripts
 
Does any one have a more detailed way to set this up properly?
I could have sworn i've seen post from you helping with radvd in past, what is your input on this subject? @Martineau
For example how does one find their ULA address to configure this?
what are the preferred GUI settings to be set to when setting this up?

I am trying to configure better and more localized IPV6 addressing for more specific usage.
 
I have tested using "Stateful" addressing to try to solve my needs, but I find some devices (i.e some smart devices) do not receiving ipv6 addressing like they do when "Stateless" is used.
 
Asuswrt-Merlin hasn't been using radvd for many years, it uses dnsmasq + odhcp6 now.

Locking this, as this is a 6 years old thread.
 
Status
Not open for further replies.

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top