Configure routing and internet access between VLANs
Hi,
I was looking through multiple post but couldn't find the right answer for my issue.
This is my first router with VLAN and I have the following scenario:
I want to setup multiple VLANs for differnt purposes and some should have internet connection. In detail
System VLAN - 1 - internet access (Standard)
Maintenance VLAN - 99 - without internet access
Server VLAN - 20 - internet access
Router VLAN - 30 - Gateway (Fritzbox)
The harder part is now that I have an AD, DNS and DHCP server which should be the main point the server and system VLAN.
All servers have a static IP but everything inside system VLAN should be done via DHCP server.
The internet gateway will be the Fritzbox.
I sestup the VLANs in the L2 802.1Q VLAN section and added the untaggged ports to it.
Additionally I set the PVID for each porrt in the "Port Config" section.
If I read the manual correctly routing should be factory enabled but I cannot reach the internet.
Even setting a static route for 0.0.0.0/0 didn't help.
As I'm quite new to this help is appriciated.
Thank you.
/tiganita
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Hi @tiganita
Thanks for posting in our business forum.
tiganita wrote
Hi @Clive_A ,
if I understand you correctly and looking through the notes of the second link it means that the switch alone is not capable of inter/multi-VLAN NAT-ing.
In that case I would need to have a router with this capability.
Does TP-Link have one with a modem included?
Thanks for your help!
BR
/Bryan
Yes, correct. Now we are talking.
Modem, nope. Router, yep.
Our Omada solution can provide the VLAN interfaces and host the DHCP servers on itself. But you can still keep the DHCP servers on the switch. It's up to you.
Regardless of the control modes, you can always use the VLAN interfaces on the Omada routers.
- Copy Link
- Report Inappropriate Content
Hi @tiganita
Thanks for posting in our business forum.
What kind of guides did you read? If you read what I post on the forum, the questions you have here should be resolved by reading it.
Give it a try?
How to Configure VLAN on TP-Link Switch
And this as well: How to Set Up VLAN Interface on the Omada Router
Your router might not be capable of the VLAN NAT. That's why you don't have the Internet. It does not have anything to do with the switch at all. It is not NAT-ing.
- Copy Link
- Report Inappropriate Content
Hi @Clive_A ,
thank you for the fast feedback.
I definitely read the first article you provided but it didn't help me. Maybe I didn't understand it all.
The second article I skipped because it uses a separate VLAN capable router.
I thought because of the L3 Features of my switch it would be posssible to route things only inside the switch and things going out into the internet would use the router/fritzbox.
But if I now understand it correctly it is crucial to have a VLAN capable router to set a tagged port up there and on the switch.
Am I right or is it somehow possible only with the switch?
Thanks in advance.
/tiganita
- Copy Link
- Report Inappropriate Content
Hi @tiganita
Thanks for posting in our business forum.
tiganita wrote
Hi @Clive_A ,
thank you for the fast feedback.
I definitely read the first article you provided but it didn't help me. Maybe I didn't understand it all.
The second article I skipped because it uses a separate VLAN capable router.
I thought because of the L3 Features of my switch it would be posssible to route things only inside the switch and things going out into the internet would use the router/fritzbox.
But if I now understand it correctly it is crucial to have a VLAN capable router to set a tagged port up there and on the switch.
Am I right or is it somehow possible only with the switch?
Thanks in advance.
/tiganita
Read it again in the notes area which is super super important. VLAN (capable) vs VLAN interface, are completely different.
You might search for this online. I have explained this in the note area.
VLAN capable only means it supports 802.1Q VLAN. It is not the same concept as the VLAN interface. All the posts I have on the forum clearly distinguish them that VLAN and VLAN interface are different.
I recall that people on the forum reported the model you use does not support that.
Or let's say this, if you can get the DHCP IP correctly, from the switch when you connect to it, then you are setting up the VLAN correctly. Ping default gateway, no issue, then you are doing it correctly.
So, it concludes that there is no problem with the switch at all. A switch is not NAT-ing. So you should check what device in your network is doing the NAT.
I have clearly explained that you need several functions to work together to get a switch to work if you need the Internet.
- Copy Link
- Report Inappropriate Content
Hi @Clive_A ,
if I understand you correctly and looking through the notes of the second link it means that the switch alone is not capable of inter/multi-VLAN NAT-ing.
In that case I would need to have a router with this capability.
Does TP-Link have one with a modem included?
Thanks for your help!
BR
/Bryan
- Copy Link
- Report Inappropriate Content
Hi @tiganita
Thanks for posting in our business forum.
tiganita wrote
Hi @Clive_A ,
if I understand you correctly and looking through the notes of the second link it means that the switch alone is not capable of inter/multi-VLAN NAT-ing.
In that case I would need to have a router with this capability.
Does TP-Link have one with a modem included?
Thanks for your help!
BR
/Bryan
Yes, correct. Now we are talking.
Modem, nope. Router, yep.
Our Omada solution can provide the VLAN interfaces and host the DHCP servers on itself. But you can still keep the DHCP servers on the switch. It's up to you.
Regardless of the control modes, you can always use the VLAN interfaces on the Omada routers.
- Copy Link
- Report Inappropriate Content
Thanks for your help and patience.
Then I'll have to get a working router....probably incl. a modem.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 551
Replies: 6
Voters 0
No one has voted for it yet.