Categories

Bluetrait
        Bluetrait
                Bluetrait
                    Coding
                    Geek
                    General
                    Videos
                    Solar
                    Coding
                    Geek
                    General
                    Coding
                        PHP
                        Bluetrait
                        PHP
                        Bluetrait
                        WordPress
                            Plugins
                        PHP
                        Bluetrait (Program)
                    Geek
                        Juniper
                        Cisco
                        IBM N2200 8363
                        PCs
                        Spam
                        IPv6
                        Apple
                        NetScreen
                        Internet
                    General
                        Uni

Tue, 15 Nov 2005 6:54 PM

IPv6 again!

Michael Dale
I've done some basic IPv6 stuff in the past, which only involved a single IPv6 address and a connection to aarnet. I was going to look into setting up a tunnel on my router (a m0n0wall box) so that I had both a IPv4 address and a IPv6 address but it didn't support IPv6 stuff. Anyway I've got my cisco 2651 up and connected to the internet and it has full IPv6 support so I decided to give it a go. Aarnet also give you an option to run a full /64 subnet, so I decided to give it a go. The web interface outputs a shell script that gives you the configuration needed for the router. So I modified by config (with some small changes).
ipv6 unicast-routing ! interface tunnel0 ipv6 address 2001:0388:f000:0000:0000:0000:0000:0247/128 tunnel source dialer1 tunnel destination 202.158.196.131 tunnel mode ipv6ip ! ipv6 route ::/0 tunnel0 ! interface FastEthernet 0/0 ipv6 address 2001:0388:c148:1::/64 eui-64 ipv6 nd prefix-advertisement 2001:0388:c148:1::/64 43200 43200 onlink autoconfig !
The last section (prefix-advertisement) is similar to DHCP, it assigns an IPv6 address to any IPv6 capable computer/OS. So both my Windows 2000 box (with IPv6 kit installed) and Mac OS X system were given a full routed IPv6 address. No dodgy natted connection here, a full routed /64 subnet. :) The speed of the IPv6 is pretty good seeing as it is running through an aarnet tunnel. electra:~ michaeldale$ ping vee-six.telstra.net PING vee-six.telstra.net (203.50.0.254): 56 data bytes 64 bytes from 203.50.0.254: icmp_seq=0 ttl=56 time=21.330 ms 64 bytes from 203.50.0.254: icmp_seq=1 ttl=56 time=19.761 ms 64 bytes from 203.50.0.254: icmp_seq=2 ttl=56 time=21.125 ms 64 bytes from 203.50.0.254: icmp_seq=3 ttl=56 time=19.949 ms ^C --- vee-six.telstra.net ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 19.761/20.541/21.330/0.693 ms electra:~ michaeldale$ ping6 vee-six.telstra.net PING6(56=40+8+8 bytes) 2001:388:c148:1:211:24ff:fe2a:f1b3 --> 2001:360::3 16 bytes from 2001:360::3, icmp_seq=0 hlim=58 time=25.059 ms 16 bytes from 2001:360::3, icmp_seq=1 hlim=58 time=25.874 ms 16 bytes from 2001:360::3, icmp_seq=2 hlim=58 time=23.465 ms 16 bytes from 2001:360::3, icmp_seq=3 hlim=58 time=24.281 ms ^C --- vee-six.telstra.net ping6 statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 23.465/24.670/25.874 ms electra:~ michaeldale$ traceroute6 vee-six.telstra.net traceroute6 to vee-six.telstra.net (2001:360::3) from 2001:388:c148:1:211:24ff:fe2a:f1b3, 30 hops max, 12 byte packets 1 2001:388:c148:1:207:eff:fe80:5cc0 2.565 ms 1.756 ms 1.422 ms 2 2001:388:f000::246 25.438 ms 17.068 ms 19.847 ms 3 gigether0-2-0.bb1.a.syd.aarnet.net.au 37.864 ms 27.464 ms 22.706 ms 4 gigabitethernet3-0.bb3.a.syd.aarnet.net.au 28.522 ms 19.571 ms 17.456 ms 5 eth0.ipv6.broadway.aarnet.net.au 25.852 ms 16.863 ms 19.326 ms 6 2001:388:200:4::2 25.896 ms 23.23 ms 25.435 ms 7 2001:388:200:4::2 26.875 ms !P 23.721 ms !P 27.306 ms !P And a trace to my mac (the second last hop is my cisco router) from here traceroute6 to 2001:388:c148:1:211:24ff:fe2a:f1b3 (2001:388:c148:1:211:24ff:fe2a:f1b3) from 2001:1888:0:1:290:27ff:fe9a:4b0b, 64 hops max, 12 byte packets 1 puaiohi-fe1-0-1 1.761 ms 1.923 ms 1.961 ms 2 akepa-e0-0-7 2.737 ms 2.865 ms 2.922 ms 3 tunnel-henet-ca-us 62.519 ms 62.382 ms 62.737 ms 4 3ffe:81d0:ffff:1::1 61.172 ms 61.049 ms 61.039 ms 5 3ffe:80a::b1 63.145 ms 61.613 ms 63.022 ms 6 10gigether0-0-0.bb1.a.syd.aarnet.net.au 237.385 ms 227.818 ms 254.435 ms 7 broker1.a.syd.aarnet.net.au 222.550 ms 222.128 ms 223.146 ms 8 2001:388:f000::247 240.004 ms 238.553 ms 240.206 ms 9 2001:388:c148:1:211:24ff:fe2a:f1b3 241.638 ms 240.077 ms 239.622 m