Hi Brian,

thanks alot for your info.. I can assigned IPv6 address using ppp.conf like you showed 
me. 

However, when ppp was started using ppp -auto, tun0 appears and 
you can see the assigned IPv6 address on tun0. But when the connection 
is established with the peer, tun1 appears and tun1 is where the 
 actual connection established with the link local addresses.

What i want to achieve is to have the connection established at 
tun0 where the global IPv6 was already assigned...

Below is the ifconfig from my machine:


tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet6 fe80::250:4ff:fec1:ba68%tun0 prefixlen 64 scopeid 0x8
        inet 10.0.0.2 --> 10.0.0.1 netmask 0xffffff00
        inet6 2001:200:703:1::1 --> 2001:200:703:1::2 prefixlen 128
        Opened by PID 2025
tun1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
        inet6 fe80::250:4ff:fec1:ba68%tun1 prefixlen 64 scopeid 0x9
        inet 0.0.0.0 --> 192.168.100.2 netmask 0xffffff00
        inet6 fe80::86e4:81d4%tun1 --> fe80::3a48:d102%tun1 prefixlen 128 scopei
d 0x9
        Opened by PID 2007
tun2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
        inet6 fe80::250:4ff:fec1:ba68%tun2 prefixlen 64 scopeid 0xa


any ideas how to prevent the above from occuring???

thanks in advance,

kim chua
--

On Tue, 23 Oct 2001 12:10:59  
 Brian Somers wrote:
>>  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 <[EMAIL PROTECTED]>                <[EMAIL PROTECTED]>
>      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
>Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>
>
>
>


Make a difference, help support the relief efforts in the U.S.
http://clubs.lycos.com/live/events/september11.asp

---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [EMAIL PROTECTED]

Reply via email to