EoIP configuration

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
ronaldol
DD-WRT User


Joined: 28 Apr 2011
Posts: 60

PostPosted: Wed Jul 10, 2013 14:16    Post subject: EoIP configuration Reply with quote
Hi all,

I'm trying to set EoIP Tunnel with two D-Link DIR-615.

I follow the step-by-step instructions
http://www.dd-wrt.com/wiki/index.php/EoIP_Routing

After setting I can't ping and access the other side neither the stations behind the router.

What I'm doing wrong? I attached all information that could help.

Thanks for any help.

Regards,

Ronaldo Luiz


Last edited by ronaldol on Wed Jul 17, 2013 20:44; edited 3 times in total
Sponsor
dun4cheap
DD-WRT User


Joined: 14 Mar 2012
Posts: 250

PostPosted: Wed Jul 10, 2013 15:54    Post subject: Reply with quote
I have EOIP working with my buffalo routers, I have 3 of them connected. Your link to the wiki is not working but that is the same guide I used.


Once you are configured, reboot the routers and then log on to one and click the status tab, then the lan tab. You will want to look at the active clients list. If they are connected then you should see the unique ip address that you assigned in the eoip configuration page.

Router 1 Setup: Private Local IP - 192.168.1.1

Tunnel 1 - Remote Site#1
EoIP Tunnel - Enable
Remote IP Address - Public IP of remote router 2
Bridging - Disable
IP Address - 192.168.202.3
Subnet Mask - 255.255.255.0

Router 2 Setup: Private Local IP - 192.168.2.1

Tunnel 1
EoIP Tunnel - Enable
Remote IP Address - Public IP of remote router 1
Bridging - Disable
IP Address - 192.168.202.2
Subnet Mask - 255.255.255.0


Now Click on the Advanced Routing TAB and set the routing for each of the tunnels.

Router 1: Advanced Routing Tab:

Select set number
1 ()
Router Name: (Give it a unique name Site1)
Destination LAN NET - 192.168.1.0 <--Note the routers local ip is set to 192.168.1.1, set this to 192.168.1.0 here
Subnet Mask - 255.255.255.0
Gateway - 192.168.202.2 <---This should match the settings on remote router 2 settings in the eoip tab

Click save and then apply. Then click on show routing table.

You should see this on router 1 in the routing table.
192.168.2.0 255.255.255.0 192.168.202.2 UG 0 oet1
192.168.202.0 255.255.255.0 0.0.0.0 U 0 oet1

Router 2: Advanced Routing Tab:

Select set number
1 ()
Router Name: (Give it a unique name Site2)
Destination LAN NET - 192.168.2.0 <--Note the routers local ip is set to 192.168.2.1, set this to 192.168.2.0 here
Subnet Mask - 255.255.255.0
Gateway - 192.168.202.3 <---This should match the settings on remote router 1 settings in the eoip tab

Click save and then apply. Then click on show routing table.

You should see this on router 2 in the routing table.
192.168.1.0 255.255.255.0 192.168.202.3 UG 0 oet1
192.168.202.0 255.255.255.0 0.0.0.0 U 0 oet1


Make sure each router is not using the same private Local IP.

eg. Below is correct:
Router 1: 192.168.1.1
Router 2: 192.168.2.1
Router 3: 192.168.3.1

If you have the routers assigned to the same private IPs it will not work properly.


This setup works for me, I have 3 routers hooked up in a triangle. I can ping each router, log on to each router, and computers.

ping 192.168.1.1 - router 1
ping 192.168.2.1 - router 2
ping 192.168.3.1 - router 3

ping a computer - 192.168.3.100 - computer 1 - router 3
ping a computer - 192.168.1.48 - computer 1 router 1
dun4cheap
DD-WRT User


Joined: 14 Mar 2012
Posts: 250

PostPosted: Wed Jul 10, 2013 16:05    Post subject: Reply with quote
Looking over your configuration doc nothing jumps out at me except the firmware versions. I have tested only the beta firmwares. All of the ones released in 2013 have worked for me.

Check the active lan clients list and see if they are showing up there. This can be found in the status tab,
ronaldol
DD-WRT User


