This is fahrrad, the Fast And Hackable Redis-backed Router Advertisement Daemon made in germany. It's still under heavy development, so don't use it in production environments!
- IPv6 networks that require precise control over prefix assignment without using DHCPv6
- High availability routers with live configuration or frequent configuration changes
The database has to provide the following keys:
fahrrad/mac/{BINARY_MAC}
→{BINARY_PREFIX}
:{BINARY_MAC}
is the link-layer address of a client in binary form (i.e.aa:bb:cc:dd:ee:ff
→\xaa\xbb\xcc\xdd\xee\xff
) and{BINARY_PREFIX}
the IPv6 prefix (/64) that this client should get advertised (i.e.2001:db8::/64
→\x20\x01\x0d\xb8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
)
You need redis installed and running on tcp port 6379. Furthermore, your golang environment should be configured correctly with $GOPATH/bin in your $PATH variable.
$ go get github.com/CBiX/fahrrad
$ sudo fahrrad
- RFC 4861
- RFC 4862
- RFC 5942
mac-based real-time dynamic router advertisement daemon static prefix