Greetings. I am using the "linux-net-tools" ifconfig-style commands suggested on the tunnelbroker site on a modern Ubuntu server, and they work fine for giving the box v6 access to and from the network. However, I want this box to be a v6 router.
1) I assume that I need to add a few things to files in /etc to turn this into a router for the routed /64 and routed /48 that I have been given, but I don't see any instructions for that.
2) Once I have #1 done, I want to configure dhcpv6 as well. Or should I just use radvd? Or both?
Clues appreciated. I'm happy to turn answers into more documentation if appropriate.
Enable IPv6 packet forwarding in sysctl, boom yer a router.
Use either, but you'll need RA for DHCP to work, set with M and O flags.
Thanks for the quick relpy! ;D
Quote from: broquea on April 19, 2016, 02:57:40 PM
Enable IPv6 packet forwarding in sysctl, boom yer a router.
Use either, but you'll need RA for DHCP to work, set with M and O flags.
#1: In /etc/sysctl.conf:
net.ipv6.conf.all.forwarding=1
Got it.
#2: I could use a bit more clue here. The man page for radvd.conf is a tad daunting. If eth0 is my WAN interface, eth1 is my LAN interface, and the routed /64 that I was given is 2001:420:dead:beef::/64, what would my radvd.conf look like? (I can probably figure out the DHCP configuration from here.)
Maybe this will help
http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/hints-daemons-radvd.html