Change in /etc/rc.conf:ipv6_defaultrouter

Ashish Shukla आशीष शुक्ल wahjava.ml at gmail.com
Sun Jun 29 15:04:54 UTC 2008


,--- Kirk Strauser writes:
| I've been using IPv6 on my FreeBSD-7 host for quite some time.  My
| IPv6 router is a different machine, so the FreeBSD server is just a
| regular host on the network.

| This morning I discovered that I couldn't pass packets to hosts
| outside my LAN from FreeBSD, although an OS X host on the same LAN had
| no problems pinging www.kame.net.

| I had this in my /etc/rc.conf:

|     ipv6_ifconfig_fxp0="2001:470:a80a:1:2d0:b7ff:fe0e:3a4a prefixlen
| 64"
|     ipv6_defaultrouter="fe80::213:10ff:fe79:137a"

I don't know how is above ipv6_defaultrouter setting is working, since
above is a link-local address, and you've not specified any explicit
link in above fe80::/10 address. BtW, did you recently changed your
configuration ? Is this same setting working since you started using
IPv6 on your FreeBSD host, hmm..?

| Whenever I'd try to ping6 my local router, I'd get:

|     ping6: UDP connect: Network is unreachable

Are you trying to ping6 a link-local address, without any mention of
interface, hmm...?

| Also, the routing table seemed a bit screwy and was sending everything
| to lo0:

|     $ netstat -nr -f inet6
|     [...]
|     default                           fe80::213:10ff:fe79:137a UGS
| lo0

| I found two workarounds:

|     ipv6_defaultrouter="2001:470:a80a:1::1"

I think above solution is better.

-- 
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080629/e00a78d1/attachment.pgp


More information about the freebsd-questions mailing list