20 lines
1.2 KiB
Markdown
20 lines
1.2 KiB
Markdown
IPv6 configuration
|
|
==================
|
|
|
|
Getting IPv6 working on your router is actually easier than IPv4. This is because `babeld` doesn't require you specify an address on the interface which it will use as the next-hop address when redistributing routes from itself to neighbouring routers. Okay, that's a bit of a lie, it **does** require them but when you have IPv6 enabled an interface on Linux it automatically gets an IPv6 link-loal address which will be used as the next-hop address. You still however will want to add an IPv6 address to **any one** of your interfaces though so it can accept packets destined to it, this can be done however on any interface.
|
|
|
|
## Step 1
|
|
|
|
Enable IPv6 on the interfaces you intend to run `babeld` on. I have no idea how to do this, but by default it is enabled, atleast on Raspbian.
|
|
|
|
**TODO:** Can someone figure out
|
|
|
|
## Step 2
|
|
|
|
As with the previous tutorial on peering all you need to do is to have an interface line declared in your `/etc/babeld.conf`, nothing really changes just because you are doing IPv6. You will need to make sure you redistribute the following, so add this to your configuration:
|
|
|
|
```
|
|
# Redistribute all CRXN (IPv6 - fd8a:6111:3b1a::/48)
|
|
redistribute ip fd8a:6111:3b1a::/48 ge 48
|
|
```
|