Connecting 2 networks

Connecting 2 networks

20 Reply
Re:Connecting 2 networks
3 weeks ago

Hi @kowalmisiek 

Thanks for posting in our business forum.

How to Set Up VLAN Interface on the Omada Router 

And follow others' advice.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  1  
  1  
#12
Options
Re:Connecting 2 networks
2 weeks ago

  @GRL 

Hello. I started configuring it according to @GRL's description I'm attaching images of my configuration. At this point I haven't made static routes on my friend's router. I can see my friend's network but my friend's DHCP is working on my network and that can't be the case. Where did I make a mistake in the configuration?

  0  
  0  
#13
Options
Re:Connecting 2 networks
2 weeks ago - last edited 2 weeks ago

  @kowalmisiek 

 

remove his network from your port, and your network from his port

each port should ONLY have the network that is connecting to it in your situation

 

like this

 

Your router will route correctly from your side to his, his router need the static route on his back to yours

 

You can remove networks from ports by unchecking the tick boxes visible in your second image.  Also, remove his network from all ports but the one he will connect to

 

Main: ER8411 x1, SG3428X x1, SG3452 x1, SG2428LP x1, SG3210 x1, SG2218P x1, SG2008P x1, ES205G x2, EAP650 x6 Remotes: ER605 v2 x3, SG2008P x2, EAP650 x2 VPN Server: ER7206 v2 Controller: OC300
  0  
  0  
#14
Options
Re:Connecting 2 networks
2 weeks ago

  @kowalmisiek 

I fixed it but now I have no communication with the 192.168.1.X network

  0  
  0  
#15
Options
Re:Connecting 2 networks
2 weeks ago

  @kowalmisiek 

 

that is expected - that is what the static route in his router is for

Your side can reach out, but on his side, devices are set to use his router as their gateway.  So, yor side reaches out, his side device responds, but that response is sent to his router.  Which, without the static route, will just drop it.  

Main: ER8411 x1, SG3428X x1, SG3452 x1, SG2428LP x1, SG3210 x1, SG2218P x1, SG2008P x1, ES205G x2, EAP650 x6 Remotes: ER605 v2 x3, SG2008P x2, EAP650 x2 VPN Server: ER7206 v2 Controller: OC300
  0  
  0  
#16
Options
Re:Connecting 2 networks
2 weeks ago

  @kowalmisiek 

Overall, it looks like everything worked out. Thank you for your help. I have one more question. Can I use my friend's internet and vice versa by entering the data from his network (ip, mask, gateway and dns)? I tried but it doesn't work. Is there any way to get it working?

  0  
  0  
#17
Options
Re:Connecting 2 networks
2 weeks ago

  @kowalmisiek 

 

no, they are seperate vlans.  Gateways in different subnets are unuseable to devices in a different IP range.

 

It can be done in a pretty complex way, but you need more equipment than you have (managed switches that support a 0.0.0.0/0 default route - your router does not support this)

Main: ER8411 x1, SG3428X x1, SG3452 x1, SG2428LP x1, SG3210 x1, SG2218P x1, SG2008P x1, ES205G x2, EAP650 x6 Remotes: ER605 v2 x3, SG2008P x2, EAP650 x2 VPN Server: ER7206 v2 Controller: OC300
  0  
  0  
#18
Options
Re:Connecting 2 networks
2 weeks ago
How to do it like this. Don't do a vlan. Connect my friend's network as a WAN port as (isp) and set a static IP address in ER605. Will I see my friend's network this way? Theoretically, the WAN port will be my gateway to my friend's network, so through it I should be able to see the contents of my friend's network? If this works, then in the WAN port to my friend I should be able to block port 67 and 68 responsible for DHCP. Does this have a chance of working?
  0  
  0  
#19
Options
Re:Connecting 2 networks
2 weeks ago

  @kowalmisiek 

 

Right,.  This is possible, but is a nightmate to manage

1) you would have to either allow everything through your firewall, or set up one-to-one NAT for every device in your network so his side could see them
2) you would be on double-NAT so his side would have to DMZ yours and you would have to port forward evertyhing on his side to your devices one by one
3) you would then have to policy route your vlan to the second WAN form his side which would make your internet connection utterly unused

4) this is bad, dont do this, you will get yourself into even more of a pickle trying to manage this and work out ever port and nat rule you need for both sides.

 

So, my last comment - if you want to not only have free access to his network, and use his internet, why dont you just put all your stuff on his network?  

Main: ER8411 x1, SG3428X x1, SG3452 x1, SG2428LP x1, SG3210 x1, SG2218P x1, SG2008P x1, ES205G x2, EAP650 x6 Remotes: ER605 v2 x3, SG2008P x2, EAP650 x2 VPN Server: ER7206 v2 Controller: OC300
  0  
  0  
#20
Options
Re:Connecting 2 networks
2 weeks ago

  @kowalmisiek 

If I placed my devices in his network, i.e. we had a common network, e.g. 192.168.1.X, then problems with internet management would start. My friend has his own provider and I have mine. Even if I did this: My friend's router has IP 192.168.1.240 My router would have IP 192.168.1.250 How would devices in one network know which default gateway (router) to use? The possibility is that we either enter it manually or create Static DHCP on one router and we have to make a rule by MAC address which gateway to assign. Is it possible in ER605? While it can be done once, each new device that appears must be entered into the MAC DHCP Table. I am in favor of having one network 192.168.1.X but I see the problems I wrote about above.

  0  
  0  
#21
Options