[ale] IPV6, Freenet6.net, and routing

Scott Nolde smnoldelinux at mediaone.net
Sun Mar 18 14:59:50 EST 2001


I've got IPv6 compiled in and a tunnel established to the 6bone from my
firewall.  I can ping6 a couple of IPv6 enable sites:
[root at gw /root]# ping6 -i 5 www.normos.org
PING www.normos.org(www.normos.org) 56 data bytes
64 bytes from www.normos.org: icmp_seq=0 hops=64 time=59.334 msec
64 bytes from www.normos.org: icmp_seq=1 hops=64 time=57.760 msec
64 bytes from www.normos.org: icmp_seq=2 hops=64 time=59.607 msec
64 bytes from www.normos.org: icmp_seq=3 hops=64 time=58.856 msec

I've also enabled IPv6 on my linux client machine (what I'm writing this
on) and it's figured out it's ipv6 address and created a P-t-P link on
sit1 to 206.123.31.102 (6bone router).

My big question is how do I route IPv6 requests from my client through
the firewall to the 6bone?  

Here's some interface info from the firewall:
[root at gw rc.d]# ip link list
1: lo: <LOOPBACK,UP> mtu 3856 qdisc noqueue 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:a0:cc:27:59:32 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 52:54:00:da:b9:84 brd ff:ff:ff:ff:ff:ff
4: tunl0 at NONE: <NOARP> mtu 1480 qdisc noop 
    link/ipip 0.0.0.0 brd 0.0.0.0
5: gre0 at NONE: <NOARP> mtu 1476 qdisc noop 
    link/gre 0.0.0.0 brd 0.0.0.0
6: sit0 at NONE: <NOARP,UP> mtu 1480 qdisc noqueue 
    link/sit 0.0.0.0 brd 0.0.0.0
7: sit1 at NONE: <POINTOPOINT,NOARP,UP> mtu 1480 qdisc noqueue 
    link/sit 0.0.0.0 peer 206.123.31.102
[root at gw rc.d]# ip route ls
192.168.10.0/24 dev eth1  proto kernel  scope link  src 192.168.10.1 
24.163.52.0/22 dev eth0  proto kernel  scope link  src 24.163.52.118 
127.0.0.0/8 dev lo  scope link 
default via 24.163.52.1 dev eth0 
[root at gw rc.d]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:A0:CC:27:59:32  
          inet addr:24.163.52.118  Bcast:24.163.55.255 
Mask:255.255.252.0
          inet6 addr: 3ffe:b00:c18:1fff::5f5/80 Scope:Global
          inet6 addr: fe80::a0:cc27:5932/10 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:46197 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36211 errors:0 dropped:0 overruns:0 carrier:0
          collisions:4 txqueuelen:100 
          Interrupt:9 Base address:0x280 

eth1      Link encap:Ethernet  HWaddr 52:54:00:DA:B9:84  
          inet addr:192.168.10.1  Bcast:192.168.10.255 
Mask:255.255.255.0
          inet6 addr: fe80::5254:da:b984/10 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60413 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59937 errors:0 dropped:0 overruns:0 carrier:0
          collisions:322 txqueuelen:100 
          Interrupt:10 Base address:0xf800 

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

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

sit1      Link encap:IPv6-in-IPv4  
          inet6 addr: fe80::c0a8:a01/10 Scope:Link
          inet6 addr: fe80::18a3:3476/10 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
          RX packets:689 errors:0 dropped:0 overruns:0 frame:0
          TX packets:689 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

And info from my client linux box:
eth0      Link encap:Ethernet  HWaddr 00:A0:CC:27:59:32  
          inet addr:192.168.10.6  Bcast:192.168.10.255 
Mask:255.255.255.0
          inet6 addr: fe80::a0:cc27:5932/10 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:19857 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15130 errors:2 dropped:0 overruns:0 carrier:2
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0xd000 

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:16144  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 

Thanks,
Scott
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list