⬆️ ⬇️

EOIP between DD-WRT and Keenetic Giga 2 to merge two apartments into one network or one HDD into two apartments

Earlier in the EOIP & DD-WRT article for connecting two apartments into one network or all for Remote Play, I wrote how to combine two dd-wrt into one network. But later the network was expanded to 3 apartments. A link TPlink (on DD-WRT) + dlink dir320 (on Zyxel) with an external HDD (where the embedded client from torrents downloaded at a speed of 1 Mb downloaded) was added to the arsenal. Although everything worked fine but the download speed was not enough. In connection with these, Keenetic Giga 2 was acquired, which allowed downloading up to 1 Gbit / s (the maximum practical throughput of the built-in router for IPoE, measured in the ZyXEL laboratory. )



Background:



Actually, the task is to combine house 1, house 2 and house 3 into one network with walking broadcasts and multicastes. Since house 1 and house 2 are already online, it remains to raise the tunnel house 1 to house 3.

The goal is to watch movies on Smart TVs from an external HDD and use it for storing and transferring files.



In service, we have the following iron:

')

House number 1:

Dlink dir615C2

The House 3:

Keenetic Giga 2



Preparation, solution:



The firmware was updated on the routers:



house 1 - dd-wrt r37012 (09/21/18)

House 3 - Keenetik ver.2.12.C.1.0-6. (eoip opportunity appears only with ver.2.08)



The installation procedure is simple, there is a lot of information on this topic on the Internet.



In order for EOIP to work, it is necessary for both sides to have a “white” IP address, which is either purchased from the provider or comes as a bonus in the tariff. If this is not possible, then you can forward a vpn-tunnel (which I also talked about in one publication ), and put an EoIP on top of it.



In order for users on both sides to see each other in a networked environment, it is necessary that they belong to the same local area network. I used the following settings:



Network: 192.168.100.0/24

Home 1: The router (192.168.100.10) has a pool of 192.168.100.1-192.168.100.50.

House 2: the router (192.168.100.70) has a pool of 192.168.100.51-192.168.100.100

House 3: the router (192.168.100.130) has a pool of 192.168.100.101-192.168.100.150



After we installed the firmware on our hardware and configured it on every DHCP, we connected our clients, and we were convinced of their work, we started to create an EOIP tunnel.



EOIP tunnel lift.



DD-WRT :



To do this, go to the web. router interface, go to the Setup-> EoIP Tunnel tab

Click ADD Tunnel and set the EoIP Tunnel to the Enable position;



Note:



To merge with old versions of dd-wrt (where there is no possibility to select tunnel mode), you must select Protocol Type -> RFC 3378 EOIP

Next you need to select Protocol Type -> Mikrotik

Pay attention to the name of the tunnel and its ID, in my case the name: Tunnel oet2 , Tunnel ID: 2

* Required, tunnel numbers must match on both routers.



We indicate in the column Local IP Address our external IP. In the column Remote IP Address external IP Keenetik.



And in point Bridging daw on Enabl e. This completes the dd-wrt settings and proceeds to Keenetik.







Keenetik:



Connect to Keenetik via Telnet. Next, we enter commands to raise the tunnel (here we need the name and id of the dd-wrt tunnel):



(config)> interface EoIP2 ( Raise the tunnel)

(config-if)> tunnel destination * Our external IP *

(config-if)> tunnel eoip id 2 (tunnel ID)

(config-if)> ip mtu 1500 (this is for the eoip interface)

(config-if)> security-level private

(config-if)> no isolate-private

(config-if)> up

(config-if)> interface Home (enable bridging)

(config-if)> ip mtu 1500 (this is for the Home interface)

(config-if)> include EoIP0

(config-if)> system configuration save



Now the tunnels are up and we just have to check it out and make sure it works.

Without closing the connection with Keenetik, write “ show interface eoip2







If everything was done correctly, opening cmd and entering Ping (local address of Keenetik) we will see how the packets go.



PS That's all, enjoy the network.

Source: https://habr.com/ru/post/424807/



All Articles