Community discussions

MikroTik App
 
kaydee
just joined
Topic Author
Posts: 10
Joined: Fri Apr 12, 2019 1:02 pm

Regarding Windows File Share (SMB) between 2 networks (Interfaces)

Fri Apr 12, 2019 1:22 pm

Hello Guys,

I am new here as well as mikrotik Please help me on this issue

These are my address

# ADDRESS NETWORK INTERFACE
0 10.7.5.148/21 10.7.0.0 ether1
1 192.168.31.1/24 192.168.31.0 ether2
2 192.168.30.1/24 192.168.30.0 ether3

ARP is

# ADDRESS MAC-ADDRESS INTERFACE
0 DC 192.168.31.4 08:62:66:35:AF:98 bridge1
1 DC 192.168.31.35 04:95:E6:3B:9C:08 bridge1
2 DC 192.168.31.8 1C:1B:0D:23:F9:BF bridge1
3 DC 192.168.31.38 00:E0:4C:81:96:C9 bridge1
4 DC 192.168.31.2 14:07:08:3F:8F:BB bridge1
5 DC 192.168.31.167 00:1E:A6:C2:40:D8 bridge1
6 DC 192.168.31.67 C8:E7:D8:74:25:89 bridge1
7 DC 10.7.4.1 9C:37:F4:07:C5:F6 ether1
8 DC 192.168.31.66 D4:45:E8:B7:8D:25 bridge1
9 DC 192.168.31.39 00:17:7C:18:5C:27 bridge1
10 DC 192.168.31.32 D4:45:E8:B7:75:3D bridge1
11 DC 192.168.31.31 00:1F:A5:83:D3:79 bridge1
12 DC 192.168.30.198 1C:1B:B5:84:31:7C ether3
13 DC 192.168.30.200 94:65:2D:8E:39:16 ether3
14 DC 192.168.30.190 3C:97:11:62:81:1B ether3
15 DC 192.168.31.30 D4:45:E8:B7:52:20 bridge1
16 DC 192.168.31.206 E0:67:B3:A8:A8:82 bridge1
17 DC 192.168.31.202 E0:67:B3:A8:A4:F2 bridge1
18 DC 192.168.31.37 78:8A:20:FE:98:C1 bridge1
19 DC 192.168.31.151 D4:45:E8:B7:94:D7 bridge1
20 DC 192.168.31.111 48:BA:4E:DF:BA:A3 bridge1

I am running windows on 192.168.31.4, 192.168.31.8 and 192.168.30.198

I can access shared drive between 192.168.31.4 and 192.168.31.8
But can't access shred folders from 192.168.30.198

Please help me on this,

Thank You so much!
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Regarding Windows File Share (SMB) between 2 networks (Interfaces)  [SOLVED]

Fri Apr 12, 2019 2:52 pm

Default Windows firewall allows access only from same subnet. Clean solution is to allow access from the other one (on target machine). Lazy solution is to add srcnat rule, which will make all connection from other subnet look as is they come from router, which is in same subnet.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11594
Joined: Thu Mar 03, 2016 10:23 pm

Re: Regarding Windows File Share (SMB) between 2 networks (Interfaces)

Fri Apr 12, 2019 6:37 pm

Additional complication is (or was at least, it's been ages since I had to deal with this crap) that windows uses broadcasts for detection of other machines on the network if domain controller is not available. Broadcasts don't pass routers.
 
kaydee
just joined
Topic Author
Posts: 10
Joined: Fri Apr 12, 2019 1:02 pm

Re: Regarding Windows File Share (SMB) between 2 networks (Interfaces)

Sat Apr 13, 2019 10:47 am

Default Windows firewall allows access only from same subnet. Clean solution is to allow access from the other one (on target machine). Lazy solution is to add srcnat rule, which will make all connection from other subnet look as is they come from router, which is in same subnet.
Thank You so much brother its working now,
 
kaydee
just joined
Topic Author
Posts: 10
Joined: Fri Apr 12, 2019 1:02 pm

Re: Regarding Windows File Share (SMB) between 2 networks (Interfaces)

Sat Apr 13, 2019 10:50 am

Additional complication is (or was at least, it's been ages since I had to deal with this crap) that windows uses broadcasts for detection of other machines on the network if domain controller is not available. Broadcasts don't pass routers.
Yes I can't see shared drives on network places,
 
User avatar
Paternot
Forum Veteran
Forum Veteran
Posts: 953
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: Regarding Windows File Share (SMB) between 2 networks (Interfaces)

Sun Apr 14, 2019 1:41 am

Windows uses broadcast to find others SMB shares - but You can just point it to one machine, and it will work - broadcast or not.

So, You can just type the FQDN of the machine you want to access, and windows will open it. Then, if You map this share, it will work just fine.

Who is online

Users browsing this forum: Adrijan, Google [Bot], scartzulesc and 98 guests