Joined: 28 Apr 2011
Posts: 60

PostPosted: Wed Jul 17, 2013 21:04    Post subject: Reply with quote
I still can't connect my two networks using DD-WRT routers using EoIP Tunnel.

Could someone help me? I update the attached doc file with all information about the networks.

Thanks for any help.
ronaldol
DD-WRT User


Joined: 28 Apr 2011
Posts: 60

PostPosted: Thu Jul 18, 2013 1:27    Post subject: Reply with quote
All information about the EoIP configuration


LAN MATRIZ --------------------------------------------------------------------------------------------------------------------------------------- LAN FILIAL
200.200.200.0/24 ---- 200.200.200.254 |Router| xxx.xxx.xxx.123 <----------> xxx.xxx.xxx.171 |Router| 100.100.100.64 ----- 100.100.100.0/24


Router Name: MATRIZ
Router Model: D-Link DIR-615-C1
Firmware Version: DD-WRT v24-sp2 (04/13/11) std - build 16785
CPU Model: Atheros AR9130 rev 2 (0xb8)
CPU Clock: 400 MHz


Router Name: FILIAL
Router Model: D-Link DIR-615-E3/E4
Firmware Version: DD-WRT v24-sp2 (11/21/10) std - build 15778
CPU Model: Atheros AR7240 rev 1.2 (0x00c2)
CPU Clock: 400 MHz




NETWORK MATRIZ

EoIP
EoIP Tunnel 01: Enable
Remote IP Address: XXX.XXX.XXX.171
Bridging: Disable
IP Address: 192.168.202.1
Subnet Mask: 255.255.255.0

Route
Operating Mode: Gateway
Route Name: Matriz
Metric: 0
Destination LAN: 100.100.100.0
Subnet Mask: 255.255.255.0
Gateway: 192.168.202.2
Interface: ANY

root# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
XXX.XXX.XXX.121 * 255.255.255.255 UH 0 0 0 eth1
100.100.100.0 200.200.200.1 255.255.255.0 UG 1 0 0 br0
100.100.100.0 192.168.202.2 255.255.255.0 UG 0 0 0 oet1
200.200.200.0 * 255.255.255.0 U 0 0 0 br0
XXX.XXX.XXX.0 * 255.255.255.0 U 0 0 0 eth1
192.168.202.0 * 255.255.255.0 U 0 0 0 oet1
169.254.0.0 * 255.255.0.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default ipxxx.xxx.com.br 0.0.0.0 UG 0 0 0 eth1


ifconfig

oet1 Link encap:Ethernet HWaddr 16:BE:9A:CC:39:E5
inet addr:192.168.202.1 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:534 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:3718682952 (3.4 GiB)



NETWORK FILIAL

EoIP
EoIP Tunnel 02: Enable
Remote IP Address: XXX.XXX.XXX.123
Bridging: Disable
IP Address: 192.168.202.2
Subnet Mask: 255.255.255.0

Route
Operating Mode: Gateway
Route Name: FILIAL
Metric: 0
Destination LAN: 200.200.200.0
Subnet Mask: 255.255.255.0
Gateway: 192.168.202.1
Interface: ANY

Route
root# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
XXX.XXX.XXX.169 * 255.255.255.255 UH 0 0 0 eth0
XXX.XXX.XXX.168 * 255.255.255.248 U 0 0 0 eth0
100.100.100.0 * 255.255.255.0 U 0 0 0 br0
200.200.200.0 100.100.100.1 255.255.255.0 UG 1 0 0 eth0
200.200.200.0 192.168.202.1 255.255.255.0 UG 0 0 0 oet1
192.168.202.0 * 255.255.255.0 U 0 0 0 oet1
169.254.0.0 * 255.255.0.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default XXX.XXX.XXX.169 0.0.0.0 UG 0 0 0 eth0

ifconfig

oet1 Link encap:Ethernet HWaddr DE:21:32:CD:4E:B3
inet addr:192.168.202.2 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:534 errors:0 dropped:0 overruns:0 frame:0
TX packets:6924 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14952 (14.6 KiB) TX bytes:1031637776 (983.8 MiB)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum