From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 15:58:58 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 6469A1065672 for ; Thu, 12 Feb 2009 15:58:58 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web52109.mail.re2.yahoo.com (web52109.mail.re2.yahoo.com [206.190.48.112]) by mx1.freebsd.org (Postfix) with SMTP id 1DEF38FC14 for ; Thu, 12 Feb 2009 15:58:57 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: (qmail 61406 invoked by uid 60001); 12 Feb 2009 15:58:57 -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=NnKUOSLyQVoV777Ji+b/LnrOASpu522oytp2169LITIbBPD9Cb35Vn0jvv11e0OJYn02klSdnGw0YjDooFgPpeHpT/b/J4ngC+4LHRVsxueaNZzyNraUNV3UfokD1bZjL8dQZpLwbx32/R+ylZ0oDERWbCD4JujVxqkgELTRrLA=; X-YMail-OSG: _mRqOO4VM1npa8xhSZySKsTQexWT5RdZ1VztwHpdh.6ra.XTyoDax1SuX8E1nOjNiyuf3Yn8pg7l.K2WPlS3mrmkRURBUqSgzs_SnD0UHtQTrwFB08AL6X7cxmBB0t57e9QAsmxiy40NYLldNZeUwMHdR65B1e07o5fxustv6ztmuNMFTMV3hWPWB8ZV1dFi8XrQnK91DIuYEgCdVq4WktfTgcVMXA-- Received: from [209.22.88.90] by web52109.mail.re2.yahoo.com via HTTP; Thu, 12 Feb 2009 07:58:57 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Thu, 12 Feb 2009 07:58:57 -0800 (PST) From: gahn To: Steve Bertrand In-Reply-To: <4994303A.8010206@ibctech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <461864.28779.qm@web52109.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: Thu, 12 Feb 2009 15:58:59 -0000 Thanks Steve: We use fec0::... as global unique IPv6 address in the lab environment. the IPv6 routers in our lab uses fec0:0:5::/64 with eui-64 addressing scheme (for testing). >From the host "lab" (freebsd) machine, it clearly sees two link-local addresses for two IPv6 routers via RA messages. the IP routers also sent But why not the host "lab" configure itself with global unique address with prefix fec0:0:5:0::/64 (provided by the routers)? What shall I do to accomplish this on FreeBSD? --- On Thu, 2/12/09, Steve Bertrand wrote: > From: Steve Bertrand > Subject: Re: ipv6 and freebsd > To: ipfreak@yahoo.com > Cc: "freebsd general questions" > Date: Thursday, February 12, 2009, 6:20 AM > gahn wrote: > > 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 > > fec0::/10 was deprecated per RFC3879. Perhaps the Juniper > unit is > obeying this and just not sending the prefix in the > advertisement? > > Everything else looks good, so lets test that possibility > (as remote as > it is). Take your tcpdump one step further: > > > 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 > > # tcpdump -n -i bge1 -s 0 -w /path/to/file.pcap ip6 > > After a time of that running (there won't be any STDOUT > output), stop > the capture, and open the file in Wireshark. (I've > never figured out > how to get tcpdump to read the data portion of the packets > from a file). > > With the -s0, it will capture the headers and the data of > each packet, > so you should be able to tell whether the RA announcements > do actually > contain the prefix you are trying to get configured. > > Something that I should have asked from the get-go...do you > have any > sort of firewall running on the box? > > I'll set this up in my lab here today. Although we > don't have any > Juniper units, I'll see if I can recreate the problem > with Cisco > hardware. You may also want to test using a non-deprecated > address > space. The documentation address may work for instance. > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"