Community discussions

MikroTik App
 
blinderix
newbie
Topic Author
Posts: 48
Joined: Wed Apr 08, 2009 8:55 pm

A problem with metarouter and identical networks. HELP!!!

Wed Feb 16, 2011 6:36 pm

Hello,
I have a rb450 with a metarouter installed. The main idea to use a metarouter was that there are 2 identical local networks with identical IP's. So, I've created a metarouter to connect the second LAN to it. The RB450G is connected to a Cisco router of the ISP, which has confugured several IP adresses to use. One of the ip's (.226) is configured to a DVR outside the RB450G on a different port on the Cisco router. The other 2 IP's (227, 228) are configured on another cisco port, and I use them for the router and metarouter.

Here is the config of RB450G v4.10 :

Interfaces of RB450G

# NAME TYPE MTU L2MTU
0 R ether1-LAN1 ether 1500 1524
1 R ether2-hotspot ether 1500 1524
2 R ether3-WAN ether 1500 1524
3 ether4 ether 1500 1524
4 R ether5-LAN2 ether 1500 1524
5 R bridge1 bridge 1500 1524

Bridge: (port 4 is reserve)

# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 ether3-WAN bridge1 0x80 10 none
1 I ether4 bridge1 0x80 10 none

IP Addresses:

# ADDRESS NETWORK BROADCAST INTERFACE
0 2xx.xx.xx.227/29 2xx.xx.xx.224 2xx.xx.xx.231 ether3-WAN
1 192.168.1.1/24 192.168.1.0 192.168.1.255 ether1-LAN1
2 172.16.172.1/24 172.16.172.0 172.16.172.255 ether2-hotspot

Firewall NAT:

0 chain=dstnat action=dst-nat to-addresses=192.168.1.121 to-ports=3389
protocol=tcp dst-address=2xx.xx.xx.227 dst-port=3389

1 chain=srcnat action=masquerade src-address=192.168.1.0/24 dst-address=0.0.0.0/0

2 chain=srcnat action=masquerade src-address=172.16.172.0/24
dst-address=0.0.0.0/0

3 chain=dstnat action=dst-nat to-addresses=192.168.1.121 to-ports=3389
protocol=udp dst-address=2xx.xx.xx.227 dst-port=3389



Route:


# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 2xx.xx.xx.230 1
1 ADC 172.16.172.0/24 172.16.172.1 ether2-hotspot 0
2 ADC 192.168.1.0/24 192.168.1.1 ether1-LAN1 0
3 ADC 2xx.xx.xx.224/29 2xx.xx.xx.227 bridge1 0



Netwatch: (2xx.xx.xx.226 is DVR connected to the Cisco)

# HOST TIMEOUT INTERVAL STATUS
0 194.145.63.12 1s 3s up
1 2xx.xx.xx.230 1s 3s up
2 2xx.xx.xx.226 1s 1s up

MetaRouter:

# NAME MEMORY-SIZE DISK-SIZE USED-DISK STATE
0 router2 64MiB unlimited 3986kiB running

MetaRouter Interfaces:

# VIRTUAL-MACHINE TYPE STATIC-INTERFACE VM-MAC-ADDRESS
0 A router2 static ether5-LAN2 02:F7:FE:37:E0:B2
1 A router2 static ether3-WAN 02:EA:41:AF:7C:F3
2 X router2 static ether1-LAN1 02:EE:7F:54:30:43 (this interface is DISABLED)

---------------------------------------
Config on the MetaRouter:


ip: 192.168.1.1 on ether1-port5-lan
2xx.xx.xx.228 on ether2-port3-wan

route: 2xx.xx.xx.230

--- I will attach later, because the terminal windows is white and nothing happens, even closing all windows and connecting again. (Just showed the ascii mikrotik logo, but not command line(minute after)).Tried to use the console, same, user, pass... and blank for a minute, after that Mikrotik ascii logo.

I have exact the same netwatch on the metarouter and a problem I saw was: the netwatch says that the hosts (a site, the DVR, the Gateway of the ISP) are down, but the client's have internet. When I try to ping any IP it says, that the response time of 1000ms timeout, or simething like this. The problem of all started, when the users of LAN 2 (metarouter) complained that are loosing connectivity for some minutes, many times a day, while the users of LAN1 (RB450g) have internet at the same time. The CPU usage is under 5% most of the time. At the beginnig I have set the metarouter with 32mb ram. After that I raised the Ram to 64mb. I thing that the was a power issue, because the router have been restarted regularly. Now is 5 days uptime. I have removed the default configuration of the Watchdog, which had ckecked "Watchdog timer" and "Automatic supout", thinking for a possible problem for the restarts.

Any suggestions where the is problem is?
Thanks in advance!

Who is online

Users browsing this forum: flapviv, JDF and 11 guests