Indian Institute of Technology Kanpur  
   
     
 
 

This document describes how users can use IPv6 Proxy Server. IPv6 Proxy Server (proxy.ipv6.iitk.ac.in) provides authentication free unrestricted Internet access to users. For using IPv6 Proxy Server, users will have to enable IPv6 on their machines because IPv6 Proxy Server serves requests from IPv6 clients only. Users need not configure IPv6 address or any related network configuration. An IPv6 enabled machine will automatically pick IPv6 address and related configurations from the CC Backbone router.
 

This service is presently available to all the users except the Residential users using ADSL.

The advantages of using IPv6 Proxy services are:


Unrestricted Access:

Users will get authentication free unrestricted access to all the Internet sites and content.

Mobility:

Users can move their machines/laptops anywhere in the Institute and they will get seamless Internet access without having to reconfigure the network settings of their machine.

Section 2 describes how Linux users can enable IPv6 on their machines.

Section 3 describes how Windows users can enable IPv6 on their machines. Finally section 4 describes how users can configure their browsers to access IPv6 Proxy server and enjoy unrestricted Internet access.

IPv6 Host Configuration

 

   Supporting in LINUX

    Supporting in WINDOWS

    Configure IPv6 Proxy

  

  

 

  

 

 

 

 

 

 

 

Supporting IPv6 in the Linux

 

IPv6 support can be enabled as a built-in kernel feature or as a loadable module. The support for IPv6 is default in the latest release of Fedora Core 1 and Core 2. For earlier versions, a module has to be loaded to support IPv6.

If you are using Fedora, then you will have to add/modify the line

NETWORKING_IPV6=yes

in /etc/sysconfig/network file and restart network service.

We recommend users to use Fedora Core 1or Core 2 Linux OS to access IPv6 Proxy Server. However if you want to use  earlier versions of Linux, then follow the following steps.
 

Check for IPv6 support in the current running kernel

To check, whether your current running kernel supports IPv6, take a look into your /proc−file−system. 

Following entry must exists:

/proc/net/if_inet6 

A short automatic test looks like: 

# [root@ns root]# test -f /proc/net/if_inet6 && echo "Running kernel is IPv6 ready"

Running kernel is IPv6 ready

If this fails, it is quite likely, that the IPv6 module is not loaded.

 

Loading IPv6 module

You can try to load the IPv6 module by executing

[root@ns root]# modprobe ipv6

If this is successful, this module should be listed, testable with following command:

[root@ns root]# lsmod |grep -w 'ipv6' & echo "IPv6 Module loaded Succesfully"

[1] 32236

IPv6 Module loaded successfully

Note: unloading the module is currently not supported and can result, under some circumstances, in a kernel crash

 

Automatically loading IPv6 module

Its possible to automatically load the IPv6 module on demand. You only have to add following line in the configuration file of the kernel module loader (normally /etc/modules.conf or /etc/conf.modules):

alias net−pf−10 ipv6 # automatically load IPv6 module on demand

It's also possible to disable automatically loading of the IPv6 module using following line

alias net−pf−10 off # disable automatically load of IPv6 module on demand

 

Testing your Configuration

After enabling IPv6 support, now you can verify the network interfaces on your Linux machine by typing ifconfig at the command prompt.

[root@ns root]# ifconfig

eth1      Link encap:Ethernet  HWaddr 00:08:C7:CF:9D:0A 

          inet addr:202.141.40.26  Bcast:202.141.40.63  Mask:255.255.255.192

          inet6 addr: 2001:e30:1400:1:208:c7ff:fecf:9d0a/64 Scope:Global

          inet6 addr: fe80::208:c7ff:fecf:9d0a/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:933227 errors:6 dropped:0 overruns:0 frame:6

          TX packets:771601 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:100

          RX bytes:102613930 (97.8 Mb)  TX bytes:213553354 (203.6 Mb)

          Interrupt:21 Base address:0x4000

 

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:16436  Metric:1

          RX packets:10671 errors:0 dropped:0 overruns:0 frame:0

          TX packets:10671 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:1163707 (1.1 Mb)  TX bytes:1163707 (1.1 Mb)

 

Note: The Global IPv6 address (2001:e30:1400:1:208:c7ff:fecf:9d0a/64 in the above example) is only configured if your host is connected to the network.

You can also test by pinging your IPv6 loopback address and your link local address, or some global address of your router interface.

[root@ns root]# ping6 ::1

PING ::1(::1) 56 data bytes

64 bytes from ::1: icmp_seq=1 ttl=64 time=0.084 ms

64 bytes from ::1: icmp_seq=2 ttl=64 time=0.032 ms

64 bytes from ::1: icmp_seq=3 ttl=64 time=0.032 ms

64 bytes from ::1: icmp_seq=4 ttl=64 time=0.030 ms

64 bytes from ::1: icmp_seq=5 ttl=64 time=0.044 ms

64 bytes from ::1: icmp_seq=6 ttl=64 time=0.040 ms

--- ::1 ping statistics ---

6 packets transmitted, 6 received, 0% packet loss, time 4998ms

rtt min/avg/max/mdev = 0.030/0.043/0.084/0.020 ms

 

[root@ns root]# ping6 2001:0e30:1400:1::5

PING 2001:0e30:1400:1::5(2001:e30:1400:1::5) 56 data bytes

64 bytes from 2001:e30:1400:1::5: icmp_seq=1 ttl=64 time=1.08 ms

64 bytes from 2001:e30:1400:1::5: icmp_seq=2 ttl=64 time=0.418 ms

64 bytes from 2001:e30:1400:1::5: icmp_seq=3 ttl=64 time=0.331 ms

64 bytes from 2001:e30:1400:1::5: icmp_seq=4 ttl=64 time=0.343 ms

64 bytes from 2001:e30:1400:1::5: icmp_seq=5 ttl=64 time=0.379 ms

 

--- 2001:0e30:1400:1::5 ping statistics ---

5 packets transmitted, 5 received, 0% packet loss, time 4002ms

rtt min/avg/max/mdev = 0.331/0.510/1.083/0.289 ms

If you try to ssh over IPv6, you'll see something like this:

[root@ns root]# ssh -6 2001:e30:1400:1:210:b5ff:feaa:88d7

root@2001:e30:1400:1:210:b5ff:feaa:88d7's password:

Last login: Wed Sep  1 15:32:02 2004 from 2001:e30:1400:1:208:c7ff:fecf:9d0a

 

 

         Top          

Supporting IPv6 in Windows
 

IPv6 is best supported on Windows XP. To install the IPv6 Protocol for Windows XP:

     1.   Log on to the computer running Windows XP as Administrator.

     2.   Open a command prompt.

     3.   At the command prompt, type ipv6 install.

          c:\ > ipv6 install

You can check your network configuration using the command ipconfig on Command Prompt and see if your machine has got an IPv6 address:

          c:\ > ipconfig

 

  Top

Configuring IPv6 Proxy
 

 

IPv6 proxy is supported by Mozilla for Linux and Mozilla & Mozilla Firefox for Windows.

Download and install the browser suitable for your machine and configure the following in the proxy server settings:

Proxy Server: proxy.ipv6.iitk.ac.in

Port: 80