Community discussions

MikroTik App
 
Jahir
just joined
Topic Author
Posts: 16
Joined: Mon Dec 18, 2017 9:26 am
Location: Dhaka, Bangladesh

EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 9:34 am

If i doing EOIP tunneling over 3 router. Then Router 1 can be communicated with router 2 and router 3. Router 2 and Router 3 can be communicated with rotuer 1. But Router 2 and Router 3 can not communicate with each other.

How can i solve it please help...
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 11:59 am

Paste export here of all 3 routers. If you want to ping LAN of each router, you need select a source IP. Also paste the scheme. They are connected in a triangle with rstp or like a cascade?
 
Jahir
just joined
Topic Author
Posts: 16
Joined: Mon Dec 18, 2017 9:26 am
Location: Dhaka, Bangladesh

Re: EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 12:13 pm

Router 1 Script:
-----------------------------------
# dec/18/2017 10:08:35 by RouterOS 6.40.5
# software id = B2IK-YNHI
#
# model = 450G
# serial number = 33B60421B223
/interface bridge
add fast-forward=no name=bridge1
/interface ethernet
set [ find default-name=ether1 ] comment=Wan name=ether1-Link3
set [ find default-name=ether3 ] name="ether3-Paradise ISP"
set [ find default-name=ether4 ] disabled=yes
set [ find default-name=ether5 ] comment=Lan
/interface gre
add allow-fast-path=no disabled=yes !keepalive local-address=10.64.2.58 name=\
gre-tunnel1 remote-address=10.50.3.66
/interface eoip
add !keepalive local-address=103.204.128.181 mac-address=02:8F:B6:97:98:43 \
name="eoip-tunnel1 to uttara" remote-address=103.57.120.116 tunnel-id=137
add !keepalive local-address=103.204.128.181 mac-address=02:EE:34:1A:2B:7E \
name="eoip-tunnel2 to kamarpara" remote-address=103.57.120.117 tunnel-id=\
138
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=Gulshan
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=aes-128-cbc
/ip pool
add name=dhcp_pool3 ranges=192.168.3.180-192.168.3.254
add name=cb_pool ranges=192.168.5.2-192.168.5.254
/ip dhcp-server
add address-pool=dhcp_pool3 authoritative=after-2sec-delay disabled=no \
interface=bridge1 lease-time=3d10m name=server1
add address-pool=cb_pool authoritative=after-2sec-delay disabled=no \
interface=ether4 lease-time=3d10m name=server2
/queue simple
add max-limit=10M/10M name=DRG priority=1/1 target=192.168.3.0/24
add max-limit=10M/10M name="Arif Sir" packet-marks="" parent=DRG target=\
192.168.3.187/32
add limit-at=1M/1M max-limit=1M/1M name="GRG POS_2" parent=DRG priority=1/1 \
target=192.168.3.12/32
add limit-at=64k/64k max-limit=64k/64k name=192.168.3.13 parent=DRG priority=\
1/1 target=192.168.3.13/32
add limit-at=1M/1M max-limit=5M/5M name=Noruzzaman parent=DRG priority=1/1 \
target=192.168.3.15/32
add limit-at=5M/5M max-limit=5M/5M name="DRG POS_1" parent=DRG priority=1/1 \
target=192.168.3.25/32
add limit-at=2M/2M max-limit=3M/3M name=Rasel parent=DRG priority=1/1 target=\
192.168.3.26/32
add max-limit=64k/64k name=192.168.3.30 parent=DRG target=192.168.3.30/32
add max-limit=64k/64k name=192.168.3.31 parent=DRG priority=1/1 target=\
192.168.3.31/32
add limit-at=10M/10M max-limit=10M/10M name=DVR parent=DRG priority=1/1 \
target=192.168.3.50/32
add max-limit=1M/1M name="DVR Back Offices" parent=DRG priority=1/1 target=\
192.168.3.52/32
add limit-at=1M/1M max-limit=1M/1M name="Rony Mobile " parent=DRG priority=\
1/1 target=192.168.3.234/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.235 parent=DRG priority=1/1 \
target=192.168.3.235/32
add limit-at=10M/10M max-limit=10M/10M name="Mustafapple watch" parent=DRG \
priority=1/1 target=192.168.3.245/32
add max-limit=4k/4k name=Sumon parent=DRG priority=1/1 target=\
192.168.3.236/32
add limit-at=1M/1M max-limit=1M/1M name="Ashik Sir" parent=DRG priority=1/1 \
target=192.168.3.239/32
add limit-at=1M/1M max-limit=1M/1M name=192.168.3.240 parent=DRG priority=1/1 \
target=192.168.3.240/32
add max-limit=4k/4k name=192.168.3.238 parent=DRG priority=1/1 target=\
192.168.3.238/32
add limit-at=10M/10M max-limit=10M/10M name="Jewel Sir" parent=DRG priority=\
1/1 target=192.168.3.241/32
add max-limit=64k/64k name=192.168.3.243 parent=DRG priority=1/1 target=\
192.168.3.243/32
add max-limit=10M/10M name=192.168.3.244 parent=DRG priority=1/1 target=\
192.168.3.244/32
add limit-at=64k/64k max-limit=64k/64k name=192.168.3.245 parent=DRG target=\
192.168.3.245/32
add max-limit=64k/64k name=192.168.3.227 parent=DRG priority=1/1 target=\
192.168.3.227/32
add limit-at=128k/128k max-limit=128k/128k name=Rony parent=DRG priority=1/1 \
target=192.168.3.60/32
add max-limit=256k/384k name=192.168.3.231 parent=DRG priority=1/1 target=\
192.168.3.231/32
add max-limit=64k/64k name=192.168.3.224 parent=DRG priority=1/1 target=\
192.168.3.224/32
add max-limit=256k/384k name=192.168.3.229 parent=DRG priority=1/1 target=\
192.168.3.229/32
add limit-at=8k/8k max-limit=8k/8k name="Asif " packet-marks="" parent=DRG \
priority=1/1 target=192.168.3.244/32
add max-limit=4M/4M name=192.168.3.254 parent=DRG priority=1/1 target=\
192.168.3.254/32
add max-limit=4k/4k name=192.168.3.200 parent=DRG priority=1/1 target=\
192.168.3.200/32
add limit-at=1M/1M max-limit=1M/1M name="Rony Laptop" parent=DRG priority=1/1 \
target=192.168.3.215/32
add max-limit=10M/10M name="Saad Sir Laptop" parent=DRG priority=1/1 target=\
192.168.3.185/32
add max-limit=2M/2M name="CB Finger Divies" parent=DRG priority=1/1 target=\
192.168.3.62/32
add max-limit=10M/10M name="chairman sir 1" parent=DRG priority=1/1 target=\
192.168.3.197/32
add limit-at=8k/8k max-limit=8k/8k name=192.168.3.217 parent=DRG priority=1/1 \
target=192.168.3.217/32
add max-limit=10M/10M name="Saad Sir Mobail" parent=DRG priority=1/1 target=\
192.168.3.186/32
add limit-at=8k/8k max-limit=8k/8k name=192.168.3.221 parent=DRG priority=1/1 \
target=192.168.3.221/32
add limit-at=8k/8k max-limit=8k/8k name=192.168.3.222 parent=DRG priority=1/1 \
target=192.168.3.222/32
add limit-at=1M/1M max-limit=1M/1M name=192.168.3.208 parent=DRG priority=1/1 \
target=192.168.3.208/32
add limit-at=5M/5M max-limit=5M/5M name="Ashik Sir Mobaile" parent=DRG \
priority=1/1 target=192.168.3.183/32
add limit-at=8k/8k max-limit=8k/8k name=192.168.3.194 parent=DRG priority=1/1 \
target=192.168.3.194/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.180 parent=DRG priority=1/1 \
target=192.168.3.180/32
add limit-at=256k/256k max-limit=256k/256k name="Afzal Vai" parent=DRG \
priority=1/1 target=192.168.3.253/32
add max-limit=64k/64k name=192.168.3.209 parent=DRG priority=1/1 target=\
192.168.3.209/32
add limit-at=8k/8k max-limit=8k/8k name=192.168.3.211 parent=DRG priority=1/1 \
target=192.168.3.211/32
add limit-at=10M/10M max-limit=10M/10M name="Hasib Sir" packet-marks="" \
parent=DRG priority=1/1 target=192.168.3.182/32
add max-limit=64k/64k name=Azizul packet-marks="" parent=DRG priority=1/1 \
target=192.168.3.181/32
add limit-at=512k/512k max-limit=512k/512k name="Racel Mobaile" parent=DRG \
priority=1/1 target=192.168.3.216/32
add limit-at=10M/10M max-limit=10M/10M name="Sir 1" parent=DRG priority=1/1 \
target=192.168.3.188/32
add max-limit=10M/10M name="Arif sir" parent=DRG priority=1/1 target=\
192.168.3.189/32
add max-limit=10M/10M name="Arif sir mobail" parent=DRG priority=1/1 target=\
192.168.3.192/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.195 parent=DRG priority=1/1 \
target=192.168.3.195/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.232 parent=DRG priority=1/1 \
target=192.168.3.232/32
add max-limit=4k/4k name="Ronys ipad" parent=DRG priority=1/1 target=\
192.168.3.193/32
add max-limit=8k/8k name=Zebu parent=DRG priority=1/1 target=192.168.3.231/32
add max-limit=10M/10M name="Saadia Medum" parent=DRG priority=1/1 target=\
192.168.3.218/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.234 parent=DRG priority=1/1 \
target=192.168.3.234/32
add max-limit=256k/256k name="Accounts Mobile" parent=DRG priority=1/1 \
target=192.168.3.191/32
add limit-at=1M/1M max-limit=1M/1M name="DRG SERVER NEW" parent=DRG priority=\
1/1 target=192.168.3.203/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.201 parent=DRG priority=1/1 \
target=192.168.3.201/32
add max-limit=384k/384k name="Shop Mobile" parent=DRG priority=1/1 target=\
192.168.3.246/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.230 parent=DRG priority=1/1 \
target=192.168.3.230/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.225 parent=DRG priority=1/1 \
target=192.168.3.225/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.226 parent=DRG priority=1/1 \
target=192.168.3.226/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.228 parent=DRG priority=1/1 \
target=192.168.3.228/32
add limit-at=256k/256k max-limit=256k/256k name="CTH Bull Pos" parent=DRG \
priority=1/1 target=192.168.3.237/32
add limit-at=4k/4k max-limit=4k/4k name=Cafe parent=DRG priority=1/1 target=\
192.168.3.205/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.206 parent=DRG priority=1/1 \
target=192.168.3.206/32
add limit-at=64k/64k max-limit=64k/64k name=192.168.3.248 parent=DRG \
priority=1/1 target=192.168.3.248/32
add limit-at=256k/256k max-limit=256k/256k name=192.168.3.249 parent=DRG \
priority=1/1 target=192.168.3.249/32
add limit-at=10M/10M max-limit=10M/10M name="SHABUJ DRG" parent=DRG priority=\
1/1 target=192.168.3.250/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.247 parent=DRG priority=1/1 \
target=192.168.3.247/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.223 parent=DRG priority=1/1 \
target=192.168.3.223/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.190 parent=DRG priority=1/1 \
target=192.168.3.190/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.181 parent=DRG priority=1/1 \
target=192.168.3.181/32
add max-limit=10M/10M name="chairman sir 2" parent=DRG priority=1/1 target=\
192.168.3.204/32
add limit-at=1M/1M max-limit=1M/1M name="CTG BULL MANAGER" parent=DRG \
priority=1/1 target=192.168.3.202/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.219 parent=DRG priority=1/1 \
target=192.168.3.219/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.220 parent=DRG priority=1/1 \
target=192.168.3.220/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.213 parent=DRG priority=1/1 \
target=192.168.3.213/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.212 parent=DRG priority=1/1 \
target=192.168.3.212/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.3.210 parent=DRG priority=1/1 \
target=192.168.3.210/32
add max-limit=1M/1M name=CB priority=1/1 target=192.168.5.0/24
add max-limit=1M/1M name="Rony La" parent=CB priority=1/1 target=\
192.168.5.251/32
add max-limit=4k/4k name=192.168.5.202 parent=CB priority=1/1 target=\
192.168.5.202/32
add max-limit=4k/4k name=192.168.5.246 parent=CB priority=1/1 target=\
192.168.5.246/32
add max-limit=128k/128k name=192.168.5.222 parent=CB priority=1/1 target=\
192.168.5.222/32
add max-limit=128k/128k name=192.168.5.204 parent=CB priority=1/1 target=\
192.168.5.204/32
add max-limit=128k/128k name=192.168.5.203 parent=CB priority=1/1 target=\
192.168.5.203/32
add max-limit=512k/512k name=192.168.5.205 parent=CB priority=1/1 target=\
192.168.5.205/32
add max-limit=4k/4k name=192.168.5.168 parent=CB priority=1/1 target=\
192.168.5.168/32
add max-limit=4k/4k name=192.168.5.230 parent=CB priority=1/1 target=\
192.168.5.230/32
add limit-at=1M/1M max-limit=1M/1M name="Afzal vai" parent=CB priority=1/1 \
target=192.168.5.198/32
add limit-at=1M/1M max-limit=1M/1M name=Zakaria parent=CB priority=1/1 \
target=192.168.5.4/32
add max-limit=4k/4k name=192.168.5.243 parent=CB priority=1/1 target=\
192.168.5.243/32
add max-limit=4k/4k name=192.168.5.173 parent=CB priority=1/1 target=\
192.168.5.173/32
add max-limit=4k/4k name=192.168.5.169 parent=CB priority=1/1 target=\
192.168.5.169/32
add max-limit=4k/4k name=192.168.5.210 parent=CB priority=1/1 target=\
192.168.5.210/32
add max-limit=4k/4k name=192.168.5.189 parent=CB priority=1/1 target=\
192.168.5.189/32
add max-limit=4k/4k name=192.168.5.167 parent=CB priority=1/1 target=\
192.168.5.167/32
add max-limit=4k/4k name=192.168.5.193 parent=CB priority=1/1 target=\
192.168.5.193/32
add max-limit=4k/4k name=192.168.5.166 parent=CB priority=1/1 target=\
192.168.5.166/32
add max-limit=4k/4k name=192.168.5.197 parent=CB priority=1/1 target=\
192.168.5.197/32
add max-limit=4k/4k name=192.168.5.165 parent=CB priority=1/1 target=\
192.168.5.165/32
add max-limit=4k/4k name=192.168.5.232 parent=CB priority=1/1 target=\
192.168.5.232/32
add max-limit=1M/1M name="Rony Mobile" parent=CB priority=1/1 target=\
192.168.5.214/32
add max-limit=64k/64k name=192.168.5.242 parent=CB priority=1/1 target=\
192.168.5.242/32
add max-limit=10M/10M name="Jewel " parent=CB priority=1/1 target=\
192.168.5.245/32
add max-limit=1M/1M name="Azizul CB" parent=CB priority=1/1 target=\
192.168.5.226/32
add max-limit=10M/10M name="Arif Sir CB" parent=CB priority=1/1 target=\
192.168.5.254/32
add max-limit=10M/10M name="Arif Sir 2" parent=CB priority=1/1 target=\
192.168.5.221/32
add max-limit=10M/10M name="Saadia mam i7" parent=CB priority=1/1 target=\
192.168.5.38/32
add max-limit=10M/10M name="Chairman sir 2" parent=CB priority=1/1 target=\
192.168.5.244/32
add max-limit=10M/10M name="Chairman sir" parent=CB priority=1/1 target=\
192.168.5.227/32
add limit-at=512k/512k max-limit=512k/512k name="CB POS" parent=CB priority=\
1/1 target=192.168.5.250/32
add max-limit=10M/10M name=Nuruzzaman target=192.168.3.188/32
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether5
/ip address
add address=192.168.3.1/24 comment=Lan interface=bridge1 network=192.168.3.0
add address=27.147.130.187/29 disabled=yes interface=ether1-Link3 network=\
27.147.130.184
add address=10.10.10.6/30 disabled=yes interface=gre-tunnel1 network=\
10.10.10.4
add address=192.168.5.1/24 comment=Lan disabled=yes interface=ether4 network=\
192.168.5.0
add address=103.204.128.181/29 interface="ether3-Paradise ISP" network=\
103.204.128.176
add address=10.10.10.13/30 interface="eoip-tunnel1 to uttara" network=\
10.10.10.12
add address=10.10.10.10/30 interface="eoip-tunnel2 to kamarpara" network=\
10.10.10.8
add address=103.57.121.181/29 interface="ether3-Paradise ISP" network=\
103.57.121.176
/ip dhcp-server network
add address=192.168.3.0/24 dns-server=103.57.116.5,8.8.8.8 gateway=\
192.168.3.1
add address=192.168.5.0/24 dns-server=\
192.168.1.2,123.200.0.254,203.76.96.5,4.2.2.1 gateway=192.168.5.1
/ip dns
set servers=103.57.116.5,103.57.117.6,8.8.8.8
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=accept chain=input comment="DRG DVR port 80" disabled=yes port=80 \
protocol=tcp
add action=accept chain=input comment="DRG DVR port 80" disabled=yes port=554 \
protocol=tcp
add action=accept chain=input comment="DRG Back Office" disabled=yes port=4 \
protocol=tcp
add action=accept chain=input comment="DRG Shop Router" disabled=yes port=\
8080 protocol=tcp
/ip firewall nat
add action=masquerade chain=srcnat out-interface="ether3-Paradise ISP" \
src-address=192.168.3.0/24 to-addresses=103.57.121.181
add action=dst-nat chain=dstnat dst-address=103.204.128.181 dst-port=80 \
protocol=tcp to-addresses=192.168.3.110 to-ports=80
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat disabled=yes dst-address=0.0.0.0/0
add action=dst-nat chain=dstnat dst-address=103.204.128.181 dst-port=80 \
protocol=tcp to-addresses=192.168.3.50 to-ports=80
add action=dst-nat chain=dstnat dst-address=103.204.128.181 dst-port=4 \
protocol=tcp to-addresses=192.168.3.52 to-ports=4
add action=dst-nat chain=dstnat dst-address=103.204.128.181 dst-port=554 \
protocol=tcp to-addresses=192.168.3.50 to-ports=554
add action=dst-nat chain=dstnat dst-address=103.204.128.181 dst-port=25001 \
protocol=tcp to-addresses=192.168.3.50 to-ports=25001
add action=dst-nat chain=dstnat dst-address=103.204.128.181 dst-port=8080 \
protocol=tcp to-addresses=192.168.3.100 to-ports=8080
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=192.168.3.0/24
/ip hotspot user
add name=admin
/ip ipsec policy
set 0 disabled=yes
/ip route
add check-gateway=ping distance=1 gateway=103.57.121.177
add check-gateway=ping distance=10 gateway=103.204.128.177
add check-gateway=ping distance=1 dst-address=192.168.1.0/24 gateway=\
10.10.10.9
add check-gateway=ping distance=1 dst-address=192.168.2.0/24 gateway=\
10.10.10.14
/ip service
set telnet disabled=yes
set ftp disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system clock
set time-zone-autodetect=no
/system identity
set name=Gulshan



