Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Apr 2011 00:19:33 -0400
From:      Steve Wills <swills@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Subject:   Re: ipv6 / rtadv problem
Message-ID:  <4D955255.9000108@FreeBSD.org>
In-Reply-To: <451C39DA-76B9-4767-9FFC-24F2A182E301@dons.net.au>
References:  <451C39DA-76B9-4767-9FFC-24F2A182E301@dons.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a similar issue. I have:

ifconfig_re0_ipv6="inet6 accept_rtadv"

And after boot, I get:

% ping6 www.google.com
PING6(56=40+8+8 bytes) 2001:470:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX -->
2a00:1450:8005::68
^C
- --- www.l.google.com ping6 statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss

But, if I ping my gateway, things are fine:

% ping6 2001:470:XXXX:XXXX::1
PING6(56=40+8+8 bytes) 2001:470:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX -->
2001:470:XXXX:XXXX::1
16 bytes from 2001:470:XXXX:XXXX::1, icmp_seq=0 hlim=64 time=1.037 ms
16 bytes from 2001:470:XXXX:XXXX::1, icmp_seq=1 hlim=64 time=0.365 ms
^C
- --- 2001:470:XXXX:XXXX::1 ping6 statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.365/0.701/1.037/0.336 ms

meatwad% ping6 www.google.com
PING6(56=40+8+8 bytes) 2001:470:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX -->
2a00:1450:8005::68
16 bytes from 2a00:1450:8005::68, icmp_seq=0 hlim=54 time=124.774 ms
16 bytes from 2a00:1450:8005::68, icmp_seq=1 hlim=54 time=123.641 ms
^C
- --- www.l.google.com ping6 statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 123.641/124.208/124.774/0.566 ms

%

I didn't have this problem in January.

Steve

On 03/28/11 08:55, Daniel O'Connor wrote:
> Hi,
> I am trying to get a -CURRENT box to get an IPv6 address via RTADV, however I am not having any luck.
> 
> I have tried the following in rc.conf :-
> ipv6_enable="YES"
> ipv6_gateway_enable="YES"
> 
> ifconfig_em0_ipv6="RTADV"
> 
> (the last one I haven't seen before but it didn't seem to have an effect anyway)
> 
> ifconfig shows..
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
> 	ether 00:25:90:32:09:1e
> 	inet6 fe80::225:90ff:fe32:91e%em0 prefixlen 64 scopeid 0x2 
> 	inet 203.31.81.43 netmask 0xffffffc0 broadcast 203.31.81.63
> 	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> 	media: Ethernet autoselect (100baseTX <full-duplex>)
> 	status: active
> 
> I see rtadv packets on the network :-
> 12:50:46.444380 IP6 fe80::204:61ff:fe79:276f > ff02::1: ICMP6, router advertisement, length 56
> 
> Other hosts can obtain a prefix just fine. This is the only 9.0 one, I have other FreeBSD boxes but they are 8.x ish.
> 
> --
> Daniel O'Connor software and network engineer
> for Genesis Software - http://www.gsoft.com.au
> "The nice thing about standards is that there
> are so many of them to choose from."
>   -- Andrew Tanenbaum
> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
> 
> 
> 
> 
> 
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBAgAGBQJNlVJUAAoJEPXPYrMgexuhztQH/0lL3cvjapSAEI6ph+CjyTbB
Tm/WJdtpkUMLzW0wM8mDoLYHuXQcG4wv4QpQTcQM4Stk1869LY74nNFTkopk3pc6
TNEa7FfftrJnWGsN8f5HytOen8EGB+tXnSd6b1mXkbSUcJWKALQPFYptv5ssU5Ob
+vv2T8Bei77T1OIeDZeg2rFpWQ5IfKeLfzfvnsIKsX1x+QB2+gnWvcb7bWqNMBed
tgtVzU9buLSO6WefZl+Q3ykPvR5ARwdJPEzwkuYR0udFbnf6GJGsACsWI6GujfDH
skvHIrDNjY39jV+k2qZKF4x7HnbehwM21qZXnxHoMqepnVGIFpo8Y+sJb0mJk+8=
=XERs
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D955255.9000108>