How to automatically configure IPv6

Aaron LI aly at
Mon Aug 28 06:00:10 PDT 2017

Hi DFlyers,

I'm studying in an university, where IPv6 is provided.  But all IPv6
addresses are directly and automatically distributed from the shcool's
routers, i.e., each of my machine will get a /128 address via DHCP.(*)

Yesterday, I configured "IPv6 pass-through" for my router (flashed with
DD-WRT), and my Linux boxes inside the LAN can automatically obtain IPv6
configurations, e.g.,

debian-linux> /sbin/ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast
        inet6 2001:da8:8000:6440::1188  prefixlen 128  scopeid 0x0<global>
        inet6 fe80::49a6:fb37:128a:a30b  prefixlen 64  scopeid 0x20<link>
        ether fc:aa:14:dc:35:1a  txqueuelen 1000  (Ethernet)

However, I cannot make my DFly box with IPv6 automatically configured. 
Here is my related settings in "/etc/rc.conf"(**):

ifconfig_em0="inet netmask"

dfly> uname -a
DragonFly 4.9-DEVELOPMENT DragonFly 2032f72fa-
DEVELOPMENT #1: Sun Jun 11 22:10:06 CST 2017

dfly> ifconfig em0
	inet netmask 0xffffff00 broadcast
	inet6 fe80::a00:27ff:fe91:4474%em0 prefixlen 64 scopeid 0x1 
	ether 08:00:27:91:44:74
	media: Ethernet autoselect <rxpause> (1000baseT <full-duplex>)

How could I make DFly to automatically configure IPv6?  Thanks a lot.

(*) Some time ago, I tried to configure my DD-WRT router with IPv6
prefix delegation in order to enable IPv6 for my LAN, but in no vein. 
Now I found that this configuration was not supported by the school.

(**) I also tried without 'ipv6_ifconfig_em0="DHCP"', but the results
were the same.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Users mailing list