Router 2 Script:
------------------------------
# jan/27/1970 23:34:03 by RouterOS 6.23
# software id = 571G-B7IL
#
/interface ethernet
set [ find default-name=ether1 ] comment=Wan
set [ find default-name=ether2 ] comment="WAN(Paradise ether2)" name=\
"ether2-Paradise ISP"
set [ find default-name=ether5 ] comment=Lan
/interface ipip
add disabled=yes local-address=103.57.120.117 name=ipip-tunnel-Uttara \
remote-address=103.57.120.116
/interface eoip
add local-address=103.57.120.117 mac-address=02:DC:95:3F:77:9F name=\
"eoip-tunnel2 to gulshan" remote-address=103.57.121.181 tunnel-id=138
/interface gre
add disabled=yes local-address=10.50.3.66 name=Gulshan remote-address=\
10.64.2.58
add comment=Uttara-Ofc disabled=yes local-address=10.50.3.66 name=gre-tunnel1 \
remote-address=10.50.3.70
/ip neighbor discovery
set ether1 comment=Wan discover=no
set "ether2-Paradise ISP" comment="WAN(Paradise ether2)"
set ether5 comment=Lan
set gre-tunnel1 comment=Uttara-Ofc
/ip hotspot profile
add hotspot-address=192.168.1.1 name=hsprof1
/ip pool
add name=dhcp-pool1 ranges=192.168.1.180-192.168.1.254
add name=hs-pool-5 ranges=192.168.1.100-192.168.1.179
/ip dhcp-server
add address-pool=dhcp-pool1 disabled=no interface=ether5 lease-time=3d10m \
name=server1
/port
set 0 name=serial0
/queue simple
add max-limit=10M/10M name=Republic target=192.168.1.0/24
add limit-at=1M/1M max-limit=1M/1M name=biplob parent=Republic priority=1/1 \
target=192.168.1.33/32
add limit-at=10M/5M max-limit=10M/5M name=queue2 parent=Republic priority=1/1 \
target=192.168.1.202/32
add limit-at=1M/1M max-limit=1M/1M name=Srote parent=Republic priority=1/1 \
target=192.168.1.34/32
add limit-at=1k/1k max-limit=1M/1M name=queue3 parent=Republic priority=1/1 \
target=192.168.1.30/32
add max-limit=64k/64k name="Linux PC" parent=Republic priority=1/1 target=\
192.168.1.70/32
add limit-at=64k/64k max-limit=64k/64k name="dell Pc" parent=Republic \
priority=1/1 target=192.168.1.71/32
add max-limit=64k/64k name="access ponit" parent=Republic priority=1/1 \
target=192.168.1.90/32
add max-limit=512k/512k name="Ashik Sir Mobile" parent=Republic priority=1/1 \
target=192.168.1.180/32
add max-limit=256k/256k name="Biplob Mobile" parent=Republic priority=1/1 \
target=192.168.1.181/32
add limit-at=1M/1M max-limit=1M/1M name=Azizul parent=Republic priority=1/1 \
target=192.168.1.182/32
add limit-at=64k/64k max-limit=64k/64k name=laptop parent=Republic priority=\
1/1 target=192.168.1.212/32
add max-limit=64k/64k name="Dell " parent=Republic priority=1/1 target=\
192.168.1.200/32
add limit-at=64k/64k max-limit=64k/64k name="Saiful Driver" parent=Republic \
priority=1/1 target=192.168.1.208/32
add max-limit=64k/64k name=C parent=Republic priority=1/1 target=\
192.168.1.197/32
add max-limit=10M/10M name="Sadia Mudem" parent=Republic priority=1/1 target=\
192.168.1.199/32
add max-limit=10M/10M name="Sadia Madum " parent=Republic priority=1/1 \
target=192.168.1.198/32
add limit-at=128k/128k max-limit=10M/10M name="Hasib Sir" parent=Republic \
priority=1/1 target=192.168.1.183/32
add limit-at=1k/1k max-limit=1k/1k name=SABUJ parent=Republic priority=1/1 \
target=192.168.1.184/32
add limit-at=1M/1M max-limit=1M/1M name=Saad packet-marks="" parent=Republic \
priority=1/1 target=192.168.1.224/32
add limit-at=10M/10M max-limit=10M/10M name="Hasib i-phone" packet-marks="" \
parent=Republic priority=1/1 target=192.168.1.222/32
add limit-at=10M/10M max-limit=10M/10M name=queue5 parent=Republic priority=\
1/1 target=192.168.1.215/32
add limit-at=5M/5M max-limit=5M/5M name="Quick Book Pos Server" parent=\
Republic priority=1/1 target=192.168.1.32/32
add max-limit=64k/64k name=queue1 parent=Republic priority=1/1 target=\
192.168.1.183/32
add max-limit=64k/64k name="STAR SCHOOL" parent=Republic priority=1/1 target=\
192.168.1.35/32
add max-limit=64k/64k name=principal parent=Republic priority=1/1 target=\
192.168.1.190/32
add limit-at=1M/1M max-limit=1M/1M name="Ashik sir New Laptop" parent=\
Republic priority=1/1 target=192.168.1.192/32
add max-limit=5M/5M name="Azizul laptop" parent=Republic priority=1/1 target=\
192.168.1.197/32
add name=Server parent=Republic priority=1/1 target=192.168.1.2/32
add max-limit=64k/64k name="Sir Hasib" parent=Republic priority=1/1 target=\
192.168.1.195/32
add max-limit=384k/384k name="Sabuj Mobaile" parent=Republic priority=1/1 \
target=192.168.1.194/32
add max-limit=10M/10M name="Saad Sir 188" parent=Republic priority=1/1 \
target=192.168.1.188/32
add max-limit=64k/64k name="Linax server" parent=Republic priority=1/1 \
target=192.168.1.5/32
add max-limit=64k/64k name=Mobaile parent=Republic priority=1/1 target=\
192.168.1.186/32
add limit-at=10M/10M max-limit=10M/10M name="hasib Sir Leptop" parent=\
Republic priority=1/1 target=192.168.1.185/32
add limit-at=64k/64k max-limit=64k/64k name="Saiful " parent=Republic \
priority=1/1 target=192.168.1.191/32
add limit-at=512k/512k max-limit=512k/512k name="Habib Store" parent=Republic \
priority=1/1 target=192.168.1.189/32
add max-limit=5M/5M name="test " parent=Republic priority=1/1 target=\
192.168.1.196/32
add max-limit=64k/64k name=Asif parent=Republic priority=1/1 target=\
192.168.1.214/32
add limit-at=512k/512k max-limit=512k/512k name="Ashik sir" parent=Republic \
priority=1/1 target=192.168.1.201/32
add limit-at=10M/10M max-limit=10M/10M name="Hasib's Mobile" parent=Republic \
priority=1/1 target=192.168.1.217/32
add max-limit=64k/64k name=192.168.1.210 parent=Republic priority=1/1 target=\
192.168.1.210/32
add limit-at=10M/10M max-limit=10M/10M name="Mr. Delwar" parent=Republic \
priority=1/1 target=192.168.1.209/32
/interface pptp-server server
set enabled=yes
/ip accounting
set threshold=4
/ip accounting web-access
set accessible-via-web=yes
/ip address
add address=27.147.140.2/30 comment="default configuration" disabled=yes \
interface=ether1 network=27.147.140.0
add address=192.168.1.1/24 interface=ether5 network=192.168.1.0
add address=10.50.3.66/30 disabled=yes interface=ether3 network=10.50.3.64
add address=10.10.10.1/30 comment=Uttara-Ofc disabled=yes network=10.10.10.0
add address=10.10.10.5/30 disabled=yes interface=Gulshan network=10.10.10.4
add address=103.204.131.37/28 interface="ether2-Paradise ISP" network=\
103.204.131.32
add address=10.10.10.9/30 interface="eoip-tunnel2 to gulshan" network=\
10.10.10.8
add address=103.57.120.117/28 interface="ether2-Paradise ISP" network=\
103.57.120.112
/ip dhcp-server lease
add address=192.168.1.190 client-id=1:2c:41:38:5e:bb:ab mac-address=\
2C:41:38:5E:BB:AB server=server1
add address=192.168.1.188 always-broadcast=yes client-id=1:28:cf:e9:20:b3:69 \
mac-address=28:CF:E9:20:B3:69 server=server1
add address=192.168.1.194 always-broadcast=yes mac-address=40:45:DA:82:89:3D \
server=server1
add address=192.168.1.185 always-broadcast=yes client-id=1:a0:88:69:be:c5:8f \
mac-address=A0:88:69:BE:C5:8F server=server1
add address=192.168.1.181 always-broadcast=yes client-id=1:e8:3a:12:9a:af:96 \
mac-address=E8:3A:12:9A:AF:96 server=server1
add address=192.168.1.189 always-broadcast=yes mac-address=B8:98:F7:43:C5:C4 \
server=server1
add address=192.168.1.191 mac-address=C4:9A:02:95:60:A8 server=server1
add address=192.168.1.182 always-broadcast=yes client-id=1:ec:e:c4:48:f7:f5 \
mac-address=EC:0E:C4:48:F7:F5 server=server1
add address=192.168.1.186 mac-address=00:12:22:33:44:78 server=server1
add address=192.168.1.180 client-id=1:48:5a:3f:79:c7:da mac-address=\
48:5A:3F:79:C7:DA server=server1
add address=192.168.1.192 client-id=1:70:77:81:19:cb:f7 mac-address=\
70:77:81:19:CB:F7 server=server1
add address=192.168.1.187 client-id=1:98:f1:70:3f:57:7 mac-address=\
98:F1:70:3F:57:07 server=server1
add address=192.168.1.201 always-broadcast=yes client-id=1:f4:b7:e2:78:69:fd \
mac-address=F4:B7:E2:78:69:FD server=server1
add address=192.168.1.214 always-broadcast=yes mac-address=04:3D:F1:32:61:87 \
server=server1
add address=192.168.1.198 client-id=1:6c:40:8:9f:5a:e0 mac-address=\
6C:40:08:9F:5A:E0 server=server1
add address=192.168.1.199 client-id=1:70:81:eb:cc:8f:b4 mac-address=\
70:81:EB:CC:8F:B4 server=server1
add address=192.168.1.197 client-id=1:d4:f4:6f:de:27:7d mac-address=\
D4:F4:6F:DE:27:7D server=server1
add address=192.168.1.253 client-id=1:90:2b:34:44:97:42 mac-address=\
90:2B:34:44:97:42 server=server1
add address=192.168.1.211 mac-address=40:45:DA:4F:49:BF server=server1
add address=192.168.1.184 always-broadcast=yes mac-address=44:91:DB:8B:A4:F3 \
server=server1
add address=192.168.1.222 client-id=1:84:8e:c:75:5f:5a mac-address=\
84:8E:0C:75:5F:5A server=server1
add address=192.168.1.209 client-id=1:70:11:24:eb:34:34 mac-address=\
70:11:24:EB:34:34 server=server1
add address=192.168.1.217 mac-address=88:44:77:66:F6:03 server=server1
add address=192.168.1.202 client-id=1:54:8c:a0:68:e6:db mac-address=\
54:8C:A0:68:E6:DB server=server1
add address=192.168.1.208 mac-address=AC:56:2C:F1:AF:AC server=server1
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=103.57.116.5,8.8.8.8 gateway=\
192.168.1.1
/ip dns
set servers=8.8.8.8,103.57.116.5
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add action=drop chain=forward comment=test disabled=yes src-mac-address=\
A0:CB:FD:AD:D2:9C
add chain=input port=8443 protocol=tcp
add chain=input port=8080 protocol=tcp
/ip firewall nat
add action=masquerade chain=srcnat to-addresses=103.57.120.117
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here"
add action=dst-nat chain=dstnat dst-address=103.204.131.37 dst-port=8443 \
protocol=tcp to-addresses=192.168.1.30 to-ports=8443
add action=dst-nat chain=dstnat dst-address=103.204.131.37 dst-port=4 \
protocol=tcp to-addresses=192.168.1.52 to-ports=4
add action=dst-nat chain=dstnat dst-address=103.204.131.37 dst-port=8080 \
protocol=tcp to-addresses=192.168.1.31 to-ports=8080
add action=masquerade chain=srcnat disabled=yes dst-address=0.0.0.0/0 \
to-addresses=103.57.121.17
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
disabled=yes src-address=192.168.1.0/24
/ip hotspot user
add name=drhq password=123456
/ip proxy
set max-cache-size=none
/ip route
add check-gateway=ping distance=10 gateway=103.57.120.113
add check-gateway=ping distance=20 gateway=103.204.131.33
add disabled=yes distance=1 dst-address=10.50.3.68/30 gateway=10.50.3.65
add disabled=yes distance=1 dst-address=10.64.2.56/30 gateway=10.50.3.65
add check-gateway=ping distance=1 dst-address=192.168.1.0/24 gateway=\
"eoip-tunnel2 to gulshan"
add check-gateway=ping distance=5 dst-address=192.168.2.0/24 gateway=*F
add check-gateway=ping distance=1 dst-address=192.168.3.0/24 gateway=\
10.10.10.10
add disabled=yes distance=1 dst-address=192.168.5.0/24 gateway=10.10.10.6
add disabled=yes distance=1 dst-address=203.76.99.42/32 gateway=10.50.3.65
/ip service
set telnet disabled=yes
/ppp secret
add local-address=192.168.1.1 name=test password=test remote-address=\
192.168.1.200
/system identity
set name=KamarPara
/tool graphing interface
add
/tool graphing queue
add
/tool graphing resource
add
/tool mac-server
set [ find default=yes ] disabled=yes
add interface="ether2-Paradise ISP"
add interface=ether3
add interface=ether4
add interface=ether5
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface="ether2-Paradise ISP"
add interface=ether3
add interface=ether4
add interface=ether5
/tool sniffer
set file-name=test filter-interface=ether5 streaming-enabled=yes \
streaming-server=192.168.1.19


