Showing posts with label How to make Linux Fedora Core 14 work as IPV6 Router. Show all posts
Showing posts with label How to make Linux Fedora Core 14 work as IPV6 Router. Show all posts

Monday, 29 October 2012

How to make Linux Fedora Core 14 work as IPV6 Router

We have in IPv6 Stateless Address Auto-configuration, it is defined in RFC 4862.

1) We need radvd for it to work

 # yum install radvd

2) Make changes in radvd.conf

# vim /etc/radvd.conf


interface eth1
{
AdvSendAdvert on;
MinRtrAdvInterval 30;
MaxRtrAdvInterval 100;
prefix 2001:db8:1:0::/64
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};

};

3) Enable IPv6 forwarding,

 we need to set following in /etc/sysctl.conf

    net.ipv6.conf.all.forwarding=1


4)   Reboot the PC


5) service radvd start


6) Now the service should start fine

How to test :

Connect Windows 7 PC-> make it tcp/ipv6 DHCP client , connect to Linux Server ( above configured PC)

The two should communicate using IPv6, the Linux Server should assign IPv6 address to windows 7 client.

ping6 -I eth1 ipv6-address-of-windows

should work fine.



Keep Learning !! Keap sharing !!!