Hi,

On Fri, May 02, 2014 at 09:31:43PM +0200, Steven Barth wrote:
> >I've read everything that's linked from the start page on
> >http://www.homewrt.org/ - but it's not really much as far as "how can
> >I see what it does?  how can I debug it?  Is there only one single
> >option to turn this on and off ("option proto 'hnet'"), or is there more?
> >Does hnetd handle IPv4 and IPv6 today?  How do I force selection of a 
> >certain
> >/64 on a specific interface?" question go... :-)
>
> Yeah to turn it on on a given interface simply change the proto to 
> "hnet" (and remove any previous interface using the same interface in 
> /etc/config/network). If you want to not use bridging you need to create 
> one logical interface in /etc/config/network for each switch-port / vlan.

OK.  What about the "wan6" interface?  Default OpenWRT config has

config interface 'wan'
        option ifname 'eth0'
        option proto 'dhcp'

config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'

so I assume the "wan6" interface would completely go away, leading to

config interface 'wan'
        option ifname 'eth0'
        option proto 'hnet'

#config interface 'wan6'
#        option ifname '@wan'
#        option proto 'dhcpv6'

right?

... but that doesn't work out for me :-(  - I can see hnetd talk, but I
completely lost "global IPv6" - no RA learning on the WAN anymore, and
no DHCPv6 PD either.

The upstream server complains about IA-NA not being supported (Cisco),
but I don't see a PD request in there...

May  2 22:47:09: IPv6 DHCP: Received SOLICIT from FE80::CC4F:57BB:3A1:93FD on 
Vlan2
May  2 22:47:09: IPv6 DHCP: Option IA-NA(3) is not supported yet
May  2 22:47:09: IPv6 DHCP: Sending ADVERTISE to FE80::CC4F:57BB:3A1:93FD on 
Vlan2
May  2 22:47:09: IPv6 DHCP: Received SOLICIT from FE80::12FE:EDFF:FEE6:5F33 on 
Vlan62
May  2 22:47:09: IPv6 DHCP: Option USER-CLASS(15) is not processed
May  2 22:47:09: IPv6 DHCP: Option RECONF-ACCEPT(20) is not processed
May  2 22:47:09: IPv6 DHCP: Option UNKNOWN(39) is not processed
May  2 22:47:09: IPv6 DHCP: Option IA-NA(3) is not supported yet
May  2 22:47:09: IPv6 DHCP: Sending ADVERTISE to FE80::12FE:EDFF:FEE6:5F33 on 
Vlan62

(Upstream router sends RA with "A" and "O" bit set, and that worked nicely
with "proto dhcpv6")

and "ifstatus wan" also looks very much "passive"...

root@OpenWrt:~# ifstatus wan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "uptime": 419,
        "l3_device": "eth0",
        "proto": "hnet",
        "device": "eth0",
        "metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [

        ],
        "dns-server": [
                "195.30.0.2"
        ],
        "dns-search": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {
                "dhcpv4": "disabled",
                "dhcpv6": "disabled",
                "ra": "disabled",
                "ra_management": 1,
                "zone": "wan"
        }
}

... so, something I am missing... :-/

thanks,

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgp9S8EpMh09K.pgp
Description: PGP signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to