IPv6 over IPv4 over PPPoE?

Matthew Darwin matthew@davin.ottawa.on.ca
Sun, 21 May 2000 17:22:43 -0400 (EDT)


Has anyone successfully connected to freenet6 when connected to the
internet via PPPoE?  I'm connected to my ISP using Nortel's 1meg modem
technology.

Here's the steps I do on my Linux 2.2.15 box.  I can ping myself, but
nobody else.  I'm sure the MTU sizes are all screwed, but an ICMP packet
should not be affected by that.

------------------------------------------------------------

% ifconfig sit0 up
% ifconfig ppp0 add 3ffe:b00:c18:1fff:0:0:0:c3
% ifconfig sit0 tunnel ::206.123.31.102
% ifconfig sit1 up
% route -A inet6 add default gw fe80::206.123.31.102 dev sit1
default: Resolver Error 0 (no error)           << This is a weird message?


% ifconfig
cipcb2    Link encap:IPIP Tunnel  HWaddr   
          inet addr:192.168.0.1  P-t-P:192.168.0.2  Mask:255.255.255.255
          UP POINTOPOINT NOTRAILERS RUNNING NOARP  MTU:1442  Metric:1
          RX packets:4792 errors:3 dropped:0 overruns:0 frame:3
          TX packets:4885 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          

eth0      Link encap:Ethernet  HWaddr 00:80:C8:67:A5:A1  
          inet6 addr: fe80::280:c8ff:fe67:a5a1/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:212959 errors:0 dropped:0 overruns:0 frame:2
          TX packets:180406 errors:0 dropped:0 overruns:0 carrier:0
          collisions:787 txqueuelen:100 
          Interrupt:7 Base address:0xb800 

eth1      Link encap:Ethernet  HWaddr 00:00:21:66:5D:71  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::200:21ff:fe66:5d71/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:48961 errors:0 dropped:0 overruns:0 frame:18437
          TX packets:33738 errors:3 dropped:0 overruns:0 carrier:6
          collisions:67 txqueuelen:100 
          Interrupt:12 Base address:0xb400 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:56442 errors:0 dropped:0 overruns:0 frame:0
          TX packets:56442 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:209.217.122.211  P-t-P:209.217.122.1  Mask:255.255.255.255
          inet6 addr: 3ffe:b00:c18:1fff::c3/0 Scope:Global
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:212956 errors:0 dropped:0 overruns:0 frame:0
          TX packets:180399 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 

sit0      Link encap:IPv6-in-IPv4  
          inet6 addr: ::127.0.0.1/96 Scope:Unknown
          inet6 addr: ::209.217.122.211/96 Scope:Compat
          inet6 addr: ::192.168.0.1/96 Scope:Compat
          inet6 addr: ::192.168.0.1/96 Scope:Compat
          UP RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

sit1      Link encap:IPv6-in-IPv4  
          inet6 addr: fe80::d1d9:7ad3/10 Scope:Link
          inet6 addr: fe80::c0a8:1/10 Scope:Link
          inet6 addr: fe80::c0a8:1/10 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1380  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

% route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
209.217.122.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.0.2     0.0.0.0         255.255.255.255 UH    0      0        0 cipcb2
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
10.0.0.0        192.168.0.2     255.255.0.0     UG    0      0        0 cipcb2
172.17.0.0      192.168.0.2     255.255.0.0     UG    0      0        0 cipcb2
192.168.0.0     192.168.0.2     255.255.0.0     UG    0      0        0 cipcb2
0.0.0.0         209.217.122.1   0.0.0.0         UG    0      0        0 ppp0

% route -A inet6 -n
Kernel IPv6 routing table
Destination                                 Next Hop                                Flags Metric Ref    Use Iface
::1/128                                     ::                                      U     0      0        0 lo      
::127.0.0.1/128                             ::                                      U     0      0        0 lo      
::192.168.0.1/128                           ::                                      U     0      0        0 lo      
::209.217.122.211/128                       ::                                      U     0      0        0 lo      
::/96                                       ::                                      U     256    0        0 sit0    
3ffe:b00:c18:1fff::c3/128                   ::                                      U     0      0        0 lo      
fe80::c0a8:1/128                            ::                                      U     0      0        0 lo      
fe80::d1d9:7ad3/128                         ::                                      U     0      0        0 lo      
fe80::200:21ff:fe66:5d71/128                ::                                      U     0      0        0 lo      
fe80::280:c8ff:fe67:a5a1/128                ::                                      U     0      0        0 lo      
fe80::/10                                   ::                                      UA    256    0        0 eth0    
fe80::/10                                   ::                                      UA    256    0        0 eth1    
fe80::/10                                   ::                                      UA    256    0        0 ppp0    
fe80::/10                                   ::                                      UA    256    0        0 sit1    
ff00::/8                                    ::                                      UA    256    0        0 eth0    
ff00::/8                                    ::                                      UA    256    0        0 eth1    
ff00::/8                                    ::                                      UA    256    0        0 ppp0    
ff00::/8                                    ::                                      UA    256    0        0 sit1    
::/0                                        ::                                      UA    256    0        0 ppp0    
::/0                                        ::                                      UDA   256    0        0 eth0    
::/0                                        ::                                      UDA   256    0        0 eth1