I can easily get ipv6 address of an interface, with:
Code: Select all
:local ipv6addr [/ipv6 address get [find where global] address];
Code: Select all
:local ipv6addr [/ipv6 address get [find where global interface=bridge1 ] address];
But now I'm a bit in trouble of doing subnet calculation inside script to find the actual network address.
Any tips how I could do it inside ROS?