Skip to content


edgerouter

#edgerouter
This assumes your wan interfaces is eth0 and your lan interface is eth1

1. sudo vi /etc/sysctl.conf

Add the following lines:
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.eth0.accept_ra = 2

2. Load your changes:
sudo sysctl -p /etc/sysctl.conf

3. Setup the wide-dhcpv6 client
sudo vi /etc/wide-dhcpv6/dhcp6c.conf

Add the following at the end:
interface eth0 {
send ia-pd 0;
request domain-name-servers;
};

id-assoc pd 0 {
prefix-interface eth1 {
sla-id 1;
sla-len 0;
};
};

4. Start wide-dhcpv6:
sudo /etc/init.d/wide-dhcpv6-client start

Check your eth1 interface for an IPv6 address..
sudo ipconfig
Look for lines like…
inet6 addr: fe80::618:d6ff:fef0:7744/64 Scope:Link
inet6 addr: 2602:306:bdbe:966f:xxxx:xxxx:xxxx:xxxx/64 Scope:Global

5. Set up radvd
Use the following commands:
configure
set interfaces ethernet eth1 ipv6 router-advert prefix ::/64
commit

Workstations should now get addresses and all should be well.

Posted in Uncategorized.

Tagged with .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.