On 27/04/12 10:56 PM, David Diggles wrote:
I am just not doing a very good job of explaining. I am not confused about the role of each daemon. I am setting up a router and that is why I am using rtadvd.
But you're using rtadvd improperly.
I am confused about which daemon gets the address and default route assigned, to the router. Can rtadvd do this?
No that is not what rtadvd is for. Although the pppoe(4) man page has not been updated for IPv6 support yet I noticed this mentioned on a URL mentioned on misc@ which should be equivalent to adding a default route for IPv4 as mentioned in the man page. If this works as expected the man page should be updated. ``!/sbin/route add -inet6 default -ifp pppoe0 ::0.0.0.1''
Here is an sample from the daemon log, after rtadvd starts (after pppoe has connected to the ISP).. rtadvd[10686]: sendmsg on pppoe0: No route to host rtadvd[10686]: prefix xxxx:xxxx:xxxx:xxx::/64 from yyyy::yyy:yyyy:yyyy:yyyy on pppoe0 is not in our list
Yes, you should not be trying to use rtadvd on the PPPoE interface.
ifconfig pppoe0 inet6 xxxx:xxxx:xxxx:xxx::/64
IMHO there is no real point in doing this. You'll have an address on the one or more Ethernet interfaces on the system.
Voila, I have ipv6 connectivity on the router, then dhcp6c can assign an address from a static address block the ISP provides me, to the 2nd interface.
Yes, although personally I use the ISC DHCP client and dnsmasq on the router / firewall. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

