Connecting 2 networks
Connecting 2 networks
Hello. I have a TP-Link ER605 v1 router. I have 2 networks that converge to the router ports. Network 1 192.168.0.1-254 DHCP server is working Network 2 192.168.1.1-254 DHCP server is working I would like to connect them together so that the DHCP servers continue to work as they do but do not give out addresses to the opponent. I was wondering, for example, if it is possible to block the ports responsible for DHCP UDP 67 and 68 in some way? Or how else can I do it? Please describe it in a relatively simple way. Thank you and best regards.
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hi @kowalmisiek
Thanks for posting in our business forum.
How to Set Up VLAN Interface on the Omada Router
And follow others' advice.
- Copy Link
- Report Inappropriate Content
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?
- Copy Link
- Report Inappropriate Content
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
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
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?
- Copy Link
- Report Inappropriate Content
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)
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
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?
- Copy Link
- Report Inappropriate Content
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.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 314
Replies: 20
Voters 0
No one has voted for it yet.