Router 3 Script:
-----------------------
# dec/18/2017 10:10:54 by RouterOS 6.38.1
# software id = ZKZJ-9S8P
#
/interface ethernet
set [ find default-name=ether1 ] comment=Wan
set [ find default-name=ether2 ] name=ether2-data
set [ find default-name=ether3 ] name=ether3-Paradise
set [ find default-name=ether5 ] comment=Lan
/interface gre
add allow-fast-path=no disabled=yes !keepalive local-address=10.50.3.70 name=\
gre-tunnel1 remote-address=10.50.3.66
/interface ipip
add disabled=yes !keepalive local-address=103.57.120.116 name=\
ipip-tunnel-Customer remote-address=103.57.120.117
/interface eoip
add allow-fast-path=no !keepalive local-address=103.57.120.116 mac-address=\
02:41:45:92:F2:8E name="eoip-tunnel1 to gulshan" remote-address=\
103.57.121.181 tunnel-id=137
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip ipsec proposal
set [ find default=yes ] auth-algorithms=md5 enc-algorithms=3des
/ip pool
add name=dhcp_pool2 ranges=192.168.2.180-192.168.2.254
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=ether5 lease-time=3d10m \
name=server1
/queue simple
add max-limit=10M/10M name=DRU priority=1/1 target=192.168.2.0/24
add limit-at=64k/64k max-limit=64k/64k name=queue4 parent=DRU priority=1/1 \
target=192.168.2.24/32
add limit-at=1M/1M max-limit=1M/1M name="DRU Server" parent=DRU priority=1/1 \
target=192.168.2.23/32
add max-limit=512k/512k name=queue1 parent=DRU priority=1/1 target=\
192.168.2.20/32
add limit-at=512k/512k max-limit=512k/512k name=queue2 parent=DRU priority=\
1/1 target=192.168.2.21/32
add limit-at=4k/4k max-limit=4k/4k name=Laptop parent=DRU priority=1/1 \
target=192.168.2.212/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.2.211 parent=DRU priority=1/1 \
target=192.168.2.211/32
add max-limit=3M/3M name=queue3 parent=DRU target=192.168.2.22/32
add max-limit=2M/2M name=queue5 parent=DRU priority=1/1 target=\
192.168.2.55/32
add max-limit=2M/2M name=queue11 parent=DRU priority=1/1 target=\
192.168.2.51/32
add max-limit=64k/64k name=queue6 parent=DRU priority=1/1 target=\
192.168.2.56/32
add max-limit=64k/64k name=queue7 parent=DRU priority=1/1 target=\
192.168.2.57/32
add max-limit=64k/64k name=queue8 parent=DRU priority=1/1 target=\
192.168.2.80/32
add max-limit=64k/64k name=queue13 parent=DRU priority=1/1 target=\
192.168.2.246/32
add max-limit=4k/4k name=queue9 parent=DRU priority=1/1 target=\
192.168.2.248/32
add max-limit=4k/4k name=queue10 parent=DRU priority=1/1 target=\
192.168.2.249/32
add max-limit=64k/64k name=queue15 parent=DRU priority=1/1 target=\
192.168.2.250/32
add max-limit=512k/512k name="DRU Mobile" parent=DRU priority=1/1 target=\
192.168.2.252/32
add max-limit=256k/256k name="Reyal Mobile" parent=DRU priority=1/1 target=\
192.168.2.253/32
add limit-at=64k/64k max-limit=64k/64k name="Reyel Mobail" parent=DRU \
priority=1/1 target=192.168.2.232/32
add max-limit=64k/64k name=queue18 parent=DRU target=192.168.2.223/32
add max-limit=4k/4k name=192.168.2.219 parent=DRU priority=1/1 target=\
192.168.2.219/32
add max-limit=384k/384k name=queue20 parent=DRU priority=1/1 target=\
192.168.2.227/32
add name=229 parent=DRU priority=1/1 target=192.168.2.229/32
add max-limit=64k/64k name=221 parent=DRU priority=1/1 target=\
192.168.2.221/32
add max-limit=4k/4k name=192.168.2.217 parent=DRU priority=1/1 target=\
192.168.2.217/32
add max-limit=64k/64k name=241 parent=DRU priority=1/1 target=\
192.168.2.241/32
add max-limit=64k/64k name=218 parent=DRU priority=1/1 target=\
192.168.2.218/32
add limit-at=2M/2M max-limit=2M/2M name=214 parent=DRU priority=1/1 target=\
192.168.2.214/32
add limit-at=64k/64k max-limit=64k/64k name=206 packet-marks="" parent=DRU \
priority=1/1 target=192.168.2.206/32
add limit-at=64k/64k max-limit=64k/64k name=205 packet-marks="" parent=DRU \
priority=1/1 target=192.168.2.205/32
add limit-at=64k/64k max-limit=64k/64k name=204 packet-marks="" parent=DRU \
target=192.168.2.204/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.2.216 packet-marks="" parent=\
DRU priority=1/1 target=192.168.2.216/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.2.215 packet-marks="" parent=\
DRU priority=1/1 target=192.168.2.215/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.2.247 packet-marks="" parent=\
DRU priority=1/1 target=192.168.2.247/32
add limit-at=64k/64k max-limit=64k/64k name=210 parent=DRU priority=1/1 \
target=192.168.2.210/32
add limit-at=64k/64k max-limit=64k/64k name=208 parent=DRU target=\
192.168.2.208/32
add limit-at=64k/64k max-limit=64k/64k name=207 parent=DRU priority=1/1 \
target=192.168.2.207/32
add limit-at=64k/64k max-limit=64k/64k name="DRU Mobaile" parent=DRU \
priority=1/1 target=192.168.2.231/32
add name=Azizul parent=DRU priority=1/1 target=192.168.2.229/32
add limit-at=1M/1M max-limit=1M/1M name=25 packet-marks="" parent=DRU \
priority=1/1 target=192.168.2.25/32
add limit-at=8k/8k max-limit=8k/8k name="HASIB SIR" parent=DRU priority=1/1 \
target=192.168.2.226/32
add name="Azizul Mobaile" parent=DRU priority=1/1 target=192.168.2.225/32
add limit-at=4k/4k max-limit=4k/4k name=192.168.2.213 parent=DRU priority=1/1 \
target=192.168.2.213/32
add max-limit=384k/384k name=228 parent=DRU target=192.168.2.228/32
/ip accounting
set enabled=yes threshold=16
/ip address
add address=27.147.143.118/30 comment=Wan disabled=yes interface=ether1 \
network=27.147.143.116
add address=192.168.2.1/24 comment=Lan interface=ether5 network=192.168.2.0
add address=10.50.3.70/30 disabled=yes interface=ether2-data network=\
10.50.3.68
add address=10.10.10.2/30 comment=kamar disabled=yes network=10.10.10.0
add address=103.57.120.116/28 comment=WAN interface=ether3-Paradise network=\
103.57.120.112
add address=10.10.10.6/30 disabled=yes interface=gre-tunnel1 network=\
10.10.10.4
add address=10.10.10.14/30 interface="eoip-tunnel1 to gulshan" network=\
10.10.10.12
add address=103.204.131.36/28 interface=ether3-Paradise network=\
103.204.131.32
/ip dhcp-server network
add address=192.168.2.0/24 dns-server=103.57.116.5,103.57.117.6,8.8.8.8 \
gateway=192.168.2.1
/ip dns
set servers=8.8.8.8,103.57.116.5,103.57.117.6
/ip firewall filter
add action=accept chain=input comment="DRU Uttara" port=443 protocol=tcp
add action=accept chain=input port=25001 protocol=tcp
/ip firewall nat
add action=masquerade chain=srcnat to-addresses=103.57.120.116
add action=masquerade chain=srcnat dst-address=0.0.0.0/0
add action=dst-nat chain=dstnat comment="DRU dvr IP 192.168.1.55 Port 8080" \
dst-address=103.204.131.36 dst-port=443 protocol=tcp to-addresses=\
192.168.2.55 to-ports=443
add action=dst-nat chain=dstnat comment="DRU dvr IP 192.168.1.55 Port 8080" \
dst-address=103.204.131.36 dst-port=554 protocol=tcp to-addresses=\
192.168.2.51 to-ports=554
add action=dst-nat chain=dstnat comment="DRU dvr IP 192.168.1.55 Port 8080" \
dst-address=103.204.131.36 dst-port=80 protocol=tcp to-addresses=\
192.168.2.51 to-ports=80
add action=dst-nat chain=dstnat dst-address=103.204.131.36 dst-port=25001 \
protocol=tcp to-addresses=192.168.2.55 to-ports=25001
add action=accept chain=srcnat dst-address=192.168.1.0/24 src-address=\
192.168.2.0/24
/ip route
add check-gateway=ping distance=5 gateway=103.57.120.113
add check-gateway=ping distance=15 gateway=103.204.131.33
add check-gateway=ping disabled=yes distance=1 dst-address=10.50.3.64/30 \
gateway=10.50.3.69
add check-gateway=ping distance=1 dst-address=192.168.1.0/24 gateway=\
10.10.10.13
add distance=1 dst-address=192.168.3.0/24 gateway=10.10.10.13
/ip service
set telnet disabled=yes
set ssh disabled=yes
/system clock
set time-zone-autodetect=no
/system identity
set name=Uttara
/system logging
add topics=ipsec
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 12:21 pm

