Skip to content

Files

Latest commit

Feb 18, 2016
db58d4f · Feb 18, 2016

History

History
30 lines (23 loc) · 1.17 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.17 KB

fahrrad

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!

Use cases

  • IPv6 networks that require precise control over prefix assignment without using DHCPv6
  • High availability routers with live configuration or frequent configuration changes

Redis database

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)

Build and run

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

ref

  • RFC 4861
  • RFC 4862
  • RFC 5942

keywords

mac-based real-time dynamic router advertisement daemon static prefix