Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2001 12:10:59 +0100
From:      Brian Somers <brian@freebsd-services.com>
To:        chuakk@lycos.com
Cc:        "Brian Somers" <brian@freebsd-services.com>, users@ipv6.org, freebsd-net@freebsd.org, brian@hak.lan.Awfulhak.org
Subject:   Re: IPv6 /PPP using FreeBSD 4.4 
Message-ID:  <200110231110.f9NBAxL46035@hak.lan.Awfulhak.org>
In-Reply-To: Message from "kim chua" <chuakk@lycos.com>  of "Tue, 23 Oct 2001 18:45:48 %2B0800." <MOMEFCOIOLPDAAAA@mailcity.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>  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 <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110231110.f9NBAxL46035>