NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dhcpcd / IPv6 question



I'm finally getting my NetBSD environment reestablished, and am running into a little problem. I started dhcpcd from /etc/rc.d without any special options, and this is what I get in /var/run/rc.log

...
[running /etc/rc.d/dhcpcd]
Starting dhcpcd.
DUID 00:01:00:01:1c:b2:4c:b2:78:24:af:3d:64:10
re0: IAID af:3d:64:10
re0: rebinding lease of 192.168.1.7
re0: soliciting an IPv6 router
re0: Router Advertisement from fe80::1a1e:78ff:fe97:11ad
re0: requesting DHCPv6 information
re0: leased 192.168.1.7 for 86400 seconds
re0: adding route to 192.168.1.0/24
re0: adding default route via 192.168.1.1
forked to background, child pid 412
...

It appears that I got a RouterAdvert from somewhere, but never got any IPv6 routing information. My IPv6 route table looks like this:


Destination Gateway Flags Refs Use Mtu Interface
::/104                    ::1               UGRS     -   -  33648  lo0
::/96                     ::1               UGRS     -   -  33648  lo0
::1                       ::1               UH       -   -  33648  lo0
::127.0.0.0/104           ::1               UGRS     -   -  33648  lo0
::224.0.0.0/100           ::1               UGRS     -   -  33648  lo0
::255.0.0.0/104           ::1               UGRS     -   -  33648  lo0
::ffff:0.0.0.0/96         ::1               UGRS     -   -  33648  lo0
2001:db8::/32             ::1               UGRS     -   -  33648  lo0
2002::/24                 ::1               UGRS     -   -  33648  lo0
2002:7f00::/24            ::1               UGRS     -   -  33648  lo0
2002:e000::/20            ::1               UGRS     -   -  33648  lo0
2002:ff00::/24            ::1               UGRS     -   -  33648  lo0
fe80::/10                 ::1               UGRS     -   -  33648  lo0
fe80::%re0/64             link#1            UC       -   -      -  re0
fe80::7a24:afff:fe3d:6410 78:24:af:3d:64:10 UHLl     -   -      -  lo0
fe80::%lo0/64             fe80::1           U        -   -      -  lo0
fe80::1                   fe80::1           UHl      -   -      -  lo0
ff01:1::/32               link#1            UC       -   -      -  re0
ff01:2::/32               ::1               UC       -   -  33648  lo0
ff02::%re0/32             link#1            UC       -   -      -  re0
ff02::%lo0/32             ::1               UC       -   -  33648  lo0


I have no idea where the 2001:... and 2002:...entries came from...

Any clue on how to get a valid IPv6 default route?


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index