Skip to content

cbix/fahrrad

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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

About

Fast And Hackable Redis-backed Router Advertisement Daemon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages