bash-2.04$ ping6 ::1
PING6(56=40+8+8 bytes) ::1 --> ::1
ping6: sendmsg: No route to host
ping6: wrote ::1 16 chars, ret=-1
bash-2.04$ netstat -rn -finet6
Routing tables
Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRSc lo0
::1 ::1 UH lo0
::ffff:0.0.0.0/96 ::1 UGRSc lo0
fe80::/10 ::1 UGRSc lo0
fe80::%rl0/64 link#1 UC rl0
fe80::24f:4eff:fe03:389c%rl0 00:4f:4e:03:38:9c UHL lo0
fe80::%lo0/64 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#7 UHL lo0
ff01::/32 ::1 U lo0
ff02::/16 ::1 UGRS lo0
ff02::%rl0/32 link#1 UC rl0
ff02::%lo0/32 ::1 UC lo0
bash-2.04$ sysctl net.inet6
net.inet6.ip6.forwarding: 0
net.inet6.ip6.redirect: 1
net.inet6.ip6.hlim: 64
net.inet6.ip6.maxfragpackets: 1232
net.inet6.ip6.accept_rtadv: 1
net.inet6.ip6.keepfaith: 0
net.inet6.ip6.log_interval: 5
net.inet6.ip6.hdrnestlimit: 50
net.inet6.ip6.dad_count: 1
net.inet6.ip6.auto_flowlabel: 1
net.inet6.ip6.defmcasthlim: 1
net.inet6.ip6.gifhlim: 30
net.inet6.ip6.kame_version: 20010528/FreeBSD
net.inet6.ip6.use_deprecated: 1
net.inet6.ip6.rr_prune: 5
net.inet6.ip6.v6only: 0
net.inet6.ip6.rtexpire: 3600
net.inet6.ip6.rtminexpire: 10
net.inet6.ip6.rtmaxcache: 128
net.inet6.ip6.use_tempaddr: 0
net.inet6.ip6.temppltime: 86400
net.inet6.ip6.tempvltime: 604800
net.inet6.ip6.auto_linklocal: 1
net.inet6.ipsec6.def_policy: 1
net.inet6.ipsec6.esp_trans_deflev: 1
net.inet6.ipsec6.esp_net_deflev: 1
net.inet6.ipsec6.ah_trans_deflev: 1
net.inet6.ipsec6.ah_net_deflev: 1
net.inet6.ipsec6.ecn: 0
net.inet6.ipsec6.debug: 1
net.inet6.ipsec6.esp_randpad: -1
net.inet6.icmp6.rediraccept: 1
net.inet6.icmp6.redirtimeout: 600
net.inet6.icmp6.nd6_prune: 1
net.inet6.icmp6.nd6_delay: 5
net.inet6.icmp6.nd6_umaxtries: 3
net.inet6.icmp6.nd6_mmaxtries: 3
net.inet6.icmp6.nd6_useloopback: 1
net.inet6.icmp6.nodeinfo: 3
net.inet6.icmp6.errppslimit: 100
net.inet6.icmp6.nd6_maxnudhint: 0
net.inet6.icmp6.nd6_debug: 0
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
> Heelp Please. I'm trying to get ipv6 up and running, at least on the
> localhost, but I can't even get that working. can anyone tell me what's
> wrong? Please Reply directly as I'm not subscribed to the list. Thanks
> in advance.
>
> bash-2.04$ ping6 ::1
> PING6(56=40+8+8 bytes) ::1 --> ::1
> ping6: sendmsg: No route to host
> ping6: wrote ::1 16 chars, ret=-1
>
Try running "ping6 ::1%lo0". You have to specify which interface to use
because each interface has a "local-link" address (fe80::/64). I learned
this when playing with IPv6 on my LAN. I would have to type (for example)
"ping6 fe80::4bff:fed3:badc%xl0" to ping one of the other machines. This
obviously gets old fast, to which I setup DNS. You could also put an
entry in /etc/hosts if that will suffice.
> Here those are:
>
>
> bash-2.04$ ping6 ::1%lo0
> ping6: No address associated with hostname
> bash-2.04$ ping6 -Ilo0 ::1
> PING6(56=40+8+8 bytes) ::1 --> ::1
> ping6: sendmsg: No route to host
> ping6: wrote ::1 16 chars, ret=-1
>
Strange, here's some stuff from my machine:
$ ping6 ::1
PING6(56=40+8+8 bytes) ::1 --> ::1
16 bytes from ::1, icmp_seq=0 hlim=64 time=0.229 ms
$ ping6 ::1%lo0
ping6: No address associated with hostname
$ ping6 fe80::250:daff:fe6d:3530
ping6: UDP connect: No route to host
$ ping6 fe80::250:daff:fe6d:3530%xl0
PING6(56=40+8+8 bytes) fe80::210:4bff:fed3:badc%xl0 --> fe80::250:daff:fe6d:3530%xl0
16 bytes from fe80::250:daff:fe6d:3530%xl0, icmp_seq=0 hlim=64 time=0.567 ms
$ ping6 -I xl0 fe80::250:daff:fe6d:3530
PING6(56=40+8+8 bytes) fe80::210:4bff:fed3:badc%xl0 --> fe80::250:daff:fe6d:3530
16 bytes from fe80::250:daff:fe6d:3530%xl0, icmp_seq=0 hlim=64 time=0.588 ms
Basically, "::1" should have worked. I guess you only need to specify the
interface when using local-link addresses. That may or may not apply to
"global" addresses, but I'm not sure because I havn't had a chance to
setup 6bone yet.
Do you have IPFW enabled in your kernel? (options IPV6FIREWALL)
However, I don't think so, because you would get a different error.