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!

VLAN and SDN index/bridge index number questions - how are they decided?

i0ntempest

Regular Contributor
Hi,
I have a BE88U with merlin 3006.102 and I have created a guest VLAN with DHCP. The system assigned it SDN index 5 (as I have `dnsmasq-5.conf`) and bridge device `br56`. I would like some clarifications on how these numbers are decided so I can write reliable scripts to operate on this interface. The goal is to add a IPv6 GUA /64 prefix to this interface so my guests are served IPv6.

Thanks in advance.
 
If you look at the code, it just picks the next free number, starting from 1 for index, or 52 for VLAN ID. Search for all the get_new_ functions.

Use the get_mtlan command to see what is already defined on your router.
Thanks - took me some time but I now have IPv6 internet connectivity provided by ip6tables MASQUERADE nat66. I know nAt66 BaD but assigning another /64 in parallel to my main network's /64 just doesn't work despite my ISP giving me a /48. `ip -6 route` gives no default routes if I do that.
Also SNAT didn't work either, I got `unknown option "--to-source"`. I'm guessing SNAT isn't compiled in?
 

Latest threads

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