From owner-freebsd-net Tue Oct 23 4:11: 1 2001 Delivered-To: freebsd-net@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 1858C37B405 for ; Tue, 23 Oct 2001 04:10:57 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [fec0::1:12]) by Awfulhak.org (8.11.6/8.11.6) with ESMTP id f9NBArT36772; Tue, 23 Oct 2001 12:10:53 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.6/8.11.6) with ESMTP id f9NBAxL46035; Tue, 23 Oct 2001 12:10:59 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200110231110.f9NBAxL46035@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: chuakk@lycos.com Cc: "Brian Somers" , users@ipv6.org, freebsd-net@freebsd.org, brian@hak.lan.Awfulhak.org Subject: Re: IPv6 /PPP using FreeBSD 4.4 In-Reply-To: Message from "kim chua" of "Tue, 23 Oct 2001 18:45:48 +0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Oct 2001 12:10:59 +0100 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Hi Brian, > > thanks for your help..i got the Ipv6 ppp working now with the latest version of ppp from your site > > But i encountered another problem, on freebsd 4.4-stable, you cannot > use ifconfig to point to a destination address like below > > ifconfig tun0 inet6 3ffe:1800:100:1::1 prefixlen 48 3ffe:1800:100:1::2 prefixlen 48 > > do you know why? Bearing in mind that when assigning a destination address, you must use a prefixlens of 128, you need to do this in ppp: iface add 3ffe:1800:100:1::1 3ffe:1800:100:1::2 add 3ffe:1800:100:1::2/48 3ffe:1800:100:1::1 > Another question... > > is there anyway of controlling ipv6 address and routes in ppp.conf when using auto mode demand dialing...?? > > thanks, Sure - with ``iface add'' to assign interface addresses and ``add'' to add routes - that's what I was hinting at in my original mail. > Kim chua > > > > > > > -- > > On Thu, 18 Oct 2001 10:29:28 > Brian Somers wrote: > >Try using the -current version of ppp. It supports IPv6 natively. > > > >You need to use ``iface add'' to assign non-link-level addresses. > >For example, I've got this in my laptop's config: > > > > iface add 2001:6f8:602:1::12 # global > > iface add fec0::1:12 fec0::1:1 # site-local > > > >> Hi, > >> > >> I've been testing IPv6 over IPv4 over User-PPP over ISDN on Freebsd 4.3-stable. > >> > >> I've managed to establish the PPP/ISDN connection between a machine acting as a server and the other as a client (using Xyzel TA). Both the machine can ping to one another. > >> > >> But the problem arises when I try to establish a tunnel(ipv6 o ipv4) using gif via the PPP/ISDN connection which uses tun interface. > >> > >> Here's what I did: > >> > >> Assuming the server has 10.0.0.1 and client has 10.0.0.2 address on their tun interfaces. > >> > >> ##server side## > >> > >> ifconfig gif0 up > >> ifconfig gif0 IPv6src-add IPv6dst-add > >> gifconfig gif0 10.0.0.1 10.0.0.2 > >> > >> ##client side## > >> > >> ifconfig gif0 up > >> ifconfig gif0 Ipv6src-add IPv6dst-add > >> gifconfig gif0 10.0.0.2 10.0.0.1 > >> > >> At this stage, I should be able to ping6 -I gif0 ff02::1 to verify that the gif tunnel is establish. However, it didn't on tun interface. > >> > >> As far as I know, it worked when i tried tunnelling on physical interfaces like xl0 or xl1 with valid IPv4 addresses. > >> > >> > >> Anyone got any ideas? > >> > >> btw, anyone knows about or tried PPPv6 ?? > >> > >> > >> thanks in advance, > >> > >> Kim Chua > >> Multimedia Super Corridor (MSC) > >> Cyberjaya > >> Malaysia -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message