Introduction:
6to4 I set my router with DD-WRT and IPv6 on my network to offer Wireless / LAN.
Tired of having to manually raise the tunnel?, Is cumbersome to test?, Want to offer your entire network to IPv6 (free!). So this post is for you.
What you need:
- A standard version of dd-wrt or VoIP. These are the only versions that support IPv6 and radvd
- Your ISP must assign a valid IPv4 address (which would be in the WAN AP)
- In my case using a Linksys WRT-54GL but any team with the correct version of DD-WRT worked
Steps:
a. - Go to Administration -> Management -> Enable IPv6 and radvd.b. - Copy the following text in the area of \u200b\u200bradvd. This is used for radvd (similar to a DHCP server) advertises the IPv6 prefix to the LAN network through the interface br0 (LAN AP)
Interface br0 {
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
AdvLinkMTU 1280;
AdvSendAdvert on;
prefix 0:0:0:1:: / 64 {
AdvOnLink on;
AdvAutonomous on;
AdvValidLifetime 86400, 86400 AdvPreferredLifetime
;
Base6to4Interface vlan1;
AdvRouterAddr on;
};
}; c. - It is necessary to place the following script as startup script "Startup Script". To do this: Administration ->; Commands
insmod / lib / modules / `uname-r` / sleep 5
ipv6.o
radvd -C /tmp/radvd.conf start
sleep 5
WANIP=$(ip -4 addr show dev vlan1 is necessary to save "Save startup."
Note:
The previous script was taken from www.dd-wrt.com said to be used in v24 sp1 version, however I am using the v24 version sp2. In fact, the procedure found to sp2 did not work
e. - restart the AP and the interface on your PC
Check:
then review your interface on your computer and you have an IPv6 address that starts with
2002/16
[root @ localhost ~] # ifconfig wlan0 wlan0 Link encap: Ethernet HWaddr 00:1 A: 73:05:29: E3 inet addr: 192,168,127,106 Bcast: 192,168,127,255 Mask: 255.255.255.0
inet6 addr: 2002: be48: e7b1: 1:21 a: 73ff: fe05: 29e3/64
Scope: Global inet6 addr: fe80::21a:73ff:fe05:29e3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3785 errors:0 dropped:0 overruns:0 frame:0 TX packets:3931 errors:0 dropped:0 overruns:0 carrier:0
collisions: 0 txqueuelen: 1000 RX bytes: 3307204 (3.1 MiB) TX bytes: 750331 (732.7 KiB)
y logically ping ipv6.google.com:
[root @ localhost ~] # ping6 ipv6.google.com ipv6.google.com PING (yi-in-x6a.1e100.net ) 56 data bytes 64 bytes from yi-in-x6a.1e100.net: icmp_seq = 1 ttl = 53 time = 198 ms 64 bytes from
yi-in-x6a.1e100.net: icmp_seq = 2 ttl = 53 time = 203 ms 64 bytes from yi-in-x6a.1e100.net: icmp_seq = 3 ttl = 53
time = 199 ms 64 bytes from yi-in-x6a.1e100.net: icmp_seq = 4 ttl = 53 time = 202 ms
More info to test IPv6:
http://acostanetwork.blogspot.com/2009/04/probar-ipv6.html
For more information on 6to4 and DD-WRT:
- http://www.dd-wrt.com/wiki/index.php/IPv6
0 comments:
Post a Comment