Recently, due to the local network upgrade to 100M after the original Cisco E2000 routing is a little overwhelmed with the idea of replacement.
E2000 hardware parameters are actually good, but after brushing the tomato even if the port is a gigabit display, can not reach the rate of Nat after 100M, slightly dissatisfied.
Because the entire wireless solution used the UBNT Unifi AP and the soft AC solution during last year's renovation, the overall effect was gratifying, followed by a notice of their routing switching Equipment Edgemax series, which happens to be the kind of hardware that is powerful, NAT is extremely efficient, And the software may be relatively difficult to use but a large degree of freedom of things, very good, right now a famous website search orders, quickly started the small monster: Edgerouter Lite 3.
Because the ubnt of things will also be with the Web Interface, so the basic configuration can be done with the web, and will be able to surf the internet immediately,
The efficiency of this NAT is really high:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/94/wKiom1WhIdvgo9QlAAMq0qIo3gA699.jpg "title=" Speed.jpg "alt=" Wkiom1whidvgo9qlaamq0qio3ga699.jpg "/>
However, with the decommissioning of tomato routing, it is tomato that has been working silently IPv6 tunnel.
As long as Google and Gmail on the line, He.net offers a free IPv6 ladder to solve the 90% of the wall, and tomato mod version of the IPV6 tunnel configuration +ddns Automatic IP update is a perfect solution to the IP address dynamic update problem, So the question is, is it possible to use the IPV6 tunnel after replacing the equipment?
This is essential:
He.net in the Tunnel Configuration page actually provides the main mainstream can see almost all the router system Configuration Code automatic generation tool:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/91/wKioL1WhIgGTbfZIAALFdoBDUNI799.jpg "title=" he.net Code tool "alt=" Wkiol1whiggtbfziaalfdobduni799.jpg "/>
This great convenience for me this code waste wood:
So in the tunnel building can be said to be smooth sailing, quickly on the route built a new v6onv4 he tunnel:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6F/91/wKioL1WhJAaCr_ujAAK9yX0xzjI938.jpg "title=" Setting.jpg "alt=" Wkiol1whjaacr_ujaak9yx0xzji938.jpg "/>
Directly in the CLI interface Ctrl V on the line, various easy!
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6F/94/wKiom1WhIPjRv9aTAAJyyXnMICk053.jpg "title=" Tunnel.jpg "alt=" Wkiom1whipjrv9ataajyyxnmick053.jpg "/>
But because, we are dial-up Internet ah, we do not have fixed IP public network ah, our broken network once IP is changed ah, this tunnel IP is not updated then useless AH.
So, after each dial to automatically update the IP is necessary, although their own manual update is not a problem, but after all the trouble, and Erl is also based on Linux development system, theoretically a variety of scripts can support, the Automatic Update script is also logical.
First, he.net declared the URL of its automatic Update IP in https://forums.he.net/index.php?topic=1994.0:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6F/91/wKioL1WhJarhGp8oAAS-82Cpiko079.jpg "title=" Url.jpg "alt=" Wkiol1whjarhgp8oaas-82cpiko079.jpg "/>
Then we do a simple autorun script, let the system after dial-up to go to the landing page to update our PPPoE port IP address:
#!/bin/shiface= "$" if [[$IFACE =~ ^pppoe0]];then/usr/bin/curl--silent "https://ipv4.tunnelbroker.net/nic/update ? Username=${he_user}&password=${he_pw}&hostname=${he_tunnelid} ">/dev/null 2>&1; fi# EOF one needs to fill in the login username and password on the he.net, and the tunnel number requested, the first line on the first page of the tunnel details on the Tunnelbroker page.
Directly onto the edge Routeos.
Within the/ETC/PPP/IP-UP.D directory, the script in this directory will be called after PPPoE is established, so that our IP address will be updated automatically after dialing.
After the script is saved, remember chmod +x empowering
And then Google can walk up.
In a recent upgrade, it was discovered that you can use custom mode in the DDNS service.
This means that in theory we can already use the DDNS service provided by he.net to update the IP directly on the new system, but it will be more convenient if it is not tested yet.
In general, the Edge Route system is based on Debian, the openness and scalability are not low, but relatively small domestic audience, so the document record communication is relatively small, the contents of this article if there is a mistake welcome to correct thank you.
This article is from the "Smallfount" blog, make sure to keep this source http://smallfount.blog.51cto.com/2974706/1673301
IPV6 Tunnel on Edgerouter Lite