* Jon Morby <[EMAIL PROTECTED]> [2007-03-27 18:47]:
> I am trying to setup a native IPv6 BGP session to BT Exact
> .. and probably me doing something wrong but I can't spot it

well, not necessarily, I don't have any native v6 sessions, and neither 
has claudio, so errors might go undetected

> Mar 27 16:27:55 l3-c1 bgpd[32629]: neighbor 2001:7f8:2:1::1:  
> session_setup_socket setsockopt hoplimit: Protocol not available

wow.

that comes from this code fragment in session.c:session_setup_socket

        if (p->conf.ebgp && p->conf.remote_addr.af == AF_INET6)    
                /* set hoplimit to foreign router's distance */
                if (setsockopt(p->fd, IPPROTO_IPV6, IPV6_HOPLIMIT, &ttl,
                    sizeof(ttl)) == -1) {
                        log_peer_warn(&p->conf,
                            "session_setup_socket setsockopt hoplimit");  
                        return (-1);
                }

ttl is initialized to distance, 3 in your case.
why would setsockopt IPV6_HOPLIMIT 3 fail???

you can pbly get away with just #if 0'ing that code block (or change 
the first line to "if (0 && p->conf.ebgp && ..."), but I still don't 
understand what the problem is.

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam

Reply via email to