Why you didn't bridged ethernet interfaces with EoIP tunnels on every router? EoIP is layer 2 merging, not layer 3.
 
Jahir
just joined
Topic Author
Posts: 16
Joined: Mon Dec 18, 2017 9:26 am
Location: Dhaka, Bangladesh

Re: EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 12:36 pm

as per your suggestion, i complete above steep but still, i suffer as same.please advise accordingly.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 1:07 pm

Are your 3 networks in same subnet?
 
Jahir
just joined
Topic Author
Posts: 16
Joined: Mon Dec 18, 2017 9:26 am
Location: Dhaka, Bangladesh

Re: EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 1:26 pm

Router 1:
-------------------
WAN Side:
IP: 103.57.121.181/29
LAN Side:
IP:192.168.3.1/24
Tunneling IP: 10.10.10.13/30 (For Router 1)
Tunneling IP: 10.10.10.10/30 (For Router 2)


Router 2:
----------------------------
WAN Side:
IP: 103.57.120.116/28
LAN Side:
IP: 192.168.2.1/24
Tunneling IP: 10.10.10.14/30 (For Router 1)
Router 3:
----------------------------
WAN Side:
IP: 103.57.120.117/28
LAN Side:
IP: 192.168.1.1/24
Tunneling IP: 10.10.10.9/30 (For Router 1)
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 1:52 pm

Your LANs in different subnets. What for you did them like this? You need to manage routing between them, not L2 tunneling.
 
Jahir
just joined
Topic Author
Posts: 16
Joined: Mon Dec 18, 2017 9:26 am
Location: Dhaka, Bangladesh

Re: EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 1:57 pm

Please give suggestion steep by steep for EOIP Tunneling over three routers.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: EOIP Tunneling over 3 Router...

Mon Dec 18, 2017 2:13 pm

Please give suggestion steep by steep for EOIP Tunneling over three routers.
If you want to merge all hosts in 192.168.0.0/22, you need assign this subnet on LAN interface of each LAN interface of each router. Like ip address add interface=bridge1 address=192.168.0.1/22, 2nd router 192.168.0.2/22 and 3rd 192.168.0.3/22. Then you have to bridge eath LAN interface with EoIP interface. After you bridge them, you will have full mesh connectivity on layer 2, and each host will be reachable on every router on arp level. Don't forget to reassign dhcp pools.

Who is online

Users browsing this forum: Wolvyreen and 21 guests