main page search map send letter
   
  History
  Documentation
  Press-room
  Offers
  About Forum
 name
 password
Configuring IPv6 network in Unix
/ Documentation / Practice / Configuring IPv6 in Unix

Statement of a problem


In the beginning of 2005 year group of researchers of the IPv6 from Yaroslavl State University of name P.G. Demidov containing: Egorov Sergey (leaded the group), Mats Andrey, Bogdanov Sergey, Kornilov Konstantin, Merkulov Sergey, Spiridonov Jury and Kozoletov Konstantin got a task in view of construction and check working of IPv6 network consisting from two subnets (in the elementary variant the representative of subnet is one host) and a router operating the traffic between these subnets. For construction of a network Unix-systems have been chosen as they well approach for the decision of similar problems (the questions connected with a network, etc.) and easily give in to adjustment. These systems are delivered with all necessary components for experiments with IPv6. The scheme of a network:

web

The problem would not represent special complexity if it was possible to find an exhaustive and is absolute authentic source of the information on management and adjustment of such network. However, it has not occurred. The information should be taken from different sources and besides to check each detail in practice as there were doubts in reliability. Sometimes at experimental check the inaccuracy of some data was really found out.
So there was a major problem of research which, finally, has been solved, and results of its decision were:
    1 - Efficient IPv6 network,
    2 - The exhaustive report written in Russian on adjustment and management in such network.


Stages of the decision


On the computers router1 and host2 was installed FreeBSD, and computer mipv6-1 had Fedora Core Linux on it.

Then:
  • Logical interfaces was tuned using command ifconfig,
  • Host names was set using command hostname,
  • IPv6 support was turned on (add/modify string ipv6_enable="YES"  in configuration file /etc/rc.conf for FreeBSD and some Linux versions string NETWORKING_IPV6="yes"  in file /etc/sysconfig/network),
  • Automatic configuration of link-local addresses was turned off (using command sysctl  or ifconfig).


As addresses for a network, global IPv6-addresses have been chosen to be able connected to the Internet. Adjustments of addresses it is made by means of already mentioned command ifconfig. It generally is the basic command because it allows operating network interfaces. The scheme of a network with IPv6-addresses:

ipv6

For convenience in a file /etc/hosts we establish conformity between IP-addresses and hostnames.
Key stage - setting up routes on the final units of a network (using command route) and turning on routing functions of router1 (strings ipv6_gateway_enable="YES"  and ipv6_router_enable="YES"  in configuration file /etc/rc.conf).
But there is some difference in FreeBSD and Fedora Core Linux configuring. You should be attentive. There is difference in network configuring of different version of Linux and FreeBSD. There are different Unix-like Operation Systems in example in order of comparing and expansions of subtleties of the configuration and management.

Configuration is done. Now, let's check working of network. This check includes:
  • Reaching of host check (using ping6 command),
  • Trace (traceroute6),
  • Interception of packages (tcpdump),
  • Display of adjustments (ifconfig),
  • Display of routing tables and caches (netstat, route, ndp).


So that, network is working.



The plan of configuring and management and the basic commands for the decision of these problems is above resulted. For comparison it is necessary to tell that the final report consists of 18 sheets of format A4, written by 12-th font, with the detailed description of each detail and a subtlety.
Behind more detailed information (consultation on the given subjects, the help in adjustment IPv6 of a network, the publication of partial results of research) directly address to experts of the IPv6 Forum or ask your questions online.

The rubric's author: Egorov Sergey


AREALIDEA Development