From owner-freebsd-questions@FreeBSD.ORG Wed Feb 11 23:04:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 474A11065673 for ; Wed, 11 Feb 2009 23:04:56 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web52102.mail.re2.yahoo.com (web52102.mail.re2.yahoo.com [206.190.48.105]) by mx1.freebsd.org (Postfix) with SMTP id 0A9B08FC17 for ; Wed, 11 Feb 2009 23:04:55 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: (qmail 7511 invoked by uid 60001); 11 Feb 2009 23:04:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=Im/0kp9HlpKLWxSY+bi8syu1oHRM6de0bfVFBytBzwOynAXG9Zd5w+RHmWXC2kM87Vg24LyUw7UdGm4t2zg6U4T3bMZNhu9KaDRPDEpzWSv3g7w/1wXCsTe594LVBSptMnKSAPv0XL7avxxZG9N8M60NHEGFxCQG4VQQ80wq81A=; X-YMail-OSG: voG35RwVM1l2eoVxFAiOEOzNjXROiVi.6sMfnCUaKHxQGqRETHhr33hoy7SefSipbJAP9oyk0T8_m_54PeIRi0zsonpx0xL7pC4UOdNvpE1cUFZVI1QtAgxYK0.UzysngxEb5DvXNNByMw35oFhP6yXrqfDaYZZjoJ5enqMOtbw3BECpI0_P1ZiFAU3B7ig_760q5sbish_NFPet01sL40TKwSRFQg-- Received: from [134.207.53.14] by web52102.mail.re2.yahoo.com via HTTP; Wed, 11 Feb 2009 15:04:55 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 11 Feb 2009 15:04:55 -0800 (PST) From: gahn To: Steve Bertrand In-Reply-To: <4991C8EC.8050100@ibctech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <528659.6218.qm@web52102.mail.re2.yahoo.com> Cc: freebsd general questions Subject: Re: ipv6 and freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ipfreak@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 23:04:56 -0000 Thanks Steve: the router that sending RA is juniper and the protocol router-advertisement has been activated: ga@lab_1> show interfaces fe-0/0/3 ... Logical interface fe-0/0/3.170 (Index 70) (SNMP ifIndex 59) ... Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::214:f600:aa2c:d403 Addresses, Flags: Is-Preferred Is-Primary Destination: fec0:10:5::/64, Local: fec0:10:5:0:214:f600:aa2c:d403 ga@lab_r2> show interfaces fe-0/0/3 ... Logical interface fe-0/0/3.170 (Index 70) (SNMP ifIndex 32) Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::214:f600:aa2c:3c03 Addresses, Flags: Is-Preferred Is-Primary Destination: fec0:0:5::/64, Local: fec0:0:5:0:214:f600:aa2c:3c03 ga@lab:~:$ sysctl -a net.inet6.ip6.accept_rtadv net.inet6.ip6.accept_rtadv: 1 ga@lab:~:$ ndp -i bge1 linkmtu=0, maxmtu=1500, curhlim=64, basereachable=30s0ms, reachable=36s, retrans=1s0ms Flags: nud accept_rtadv ga@lab:~:$ ifconfig bge1 bge1: flags=8943 metric 0 mtu 1500 options=9b ether 00:06:5b:f0:7d:21 inet6 fe80::206:5bff:fef0:7d21%bge1 prefixlen 64 scopeid 0x2 inet 10.0.5.10 netmask 0xffffff00 broadcast 10.0.5.255 media: Ethernet autoselect (100baseTX ) status: active lab# tcpdump -n -i bge1 ip6 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on bge1, link-type EN10MB (Ethernet), capture size 96 bytes 17:55:44.027565 IP6 fe80::214:f600:aa2c:3c03 > ff02::1: ICMP6, router advertisement, length 24 18:02:46.283353 IP6 fe80::214:f600:aa2c:d403 > ff02::1: ICMP6, router advertisement, length 24 --- On Tue, 2/10/09, Steve Bertrand wrote: > From: Steve Bertrand > Subject: Re: ipv6 and freebsd > To: ipfreak@yahoo.com > Cc: "freebsd general questions" > Date: Tuesday, February 10, 2009, 10:35 AM > gahn wrote: > > Thanks for the tips. > > > > But i still only see the fe80::..., link-local > address, not the fec0:... something as I expected. > > Provide the output to: > > # sysctl -a net.inet6.ip6.accept_rtadv > # ndp -i fxp0 > # ifconfig fxp0 > > ...and, run a tcpdump on fxp0 capturing only IPv6 packets. > Eventually > you should see the router advertisements: > > # tcpdump -n -i fxp0 ip6 > > If you don't see them, check your router config. What > type of router is > it? Most routers have RAs disabled by default. > > Steve