Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Doug Barton
On 12/13/2011 16:41, Hiroki Sato wrote: > I do not think it is a good idea that the rtadvd daemon automatically > splits prefixes shorter than 64 to ones with just 64. "Which prefix > should be advertised" is one of things which a sysadmin must specify > explicitly when it receives prefixes sh

Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Mattia Rossi
On 14/12/2011 11:41, Hiroki Sato wrote: Mattia Rossi wrote in<4ee7cdbe.1090...@swin.edu.au>: mr> Ok, this is something I always get a bit confused with. I understand mr> that it's the right clean thing to set up a /64 on the interface which mr> sends router advertisements, but I also woul

Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Hiroki Sato
Mattia Rossi wrote in <4ee7cdbe.1090...@swin.edu.au>: mr> Ok, this is something I always get a bit confused with. I understand mr> that it's the right clean thing to set up a /64 on the interface which mr> sends router advertisements, but I also would expect by nature, that mr> whatever prefixl

Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Mattia Rossi
On 14/12/11 04:07, Hajimu UMEMOTO wrote: Hi, On Tue, 13 Dec 2011 20:11:45 +1030 "Daniel O'Connor" said: doconnor> On 13/12/2011, at 19:54, Hajimu UMEMOTO wrote: doconnor> Is there a way to tweak it to do the right thing? Perhaps, sla-len should be 8. doconnor> Ahh many thanks, that se

Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Hajimu UMEMOTO
Hi, > On Tue, 13 Dec 2011 20:11:45 +1030 > "Daniel O'Connor" said: doconnor> On 13/12/2011, at 19:54, Hajimu UMEMOTO wrote: > doconnor> Is there a way to tweak it to do the right thing? > > Perhaps, sla-len should be 8. doconnor> Ahh many thanks, that seems work work. You are welcome.

Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Daniel O'Connor
On 13/12/2011, at 19:54, Hajimu UMEMOTO wrote: > doconnor> Is there a way to tweak it to do the right thing? > > Perhaps, sla-len should be 8. Ahh many thanks, that seems work work. Such are the risk when you copy things off the internet :) > > Sincerely, > > -- > Hajimu UMEMOTO @ Internet M

Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Hajimu UMEMOTO
Hi, > On Tue, 13 Dec 2011 19:46:42 +1030 > "Daniel O'Connor" said: doconnor> I have the following dhcp6c.conf.. doconnor> interface eth0 { doconnor> information-only; doconnor> }; doconnor> interface tun0 { doconnor> send ia-pd 0; doconnor> }; doconnor> id-assoc pd { do

Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Daniel O'Connor
On 13/12/2011, at 19:41, Hajimu UMEMOTO wrote: > The prefixlen of assigend IPv6 address have to be 64 to SLAAC work > correctly. OK. I have the following dhcp6c.conf.. interface eth0 { information-only; }; interface tun0 { send ia-pd 0; }; id-assoc pd { prefix-interface

Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Hajimu UMEMOTO
Hi, > On Tue, 13 Dec 2011 14:32:12 +1030 > "Daniel O'Connor" said: doconnor> [midget 14:29] ~ >ifconfig eth0 doconnor> eth0: flags=8943 metric 0 mtu 1500 doconnor> options=219b doconnor> ether 00:1b:21:94:ab:13 doconnor> inet 10.0.2.1 netmask 0xff00 broadcas

Re: FreeBSD 8 as an IPv6 router

2011-12-13 Thread Daniel O'Connor
On 13/12/2011, at 18:25, Hiroki Sato wrote: > do> I am running rtadvd with an empty configuration, and I get my IPv6 > do> range by using dhcp6c from my ISP which I connect to via PPPoE using > do> PPP. > > Can you see any change in the clients if you put the following line > into /etc/rtadvd.con

Re: FreeBSD 8 as an IPv6 router

2011-12-12 Thread Hiroki Sato
"Daniel O'Connor" wrote in <2cece1b6-98b6-4219-bdd7-220f83cae...@gsoft.com.au>: do> Hi, do> I have a FreeBSD 8 machine that is my router and I previously had IPv6 do> working. ie it gave out RTADV messages and clients (Windows 7, OSX & do> Ubuntu) got public IPv6 addresses based on the advertis

Re: FreeBSD 8 as an IPv6 router

2011-12-12 Thread Daniel O'Connor
On 13/12/2011, at 17:14, Mattia Rossi wrote: > Start tcpdump on each client e.g. tcpdump -i eth0 -n -s0 -X icmp6 and restart > rtadvd and see if anything actually arrives at the clients. > > Then, to make things clean and in order to use the machine as router you > should disable ACCEPT_RTADV (

Re: FreeBSD 8 as an IPv6 router

2011-12-12 Thread Mattia Rossi
Start tcpdump on each client e.g. tcpdump -i eth0 -n -s0 -X icmp6 and restart rtadvd and see if anything actually arrives at the clients. Then, to make things clean and in order to use the machine as router you should disable ACCEPT_RTADV (ifconfig eth0 inet6 -accept_rtadv) and also disable th

FreeBSD 8 as an IPv6 router

2011-12-12 Thread Daniel O'Connor
Hi, I have a FreeBSD 8 machine that is my router and I previously had IPv6 working. ie it gave out RTADV messages and clients (Windows 7, OSX & Ubuntu) got public IPv6 addresses based on the advertised prefix. At some stage in the last few months something changed with the clients (I haven't up