EOIP between DD-WRT and Keenetic Giga 2 for combining 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 unite house 1, house 2 and house 3 into one network with walking broadcasts and multicasts. Since house 1 and house 2 are already on the network, 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 to store and transfer files.

    We have the following hardware:

    House 1:
    Dlink dir615C2
    House 3:
    Keenetic Giga 2

    Preparation, solution:

    The following firmware was updated on routers:

    house 1 - dd-wrt r37012 (09/21/18)
    house 3 - Keenetik ver.2.12.C .1.0-6. (the eoip opportunity appears only from ver.2.08)

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

    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 (about which I also told in one publication ), and put 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.
    Home 2: The router (192.168.100.70) has a pool of 192.168.100.51-192.168.100.100.
    Home 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, connected the clients, and were convinced of their work, we proceed to the creation of the 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 must 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, enter the 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 and make sure it works .
    Without closing the connection with Keenetik, we write “ show interface eoip2 ”.



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

    PS That's all, enjoy the network.

    Also popular now: